Ruby/Juggernaut 错误 - Errno::ECONNREFUSED(连接被拒绝...)
我正在玩 https://github.com/elii/Cappuccino-X-Juggernaut,这基本上是 Rails 的主宰聊天,当我尝试提交帖子时,我收到以下错误。有人能告诉我这个错误来自哪里吗?
请告诉我应该发布哪些文件,以便有人可以诊断此错误。
Processing JuggernautController#send_message (for ::1 at 2011-07-30 16:19:47) [GET]
Parameters: {"sender"=>"w", "message"=>"hello"}
Errno::ECONNREFUSED (Connection refused - connect(2)):
app/controllers/juggernaut_controller.rb:10:in `send_message'
<internal:prelude>:10:in `synchronize'
/Users/fred/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
/Users/fred/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
/Users/fred/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
Rendered rescues/_trace (52.2ms)
Rendered rescues/_request_and_response (0.4ms)
Rendering rescues/layout (internal_server_error)
I'm playing around with https://github.com/elii/Cappuccino-X-Juggernaut, which is basically a juggernaut chat for rails, and I get the following errors when I try to submit a post. Could someone tell me where this error is coming from?
Please tell me which files I should post so that someone can diagnose this error.
Processing JuggernautController#send_message (for ::1 at 2011-07-30 16:19:47) [GET]
Parameters: {"sender"=>"w", "message"=>"hello"}
Errno::ECONNREFUSED (Connection refused - connect(2)):
app/controllers/juggernaut_controller.rb:10:in `send_message'
<internal:prelude>:10:in `synchronize'
/Users/fred/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
/Users/fred/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
/Users/fred/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
Rendered rescues/_trace (52.2ms)
Rendered rescues/_request_and_response (0.4ms)
Rendering rescues/layout (internal_server_error)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的主宰服务器似乎没有运行?我会安装(如果还没有)并将其作为守护程序或单独的屏幕运行。
有关主宰的更多信息
It looks like your juggernaut server isn't running? I would install (if not already) and run it as a daemon or separate screen.
More info on juggernaut