【问题标题】:Net::SMTPAuthenticationError in Devise::RegistrationsController#create设计中的 Net::SMTPAuthenticationError::RegistrationsController#create
【发布时间】:2015-02-07 15:40:49
【问题描述】:

我得到的错误是:

Net::SMTPAuthenticationError in Devise::RegistrationsController#create

504 5.7.4 无法识别的身份验证类型

Rails.root: c:/Users/Anurag/horneto_123

应用程序跟踪 |框架跟踪 |全跟踪 请求

参数:

{"utf8"=>"✓",
 "authenticity_token"=>"Ui6Ofxls8CqtLooHwI4yTF/1ifyP4LCJyNuNv0pQqig=",
 "user"=>{"email"=>"admin@admin.com",
 "password"=>"[FILTERED]",
 "password_confirmation"=>"[FILTERED]"},
 "commit"=>"Sign up"}

我已经尝试到处寻找解决方案,但没有找到任何可以帮助我在 MS Windows 平台上解决此问题的方法。

我正在使用 MS windows vista 作为平台来构建一个允许用户注册/登录的 Rails 应用程序。在“登录”期间,我收到上述错误。对于开发,我使用了 Ruby 2.1.5 -x64、Rails 4.1.7。 SMTP 设置是 smtp.office365.com,端口 - 587。 这是在没有设置真正数据库的机器上进行的本地开发。

错误的原因是身份验证无法识别,但我们将不胜感激以简化的方式(Step Wise)帮助解决此问题。

【问题讨论】:

    标签: ruby-on-rails ruby devise smtp-auth


    【解决方案1】:
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-02-25
    • 2012-09-24
    • 1970-01-01
    • 2014-10-17
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多