Rails的亚马逊生产的错误 [英] Rails Amazon production error
问题描述
我在轨道上运行的应用程序,我的红宝石亚马逊的服务器上(钢轨3.0.6,红宝石1.9.3),用户注册则显示错误 - 出事了
I am running my ruby on rails app (rails 3.0.6 , ruby 1.9.3) on amazon server , on user sign up it shows the error - Something went wrong
更新日志
开始邮报/ job_seeker / sign_up为122.169.118.210,在2014年2月19日 十五时12分30秒+0000处理由RegistrationsController#创建为HTML 参数:{UTF8=>✓ authenticity_token=>EJz60o29u5pXTOv7 + GO / sVDXyGhVcHuM8Iezn5daKlI =, 用户=> {FIRST_NAME=>库玛,姓氏=>帕塔克 电子邮件=>kumardevp@gmail.com,密码=>[FILTERED], password_confirmation=>[过滤器]},提交=>注册}渲染 设计/邮件/ confirmation_instructions.html.erb(0.5毫秒)
Started POST "/job_seeker/sign_up" for 122.169.118.210 at 2014-02-19 15:12:30 +0000 Processing by RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"EJz60o29u5pXTOv7+gO/sVDXyGhVcHuM8Iezn5daKlI=", "user"=>{"first_name"=>"kumar", "last_name"=>"pathak", "email"=>"kumardevp@gmail.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"} Rendered devise/mailer/confirmation_instructions.html.erb (0.5ms)
发送邮件到kumardevp@gmail.com(141ms)已完成在297ms
Sent mail to kumardevp@gmail.com (141ms) Completed in 297ms
网:: SMTPAuthenticationError(535-5.7.8用户名和密码不
公认。了解更多):
应用程序/控制器/ registrations_controller.rb:16:在'创造'
Net::SMTPAuthenticationError (535-5.7.8 Username and Password not
accepted. Learn more at ):
app/controllers/registrations_controller.rb:16:in `create'
入门使用/用户/密码/新为122.169.118.210,在2014年2月19日 15:13:00 +0000处理通过制定:: PasswordsController#新的HTML 渲染色器件/共享/ _links.html.erb(0.5毫秒)渲染 布局/ application.html.erb(6.0ms)渲染 设计布局中/密码/ new.html.erb /内容(10.7ms) 完成200确定在120毫秒(浏览次数:119.1ms | ActiveRecord的:11.5ms)
Started GET "/users/password/new" for 122.169.118.210 at 2014-02-19 15:13:00 +0000 Processing by Devise::PasswordsController#new as HTML Rendered devise/shared/_links.html.erb (0.5ms) Rendered layouts/application.html.erb (6.0ms) Rendered devise/passwords/new.html.erb within layouts/content (10.7ms) Completed 200 OK in 120ms (Views: 119.1ms | ActiveRecord: 11.5ms)
运行尾-f日志/ production.log
节目
入门使用/为122.169.118.210,在2014年2月19日十五点13分08秒+0000
处理由MainController#指数为HTML渲染
布局中的主/ index.html.erb /应用程序(6.0ms)已完成200
在7毫秒OK(浏览次数:6.5ms | ActiveRecord的:为0.2ms)
Started GET "/" for 122.169.118.210 at 2014-02-19 15:13:08 +0000
Processing by MainController#index as HTML Rendered main/index.html.erb within layouts/application (6.0ms) Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.2ms)
入门使用/为122.169.118.210,在2014年2月19日15点48分十六秒+0000
处理由MainController#指数为HTML渲染
布局中的主/ index.html.erb /应用程序(5.9ms)已完成200
在7毫秒OK(浏览次数:6.2ms | ActiveRecord的:为0.2ms)
Started GET "/" for 122.169.118.210 at 2014-02-19 15:48:16 +0000
Processing by MainController#index as HTML Rendered
main/index.html.erb within layouts/application (5.9ms) Completed 200
OK in 7ms (Views: 6.2ms | ActiveRecord: 0.2ms)
下面是我的 index.html.erb
code
Here is my index.html.erb
code
<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>
我没有收到任何指针,以什么我有可能是做错了,请帮助或建议,欢迎。先谢谢了。
I am not getting any pointers as to what i may possibly be doing wrong , please help or any suggestions are welcome . Thanks in advance .
推荐答案
这个问题是不是得到了显示错误之一。只好重新安装的乘客,nginx的到最新版本,直接采取在服务器上的变化。 TCP套接字未在服务器上正确配置了,所以与艾哈迈德·谢里夫的帮助下,我能解决这个问题终于。我从这里学到的是,我应该得到更多的接触到彪马,薄放大器; unicord服务器也为依赖一台服务器上不利于在恐慌的时候。
The issue wasn't the one that got showed in the error . Had to re-install passenger , nginx to newer versions to directly take in changes at server . The tcp socket wasn't configured at server properly too , so with help of Ahmad Sherif , i was able to solve the problem finally . What i learnt from this is that i should get more exposure to puma, thin & unicord servers too as depending on one server doesn't helps in times of panic .
这篇关于Rails的亚马逊生产的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!