hi all,
 i'm new heroku user and i would like to get a console on my heroku ephemeral 
filesystem.

 Using heroku from work , i'm behind firewall and proxies.
 So to success with "heroku push" i had to declare a socks proxy into my 
~/.ssh/config like this :

Host heroku.com
> Hostname heroku.com 
> Port 22 
> IdentitiesOnly yes 
> IdentityFile C:/Users/myuser/.ssh/myuser_key_rsa.pk
> ProxyCommand /c/cygwin/bin/nc.exe -x mysocksproxy:1080 %h %p
> TCPKeepAlive yes 
> User [email protected]


 this works fine for heroku push.

 to get a console i find this documentation
 https://devcenter.heroku.com/articles/one-off-dynos#troubleshooting

"heroku run console" aka telnet is not working for me because of port 5000 
is forbidden.
so i would like to make bash command working:

 hero run -a myapp bash



this cause a sock error :

$ heroku run -a myapp bash
> Running `bash` attached to terminal... failed
>  !    Heroku client internal error.
>  !    Search for help at: https://help.heroku.com
>  !    Or report a bug at: https://github.com/heroku/heroku/issues/new
>     Error:       A connection attempt failed because the connected party 
> did not properly respond after a period of time, or established connection
> se connected host has failed to respond. - connect(2) (Errno::ETIMEDOUT) 
> (Excon::Errors::SocketError)
>     Backtrace:   
> C:/Users/myuser/.heroku/client/vendor/gems/excon-0.22.1/lib/excon/socket.rb:166:in
>  
> `connect'
>                  
> C:/Users/myuser/.heroku/client/vendor/gems/excon-0.22.1/lib/excon/socket.rb:166:in
>  
> `block (2 levels) in connect'
>                 
>  c:/Programmes/Heroku/ruby-1.9.2/lib/ruby/1.9.1/timeout.rb:68:in `timeout'
>                  
> C:/Users/myuser/.heroku/client/vendor/gems/excon-0.22.1/lib/excon/socket.rb:165:in
>  
> `block in connect'
>                  
> C:/Users/myuser/.heroku/client/vendor/gems/excon-0.22.1/lib/excon/socket.rb:152:in
>  
> `each'



i didn't know the hostname(s) used in this case
so by adding some ruby trace i show that (gems excon) socket.rb attempt to 
open a socket on an amazon instance (port 443)

do you know what (socks)  ssh configuration should i set to make heroku 
bash working ? is it as simple as heroku push ?

Regards

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Heroku" group.

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Heroku Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to