Ruby on rails Rails Amazon生产错误

Ruby on rails Rails Amazon生产错误,ruby-on-rails,html,ruby-on-rails-3,amazon-web-services,ruby-on-rails-3.1,Ruby On Rails,Html,Ruby On Rails 3,Amazon Web Services,Ruby On Rails 3.1,我正在amazon服务器上运行我的ruby on rails应用程序rails 3.0.6和ruby 1.9.3,在用户注册时,它会显示错误-出了问题 更新日志 2014年2月19日开始为122.169.118.210的职位/求职者/注册 15:12:30+0000 RegistrationsController处理创建为HTML 参数:{utf8=>✓, 真实性标志=>EJz60o29u5pXTOv7+gO/sVDXyGhVcHuM8Iezn5daKlI=, user=>{first_name

我正在amazon服务器上运行我的ruby on rails应用程序rails 3.0.6和ruby 1.9.3,在用户注册时,它会显示错误-出了问题

更新日志

2014年2月19日开始为122.169.118.210的职位/求职者/注册 15:12:30+0000 RegistrationsController处理创建为HTML 参数:{utf8=>✓, 真实性标志=>EJz60o29u5pXTOv7+gO/sVDXyGhVcHuM8Iezn5daKlI=, user=>{first_name=>kumar,last_name=>pathak, 电子邮件=>kumardevp@gmail.com,密码=>[FILTERED], 密码\u确认=>[FILTERED]},提交=>注册} 设计/mailer/confirmation_instructions.html.erb 0.5ms

发送邮件至kumardevp@gmail.com141ms,用297ms完成

Net::SMTPAuthenticationError 535-5.7.8用户名和密码不正确 认可的。了解更多信息,请访问: app/controllers/registrations\u controller.rb:16:in'create'

于2014年2月19日为122.169.118.210启动GET/users/password/new 15:13:00+0000 Deviate::PasswordsControllernew作为HTML处理 渲染设备/共享/_links.html.erb 0.5ms渲染 layouts/application.html.erb渲染6.0ms 设计/密码/new.html.erb在布局/内容10.7ms内 在120ms视图中完成200 OK:119.1ms |活动记录:11.5ms

运行tail-f log/production.log显示

于2014-02-19 15:13:08+0000开始获取/获取122.169.118.210 MainControllerindex以HTML呈现的形式进行处理 布局/应用程序内的main/index.html.erb 6.0ms完成200 7ms视图中正常:6.5ms |活动记录:0.2ms

于2014-02-19 15:48:16+0000开始获取/获取122.169.118.210 MainControllerindex以HTML呈现的形式进行处理 布局/应用程序中的main/index.html.erb 5.9ms已完成200 7ms视图中正常:6.2ms |活动记录:0.2ms

这是我的index.html.erb代码


我没有得到任何关于我可能做错了什么的指示,请帮助或任何建议都欢迎。提前感谢。

错误中没有显示问题。必须将passenger、nginx重新安装到更新版本,以便直接在服务器上进行更改。tcp套接字在服务器上也没有正确配置,所以在Ahmad Sherif的帮助下,我最终解决了这个问题。我从中学到的是,我也应该更多地接触puma、thin和unicord服务器,因为在恐慌时期依靠一台服务器是没有帮助的。

你发布的日志不是很有帮助,如果你添加更多日志条目直到错误发生,那会更好。等一下,我会在chrome中打开生产链接吗,它显示https错误并要求我获取证书。它们有关系吗?好吧,你知道了,SMTP身份验证有问题。请检查您在config/environments/production.rb中获得的用户名和/或密码。还不确定证书问题,但最好一次解决一个问题。
<div id="banner">
        <script language="javascript">
                if (AC_FL_RunContent == 0) {
                        alert("This page requires AC_RunActiveContent.js.");
                } else {
                        AC_FL_RunContent(
                                'codebase', '',
                                'width', '713',
                                'height', '279',
                                'src', 'slideshow',
                                'quality', 'high',
                                'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
                                'align', 'middle',
                                'play', 'true',
                                'loop', 'true',
                                'scale', 'showall',
                                'wmode', 'window',
                                'devicefont', 'false',
                                'id', 'slideshow',
                                'bgcolor', '#ffffff',
                                'name', 'slideshow',
                                'menu', 'true',
                                'allowFullScreen', 'false',
                                'allowScriptAccess','sameDomain',
                                'movie', 'slideshow',
                                'salign', ''
                                ); //end AC code
                }
        </script>
        <noscript>
                <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="640" height="466" id="slideshow" align="middle">
                <param name="allowScriptAccess" value="sameDomain" />
                <param name="allowFullScreen" value="false" />
                <param name="movie" value="slideshow.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />       <embed src="slideshow.swf" quality="high" bgcolor="#ffffff" width="713" height="279" name="slideshow" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
                </object>
                 </noscript>
</div>
<div id="modulelist">
        <div class="moduletable">
                <h3>Are You Seeking a Job?</h3>
                <p>Job seekers can create an iTAG, post
                their resume, and manage their content in a user-friendly environment.</p>
                <%= link_to "Find a job", new_job_seeker_registration_path, :class => "readon" %>
        </div>
        <div class="moduletable last">
                <h3>Are You Seeking Help?</h3>
                <p>App offers employers and job seekers the perfect forum for identifying and connecting with successful matches.</p>
                <%= link_to "Find a new job", new_talent_seeker_registration_path, :class => "readon" %>
        </div>

</div>