Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. Not able to create user when click on notify or send random password, give some internal error.

Not able to create user when click on notify or send random password, give some internal error.

Added by vinay pandey about 10 years ago

Not able to create user when click on notify or send random password, give some internal error.
When I tire to run the test it fails on SMTP. Please help.

sending test email using SMTP…
/opt/openproject-ce/vendor/ruby-2.1.5/lib/ruby/2.1.0/net/protocol.rb:158:in `rescue in rbuf_fill’: Net::ReadTimeout (Net::ReadTimeout)
from /opt/openproject-ce/vendor/ruby-2.1.5/lib/ruby/2.1.0/net/protocol.rb:152:in `rbuf_fill’
from /opt/openproject-ce/vendor/ruby-2.1.5/lib/ruby/2.1.0/net/protocol.rb:134:in `readuntil’
from /opt/openproject-ce/vendor/ruby-2.1.5/lib/ruby/2.1.0/net/protocol.rb:144:in `readline’
from /opt/openproject-ce/vendor/ruby-2.1.5/lib/ruby/2.1.0/net/smtp.rb:938:in `recv_response’
from /opt/openproject-ce/vendor/ruby-2.1.5/lib/ruby/2.1.0/net/smtp.rb:555:in `block in do_start’
from /opt/openproject-ce/vendor/ruby-2.1.5/lib/ruby/2.1.0/net/smtp.rb:948:in `critical’
from /opt/openproject-ce/vendor/ruby-2.1.5/lib/ruby/2.1.0/net/smtp.rb:555:in `do_start’
from /opt/openproject-ce/vendor/ruby-2.1.5/lib/ruby/2.1.0/net/smtp.rb:520:in `start’
from /opt/openproject-ce/vendor/ruby-2.1.5/lib/ruby/2.1.0/net/smtp.rb:457:in `start’
from /opt/openproject-ce/packaging/scripts/send-test-email:34:in `

’
[ko] unable to send test email to *****@gmail.com


Replies (3)

RE: Not able to create user when click on notify or send random password, give some internal error. - Added by Florian Kraft about 10 years ago

Hello vinay!

This is an error coming from the standard lib - there is an SMTP timeout in there.

Could you have a look at ./config/configuration.yml and tell me the configuration you are using for sending emails in the environment you are using (are you in development or production?) - please skip any credentials you might be using.

If you have your SMTP configuration: Is the server reachable? Timeouts can occur when either the configuration is wrong or the server is unreachable.

Best regards,

Florian

RE: Not able to create user when click on notify or send random password, give some internal error. - Added by vinay pandey about 10 years ago

Thanks for your replay Florian.
Made some changes not I got below error message. Also attached my configuration.

sending test email using SMTP…
/opt/openproject-ce/vendor/ruby-2.1.5/lib/ruby/2.1.0/net/smtp.rb:969:in `check_auth_response’: 530 Must issue a STARTTLS command first (Net::SMTPAuthenticationError)
from /opt/openproject-ce/vendor/ruby-2.1.5/lib/ruby/2.1.0/net/smtp.rb:740:in `auth_plain’
from /opt/openproject-ce/vendor/ruby-2.1.5/lib/ruby/2.1.0/net/smtp.rb:732:in `authenticate’
from /opt/openproject-ce/vendor/ruby-2.1.5/lib/ruby/2.1.0/net/smtp.rb:567:in `do_start’
from /opt/openproject-ce/vendor/ruby-2.1.5/lib/ruby/2.1.0/net/smtp.rb:520:in `start’
from /opt/openproject-ce/vendor/ruby-2.1.5/lib/ruby/2.1.0/net/smtp.rb:457:in `start’
from /opt/openproject-ce/packaging/scripts/send-test-email:34:in `

’
[ko] unable to send test email to ****@gmail.com

export EMAIL_DELIVERY_METHOD=“smtp”
export SMTP_ADDRESS=“smtp.gmail.com”
export SMTP_PORT=“25” ——-> tried 465/587
export SMTP_HOST=“smtp.gmail.com”
export SMTP_DOMAIN=“*.com”
export SMTP_AUTHENTICATION=“plain” ——> tried login
export SMTP_USER_NAME=“contact@
.com”
export SMTP_PASSWORD=“****”

Thanks in advance :-)

Vinay

RE: Not able to create user when click on notify or send random password, give some internal error. - Added by Horst Nikolay about 10 years ago

Dear Vinay,

due to the error message in the first line 530 Must issue a STARTTLS command first
you should try this in your configuration.yml :
…
smtp_authentication: plain
smtp_enable_starttls_auto: true
…

honikos

  • (1 - 3/3)
Loading...