2011-10-24T05:54:00+00:00 app[web.1]: Started POST "/users" for 69.136.182.141 at 2011-10-23 22:54:00 -0700
2011-10-24T05:54:00+00:00 app[web.1]: Processing by Devise::RegistrationsController#create as HTML
2011-10-24T05:54:00+00:00 app[web.1]: Parameters: {"utf8"=>"✓", "authenticity_token"=>"ts2MkJf472PHTEcKjdD3P5YjBr/sWX3jTDZKjPZNYj0=", "user"=>{"username"=>"DerNalia", "email"=>"[not_telling]@gmail.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Register"}
2011-10-24T05:54:00+00:00 app[web.1]: Rendered devise/mailer/confirmation_instructions.html.erb (0.4ms)
2011-10-24T05:54:03+00:00 app[web.1]:
2011-10-24T05:54:03+00:00 app[web.1]: Sent mail to [not_telling]@gmail.com (3003ms)
2011-10-24T05:54:03+00:00 app[web.1]: Completed 500 Internal Server Error in 3137ms
2011-10-24T05:54:03+00:00 app[web.1]:
2011-10-24T05:54:03+00:00 app[web.1]: Errno::ECONNREFUSED (Connection refused - connect(2)):
2011-10-24T05:54:03+00:00 app[web.1]:
2011-10-24T05:54:03+00:00 heroku[router]: POST swinglx.heroku.com/users dyno=web.1 queue=0 wait=0ms service=3147ms status=500 bytes=728
2011-10-24T05:54:03+00:00 app[web.1]:
2011-10-24T05:54:03+00:00 app[web.1]:
2011-10-24T05:54:03+00:00 app[web.1]: cache: [POST /users] invalidate, pass
你知道是什么引起的问题吗?
heroku在生产环境中运行吗?
我的产品URL是SwingLX.com,它还没有注册到DNS名称服务器交换机
Heroku默认不提供任何发送电子邮件的方式-例如本地sendmail或类似的方式。因此,您需要使用外部提供程序,例如他们的SendGrid插件http://devcenter.heroku.com/articles/sendgrid,您可以通过该插件发送电子邮件。