2012-10-15 6 views
7

Zainstalowałem Heroku i skonfigurowałem konto, ale nie mogę przesłać kodu na moją aplikację z powodu proxy na mojej uczelni.Prześlij do heroku przez serwer proxy

Próbowałem przy użyciu rozwiązanie podane w this wątku i czytam this strony o uzyskanie GitHub działać przez pełnomocnika, ale nadal pojawia się błąd, który jest:

$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) 

Moja .ssh/config zawiera:

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

Host git_heroku 
    Hostname heroku.com 
    User git 
    Port 443 

odpowiedniej części pliku .git/config:

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

Jestem prawie pewien, że coś przeoczyłem. Mam nadzieję, że ktoś może wskazać co.

+0

Możesz spróbować połączyć się Heroku poprzez tunelowanie. Proszę zapoznać się z [tutaj] (http://stackoverflow.com/questions/14877088/connecting-to-heroku-using-port-443/19536371#19536371) – Azi

Odpowiedz

1

Czy zmiana [remote "heroku"] na tę pomoc?

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

można spróbować i umieścić ProxyCommand w sekcji Host:

Host git_heroku 
    Hostname heroku.com 
    User git 
    ProxyCommand corkscrew 10.3.100.211 8080 %h %p 
    Port 443 
Powiązane problemy