Ruby/Juggernaut 错误 - Errno::ECONNREFUSED(连接被拒绝...)

发布于 2024-11-27 05:33:59 字数 1006 浏览 2 评论 0原文

我正在玩 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

森罗 2024-12-04 05:33:59

您的主宰服务器似乎没有运行?我会安装(如果还没有)并将其作为守护程序或单独的屏幕运行。

有关主宰的更多信息

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文