Content
Net::ReadTimeout in send email in operation: Lost Password and new user. OP3.0 debian 7.5 mysql with guide
Added by Daniel Bartolomé over 11 years ago
Good morning,
I’m newbie in ruby and OpenProject.
I installed openproject 3.0 in my VM with Debian 7.5 minimal installation. I used documentation of OpenProject guide Debian 7.2 with mysql, installation general and forum discussion. I have a problem with operation: Lost Password and Register. OpenProject doesn’t send email and I try to solve for 2 days. I used telnet to try connection to gmail account inside VM: “telnet smtp.google.com 465” with success. I modified configuration.yml and restarted my web server apache2+passenger:
A) CONFIGURATION.YML MODIFIED CODE:
default:
# Outgoing emails configuration (see examples above)
email_delivery_method: :smtp
smtp_address: smtp.gmail.com
smtp_port: 465
smtp_domain: smtp.gmail.com
smtp_user_name: nombrecuenta@gmail.com
smtp_password: ***
smtp_enable_starttls_auto: true
smtp_authentication: plain
# Configuration for the test environment
test:
email_delivery_method: :test
# specific configuration options for production environment
production:
session_store: :cache_store
# mejor rendimiento del proyecto
rails_cache_store: :memcache
B) I read production.log and throw next error:
Started GET "/account/lost_password" for ::1 at 2014-05-22 03:00:23 +0200
Processing by AccountController#lost_password as HTML
Rendered account/lost_password.html.erb within layouts/base (24.6ms)
Rendered search/_mini_form.html.erb (4.5ms)
Rendered account/_login.html.erb (24.1ms)
Rendered layouts/_action_menu.html.erb (1.1ms)
Completed 200 OK in 196.2ms (Views: 138.8ms | ActiveRecord: 13.9ms)
Started POST "/account/lost_password" for ::1 at 2014-05-22 03:00:32 +0200
Processing by AccountController#lost_password as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"eliminado", "mail"=>"eventuoc@gmail.com", "commit"=>"Submit"}
Rendered user_mailer/password_lost.html.erb within layouts/user_mailer (7.9ms)
Rendered user_mailer/password_lost.text.erb within layouts/user_mailer (6.5ms)
Sent mail to eventuoc@gmail.com (60297.2ms)
Completed 500 Internal Server Error in 60838.3ms
Net::ReadTimeout (Net::ReadTimeout):
app/controllers/account_controller.rb:80:in `lost_password'
Are some person to help me in this issue? I have to deliver one gem in my project and this is first requisite.
List of documentation read before:
a) installation general guide: https://www.openproject.org/projects/openproject/wiki/Installation_OpenProject_3_0#313-Set-up-eMail
b) forum issues email: https://www.openproject.org/topics/292
c) Guide Debian 7.2 with mysql: https://www.openproject.org/projects/openproject/wiki/Debian_Stable_with_MySQL_in_production
I installed: ruby 2.1.0, bundler, bundle install openproject 3.0 (all gems dependencies), rvm, mysql with development, test, production database.
Thank you a lot,
Regards,
Replies (1)
Thank you very much Dan S. I don’t know who you are. You are my angel.
If someone have a problem basic with email read this link:
Installation of OpenProject on Ubuntu 12.04: https://www.openproject.org/projects/openproject/wiki/Installation_Ubuntu
Before these guide there wasn’t so good.
Regards,