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. Sent mail & 500 internal server error

Sent mail & 500 internal server error

Added by Chris Ker almost 11 years ago

I’m in front of a wall with 500 internal server error when creating a new user as I validate the form through “Create and continue” button.
In the console the following message is displayed :

Sent mail to email@domain.ext (37.1ms)
Completed 500 Internal Server Error in 223.7ms

SocketError (getaddrinfo: Name or service not known):
app/controllers/users_controllers.rb:138:in `create’

My configuration.yml is as follow:

  1. default:
    email_delivery_method: :smtp

default:
email_delivery_method: :smtp
smtp_address: smtp.domain.ext
smtp_port: 25
smtp_domain: domain.ext
smtp_user_name: email@domain.ext
smtp_password: 0*****
smtp_enable_starttls_auto: true
smtp_authentication: plain

  1. development:
    email_delivery_method: :smtp

Actually I can’t find where the problem is occuring. After many tests on various conf, I would be pleased to get the solution here.

Thanks


Replies (2)

RE: Sent mail & 500 internal server error - Added by Deleted user almost 11 years ago

Can you provide any information about your installation?

I cannot find “app/controllers/users_controllers.rb” in mine, so I am suspicious of that. I have “app/controllers/users_controller.rb” in my path.

RE: Sent mail & 500 internal server error - Added by Chris Ker almost 11 years ago

I now have successfully completed my installation so I might help you as far as I can. At this very step, the error was returned because:

- some configuration.yml syntax errors (keep an acurate eye on the configuration.yml.example after personal write option testing)

- smtp.dommain.ext DNS rule was not created properly (<=> smtp.domain: ∅)
- ssl was not set in my DNS (<=> smtp_enable_starttls_auto: ∅)

So I presume the users_controller.rb wasn’t able to render what it was made for.

In all case the app/controllers/… components are searchable with ls command in the following path directories:
var/www/
with vhosts vhosts/my.project.ext/httpdocs/app
or without vhosts /my.project.name/httpd/app

Good luck

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