2012-10-15 40 views
7

के माध्यम से उसकेोकू को पुश करें मैंने अपने विश्वविद्यालय में प्रॉक्सी के कारण हेरोोकू स्थापित किया है और एक खाता स्थापित किया है लेकिन मेरे ऐप के लिए कोड को धक्का नहीं दे सकता है।प्रॉक्सी सर्वर

मैं समाधान this धागा में दी गई उपयोग करने की कोशिश और मैं एक प्रॉक्सी के माध्यम से काम करने के लिए GitHub करने के बारे में this पृष्ठ पढ़ें, लेकिन मैं अभी भी एक त्रुटि है, जो मिलती है:

$git push heroku origin 
ssh_exchange_identification: Connection closed by remote host 
fatal: The remote end hung up unexpectedly 

$git remote -v 
heroku git_heroku:secret-hamlet-7718.git (fetch) 
heroku git_heroku:secret-hamlet-7718.git (push) 
origin https://github.com/saasbook/hw2_rottenpotatoes.git (fetch) 
origin https://github.com/saasbook/hw2_rottenpotatoes.git (push) 

मेरे .ssh/config फाइल फ़ाइल शामिल हैं:

ProxyCommand corkscrew [proxy_address] [proxy_port] %h %p 

Host git_heroku 
    Hostname heroku.com 
    User git 
    Port 443 

.git/कॉन्फ़िग फ़ाइल के संबंधित भाग:

[remote "heroku"] 
    url = git_heroku:secret-hamlet-7718.git 
    fetch = +refs/heads/*:refs/remotes/heroku/* 

मुझे पूरा यकीन है कि मैंने कुछ याद किया है। मुझे उम्मीद है कि कोई बता सकता है कि क्या।

+0

आप सुरंग के माध्यम से Heroku कनेक्ट करने का प्रयास कर सकते हैं। कृपया [यहां] देखें (http://stackoverflow.com/questions/14877088/connecting-to-heroku-using-port-443/19536371#19536371) – Azi

उत्तर

1

क्या आपकी मदद के लिए [remote "heroku"] बदल रहा है?

[remote "heroku"] 
    url = [email protected]:secret-hamlet-7718.git 
    fetch = +refs/heads/*:refs/remotes/heroku/* 
0

आप कोशिश करते हैं और Host अनुभाग के भीतर ProxyCommand डाल सकता है:

Host git_heroku 
    Hostname heroku.com 
    User git 
    ProxyCommand corkscrew 10.3.100.211 8080 %h %p 
    Port 443 
संबंधित मुद्दे