当设备尝试发送确认电子邮件时 Heroku 崩溃

发布于 2024-12-11 16:24:20 字数 1427 浏览 0 评论 0原文

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 名称服务器交换机注册。

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

Any idea what is causing the problem?

Does heroku run in production?

my production URL is SwingLX.com which hasn't registered yet with the DNS name server switch.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

若水微香 2024-12-18 16:24:20

Heroku 默认不提供任何发送电子邮件的方式 - 例如本地 sendmail 或类似的。因此,您需要使用外部提供程序,例如他们的 SendGrid 插件 http://devcenter.heroku.com/articles/ sendgrid 您将通过它发送电子邮件。

Heroku does not provide any way of sending email by default - such as local sendmail or similar. Consequently you need to use an external provider such as their SendGrid addon http://devcenter.heroku.com/articles/sendgrid which you would send email through.

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