[英]SocketError in UsuariosController#forgot - getaddrinfo: Name or service not known
I´m running an app in ruby 1.8.7 with rails 3.2.1 using Phusion Passenger version 3.0.7. 我正在使用Phusion Passenger版本3.0.7在Ruby 1.8.7和rails 3.2.1中运行一个应用程序。 I did not develop nor deployed this app and I´m really new to Rails.
我没有开发也没有部署这个应用程序,我真的是Rails的新手。 This error comes up when the system is sending the user an email with a password recovery link.
当系统向用户发送带有密码恢复链接的电子邮件时,会出现此错误。 This probably started after a migration ( I´ve been told ).
这可能是在迁移后开始的(有人告诉我)。
Trying to debug the problem I´ve started the app with 'rails server -b 5.39.95.126 -p 8000' in order to see what it would log into the terminal. 为了调试问题,我使用“ rails server -b 5.39.95.126 -p 8000”启动了该应用程序,以查看它将登录到终端的内容。 To my surprise this way the app works fine.
令我惊讶的是,该应用程序运行良好。 Thanks for the help.
谢谢您的帮助。
My problem was with the configuration of App, the config.action_mailer.smtp_settings was pointing at an inexistent e-mail account. 我的问题是与App的配置有关,config.action_mailer.smtp_settings指向一个不存在的电子邮件帐户。 Thanks
谢谢
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.