Proximo Add On无法使用Heroku - Errno :: EADDRNOTAVAIL:无法分配请求的地址

时间:2013-11-04 10:00:33

标签: heroku jruby proximo

我根据proximo文档完成了所有事情,并且在我的JRuby应用程序中使用了proximo包装器。然而,它不起作用。我在下面收到了一条错误消息

Errno::EADDRNOTAVAIL: Cannot assign requested address - bind - Cannot assign requested address

我删除并添加了proximo add-not working 我使用puma的所有配置参数 - 不工作

我的应用程序在没有bin / proximo的情况下运行,但bin / proximo无效。这是我的完整日志输出。

2013-11-04T09:49:38.388041+00:00 app[web.2]: Puma 2.6.0 starting...
2013-11-04T09:49:38.388041+00:00 app[web.2]: * Min threads: 0, max threads: 16
2013-11-04T09:49:38.388192+00:00 app[web.2]: * Environment: production
2013-11-04T09:49:38.388328+00:00 app[web.2]: * Listening on tcp://0.0.0.0:13433
2013-11-04T09:49:38.393084+00:00 app[web.2]: Exiting
2013-11-04T09:49:38.393708+00:00 app[web.2]: Errno::EADDRNOTAVAIL: Cannot assign requested address - bind - Cannot assign requested address
2013-11-04T09:49:38.393708+00:00 app[web.2]:         initialize at org/jruby/ext/socket/RubyTCPServer.java:118
2013-11-04T09:49:38.393708+00:00 app[web.2]:                new at org/jruby/RubyIO.java:856
2013-11-04T09:49:38.393708+00:00 app[web.2]:   add_tcp_listener at /app/vendor/bundle/jruby/1.9/gems/puma-2.6.0-java/lib/puma/binder.rb:190
2013-11-04T09:49:38.393708+00:00 app[web.2]:   add_tcp_listener at (eval):2
2013-11-04T09:49:38.393708+00:00 app[web.2]:                run at /app/vendor/bundle/jruby/1.9/gems/puma-2.6.0-java/lib/rack/handler/puma.rb:33
2013-11-04T09:49:38.393708+00:00 app[web.2]:              start at /app/vendor/bundle/jruby/1.9/gems/rack-1.4.5/lib/rack/server.rb:268
2013-11-04T09:49:38.393708+00:00 app[web.2]:              start at /app/vendor/bundle/jruby/1.9/gems/railties-3.2.11/lib/rails/commands/server.rb:70
2013-11-04T09:49:38.393708+00:00 app[web.2]:             (root) at /app/vendor/bundle/jruby/1.9/gems/railties-3.2.11/lib/rails/commands.rb:55
2013-11-04T09:49:38.393708+00:00 app[web.2]:                tap at org/jruby/RubyKernel.java:1860
2013-11-04T09:49:38.393866+00:00 app[web.2]:             (root) at /app/vendor/bundle/jruby/1.9/gems/railties-3.2.11/lib/rails/commands.rb:50
2013-11-04T09:49:38.393866+00:00 app[web.2]:            require at org/jruby/RubyKernel.java:1054
2013-11-04T09:49:38.393866+00:00 app[web.2]:             (root) at script/rails:6
2013-11-04T09:49:39.993189+00:00 heroku[web.2]: Process exited with status 1
2013-11-04T09:49:40.004841+00:00 heroku[web.2]: State changed from starting to crashed

1 个答案:

答案 0 :(得分:0)

根据文档:https://devcenter.heroku.com/articles/proximo#using-the-proximo-wrapper

“Proximo包装器不适用于基于JVM的应用程序,包括Java,Scala,Clojure,Groovy和JRuby。请参阅下面的示例,了解如何配置JVM应用程序以跨SOCKS代理转发流量。”