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

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. Email Timeout & extended problems -

Email Timeout & extended problems -

Added by Episteme Partners almost 11 years ago

Hi

We are running OP 3.x version ie very latest. We have configured email notification to stay informed within organization and to clients for any change in projects status. However this is causing considerable headache to everyone involved most notably my clients.

Reason of this problem is two fold. Whenever we do some action like forum post or work package creation, which is subscribed by OP user then some time email sending is timing out. However what is compounding the problem is it sending some user emails before completing desired action ie forum post creation

For example we had three user which has same domain email ids, while creating forum post it sent email to two and but timed out in 3rd. Consequently that post did not get created. However user who received emails are having trouble in accessing forum post that is because that forum post never got created due to time out in middle.

Can someone suggest solution to mitigate this problem. We need emails and if we could not fix this ASAP then unfortunately we may need to switch off emails.

In my view correct behavior should be - Email notification should be sent only after successful creation of forum post or artifacts alike.

Here is time out error in production.log if it helps

Sent mail to xxx.xxx@xxxccc.com (30019.3ms)
Completed 500 Internal Server Error in 30216.3ms

Net::OpenTimeout (execution expired):
app/models/message_observer.rb:38:in `block in after_create’
app/models/message_observer.rb:37:in `each’
app/models/message_observer.rb:37:in `after_create’
app/controllers/messages_controller.rb:99:in `reply’


Replies (2)

RE: Email Timeout & extended problems - - Added by Episteme Partners almost 11 years ago

more specific version
Information
Core version

OpenProject 3.0.8 (PostgreSQL)
System
Default administrator account changed Yes
Attachments directory writable Yes
RMagick available (optional) Yes

RE: Email Timeout & extended problems - - Added by Episteme Partners almost 11 years ago

Ok never mind. I have worked it out this email issue by configuring sendmail (which I should have done to begin with) instead of smtp.

But I think that bug still remains where op is sending mail before any artifact got created.

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