0

如果我尝试重置密码,我看到:很抱歉,但出错了。 然后,我看到我的日志:
poruction.log重置生产密码使用设计,独角兽

Sent mail to [email protected] (238ms) 
Completed 500 Internal Server Error in 610ms 

OpenSSL::SSL::SSLError (hostname does not match the server certificate): 

在我production.rb我设置了
config.action_mailer.default_url_options = { :host => '178.79.153.194' }

和OpenSSL版本为OpenSSL 1.0.0g 18 Jan 2012

我通过色器件宝石重置密码

+0

您是否收到您的Gmail地址的邮件?请求在正确的主机上重置密码之后的URL? –

+0

给Buck Doyle:我的邮件是空的,你看到这个'发送邮件到[email protected](238ms)'在日志中。但是,'hostname与服务器证书不匹配'是什么意思?我的主机名或其他东西 – achempion

+0

以Ashitaka:我只有IP,它必须工作,但没有:( – achempion

回答