I'll find the answer. in heroku.rb we have to set RestClient proxy.
RestClient.proxy = ENV['http_proxy'] And that's feel good). On Apr 12, 4:47 pm, oivoodoo <[email protected]> wrote: > My internet connection work correctly. > > On Apr 12, 4:39 pm, oivoodoo <[email protected]> wrote: > > > I have just updated my rails installation to 2.3.2 version with all > > dependecy. But heroku ("run command") doesn't work with new active > > record version. I install previous version activerecord 2.2.2. And now > > When I try to type any heroku commands such as "heroku list, heroku > > keys, heroku create app" and so on I have error: > > > Uploading ssh public key /home/oivoodoo/.ssh/id_rsa.pub > > /usr/lib/ruby/1.8/net/http.rb:560:in `initialize': getaddrinfo: Name > > or service not known (SocketError) > > from /usr/lib/ruby/1.8/net/http.rb:560:in `open' > > from /usr/lib/ruby/1.8/net/http.rb:560:in `connect' > > from /usr/lib/ruby/1.8/timeout.rb:53:in `timeout' > > from /usr/lib/ruby/1.8/timeout.rb:93:in `timeout' > > from /usr/lib/ruby/1.8/net/http.rb:560:in `connect' > > from /usr/lib/ruby/1.8/net/http.rb:553:in `do_start' > > from /usr/lib/ruby/1.8/net/http.rb:542:in `start' > > from /var/lib/gems/1.8/gems/rest-client-0.9.2/lib/restclient/ > > request.rb:103:in `transmit' > > from /var/lib/gems/1.8/gems/rest-client-0.9.2/lib/restclient/ > > request.rb:36:in `execute_inner' > > from /var/lib/gems/1.8/gems/rest-client-0.9.2/lib/restclient/ > > request.rb:28:in `execute' > > from /var/lib/gems/1.8/gems/rest-client-0.9.2/lib/restclient/ > > request.rb:12:in `execute' > > from /var/lib/gems/1.8/gems/rest-client-0.9.2/lib/restclient/ > > resource.rb:57:in `post' > > from > > /var/lib/gems/1.8/gems/heroku-0.7.1/bin/../lib/heroku/client.rb: > > 247:in `post' > > from > > /var/lib/gems/1.8/gems/heroku-0.7.1/bin/../lib/heroku/client.rb: > > 113:in `add_key' > > from /var/lib/gems/1.8/gems/heroku-0.7.1/bin/../lib/heroku/commands/ > > keys.rb:22:in `add' > > from > > /var/lib/gems/1.8/gems/heroku-0.7.1/bin/../lib/heroku/command.rb: > > 38:in `send' > > from > > /var/lib/gems/1.8/gems/heroku-0.7.1/bin/../lib/heroku/command.rb: > > 38:in `run_internal' > > from /var/lib/gems/1.8/gems/heroku-0.7.1/bin/../lib/heroku/commands/ > > auth.rb:95:in `save_credentials' > > from /var/lib/gems/1.8/gems/heroku-0.7.1/bin/../lib/heroku/commands/ > > auth.rb:36:in `get_credentials' > > from /var/lib/gems/1.8/gems/heroku-0.7.1/bin/../lib/heroku/commands/ > > auth.rb:19:in `user' > > from /var/lib/gems/1.8/gems/heroku-0.7.1/bin/../lib/heroku/commands/ > > auth.rb:10:in `init_heroku' > > from /var/lib/gems/1.8/gems/heroku-0.7.1/bin/../lib/heroku/commands/ > > auth.rb:6:in `client' > > from > > /var/lib/gems/1.8/gems/heroku-0.7.1/bin/../lib/heroku/command.rb: > > 38:in `send' > > from > > /var/lib/gems/1.8/gems/heroku-0.7.1/bin/../lib/heroku/command.rb: > > 38:in `run_internal' > > from /var/lib/gems/1.8/gems/heroku-0.7.1/bin/../lib/heroku/commands/ > > base.rb:31:in `heroku' > > from /var/lib/gems/1.8/gems/heroku-0.7.1/bin/../lib/heroku/commands/ > > keys.rb:5:in `index' > > from > > /var/lib/gems/1.8/gems/heroku-0.7.1/bin/../lib/heroku/command.rb: > > 38:in `send' > > from > > /var/lib/gems/1.8/gems/heroku-0.7.1/bin/../lib/heroku/command.rb: > > 38:in `run_internal' > > from > > /var/lib/gems/1.8/gems/heroku-0.7.1/bin/../lib/heroku/command.rb: > > 11:in `run' > > from /var/lib/gems/1.8/gems/heroku-0.7.1/bin/heroku:16 > > from /var/lib/gems/1.8/bin/heroku:19:in `load' > > from /var/lib/gems/1.8/bin/heroku:19 > > > May be you can see same problem and fixed it? > > > OS: Debian 5.0; Gems: Rails 2.3.2 (but activerecord 2.2.2), Heroku > > 0.7; Ruby 1.8. > > > With the best regards Alexander. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
