2012-10-15 5 views
7

나는 Heroku를 설치하고 계정을 설정했지만 내 대학의 프록시 때문에 내 앱의 코드를 푸시 할 수 없습니다. 프록시 서버를 통해 heroku로 푸시

나는 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) 

내 스푸핑/config 파일을 포함 .git/config 파일의

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

Host git_heroku 
    Hostname heroku.com 
    User git 
    Port 443 

관련 부분 :

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

나는 무엇인가 놓쳤다 고 확신한다. 나는 누군가가 무엇을 지적 할 수 있기를 바랍니다.

+0

. [여기] (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를 둘 수 있었다 : 당신은 터널링을 통해 Heroku가에 연결을 시도 할 수

Host git_heroku 
    Hostname heroku.com 
    User git 
    ProxyCommand corkscrew 10.3.100.211 8080 %h %p 
    Port 443 
관련 문제