docker-redmine icon indicating copy to clipboard operation
docker-redmine copied to clipboard

Got Net::HTTPInternalServerError

Open deblike opened this issue 9 years ago • 4 comments

Hello I'm trying to use notification plugins such as redmine_chat_telegram and redmine_mattermost and none of them are working, this is what I can see on production.log:

Completed 200 OK in 98ms (Views: 54.1ms | ActiveRecord: 8.1ms) Started GET "/issues/4" for 190.55.77.97 at 2017-08-08 14:42:35 +0000 Processing by IssuesController#show as HTML Parameters: {"id"=>"4"} Current user: user (id=15) Rendered issues/_action_menu.html.erb (2.4ms) Rendered plugins/redmine_agile/app/views/issues/_issue_story_points.html.erb (0.1ms) Rendered plugins/redmine_checklists/app/views/issues/_checklist.html.erb (1.1ms) Rendered issue_relations/_form.html.erb (1.1ms) Rendered issues/_relations.html.erb (1.6ms) Rendered issues/_history.html.erb (21.6ms) Rendered issues/_action_menu.html.erb (2.1ms) Rendered issues/_form_custom_fields.html.erb (0.1ms) Rendered issues/_attributes.html.erb (8.3ms) Rendered plugins/redmine_agile/app/views/issues/_issue_story_points_form.html.erb (0.0ms) Rendered plugins/redmine_agile/app/views/issues/_agile_data_fields.html.erb (0.4ms) Rendered plugins/redmine_checklists/app/views/issues/_checklist_fields.html.erb (0.7ms) Rendered plugins/redmine_checklists/app/views/issues/_checklist_fields.html.erb (0.6ms) Rendered plugins/redmine_checklists/app/views/issues/_checklist_form.html.erb (2.9ms) Rendered issues/_form.html.erb (18.9ms) Rendered attachments/_form.html.erb (1.3ms) Rendered issues/_edit.html.erb (37.7ms) Rendered plugins/redmine_agile/app/views/agile_boards/_issues_sidebar.html.erb (1.1ms) Rendered plugins/redmine_agile/app/views/agile_charts/_agile_charts.html.erb (0.3ms) Rendered plugins/redmine_contacts/app/views/contacts_issues/_contacts.html.erb (4.6ms) Rendered issues/_sidebar.html.erb (8.1ms) Rendered watchers/_watchers.html.erb (2.2ms) Rendered issues/show.html.erb within layouts/base (93.4ms) Rendered plugins/redmine_contacts/app/views/contacts_issues/_additional_assets.html.erb (0.3ms) Rendered plugins/redmine_contacts/app/views/common/_contacts_select2_data.html.erb (0.2ms) Completed 200 OK in 155ms (Views: 103.6ms | ActiveRecord: 22.0ms) Started PATCH "/issues/4" for 190.55.77.97 at 2017-08-08 14:42:56 +0000 Processing by IssuesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"UditrZB6v654xmX0XLoNKDatAHJ9rOQ3aD75PuhSz+Vqef1WUVgl9CZlKJHSq4pOsgwIDljl3QZ1ZvHvrCMeCg==", "form_update_triggered_by"=>"", "issue"=>{"is_private"=>"0", "project_id"=>"2", "tracker_id"=>"1", "subject"=>"TEST", "description"=>"Probando\r\n1\r\n2\r\n3\r\n", "status_id"=>"2", "priority_id"=>"2", "assigned_to_id"=>"15", "parent_issue_id"=>"", "start_date"=>"2017-08-07", "due_date"=>"", "estimated_hours"=>"2.30", "done_ratio"=>"50", "notes"=>"oroflfldf", "private_notes"=>"0", "lock_version"=>"10"}, "time_entry"=>{"hours"=>"", "activity_id"=>"", "comments"=>""}, "last_journal_id"=>"16", "commit"=>"Submit", "issue_position"=>"1", "issue_count"=>"1", "id"=>"4"} Current user: user (id=15) #Net::HTTPInternalServerError:0x000000093c9b88 TELEGRAM SPEAK [Entornos General] User Name updated Bug #4: TEST => telegram_url https://api.telegram.org/bot/sendMessage Rendered mailer/_issue.text.erb (2.8ms) Rendered mailer/issue_edit.text.erb within layouts/mailer (3.1ms) Rendered mailer/_issue.html.erb (0.6ms) Rendered mailer/issue_edit.html.erb within layouts/mailer (1.6ms) Email delivery error: SMTP-AUTH requested but missing secret phrase Redirected to http://coso.entornos.net/issues/4?issue_count=1&issue_position=1 Completed 302 Found in 652ms (ActiveRecord: 23.3ms) Started GET "/issues/4?issue_count=1&issue_position=1" for 190.55.77.97 at 2017-08-08 14:42:57 +0000 Processing by IssuesController#show as HTML Parameters: {"issue_count"=>"1", "issue_position"=>"1", "id"=>"4"} Current user: user (id=15) Rendered issues/_action_menu.html.erb (2.0ms) Rendered plugins/redmine_agile/app/views/issues/_issue_story_points.html.erb (0.1ms) Rendered plugins/redmine_checklists/app/views/issues/_checklist.html.erb (0.8ms) Rendered issue_relations/_form.html.erb (0.9ms) Rendered issues/_relations.html.erb (1.3ms) Rendered issues/_history.html.erb (18.1ms) Rendered issues/_action_menu.html.erb (1.7ms) Rendered issues/_form_custom_fields.html.erb (0.0ms) Rendered issues/_attributes.html.erb (6.6ms) Rendered plugins/redmine_agile/app/views/issues/_issue_story_points_form.html.erb (0.0ms) Rendered plugins/redmine_agile/app/views/issues/_agile_data_fields.html.erb (0.3ms) Rendered plugins/redmine_checklists/app/views/issues/_checklist_fields.html.erb (0.6ms) Rendered plugins/redmine_checklists/app/views/issues/_checklist_fields.html.erb (0.5ms) Rendered plugins/redmine_checklists/app/views/issues/_checklist_form.html.erb (2.6ms) Rendered issues/_form.html.erb (14.6ms) Rendered attachments/_form.html.erb (1.4ms) Rendered issues/_edit.html.erb (21.3ms) Rendered plugins/redmine_agile/app/views/agile_boards/_issues_sidebar.html.erb (1.1ms) Rendered plugins/redmine_agile/app/views/agile_charts/_agile_charts.html.erb (0.3ms) Rendered plugins/redmine_contacts/app/views/contacts_issues/_contacts.html.erb (4.9ms) Rendered issues/_sidebar.html.erb (8.3ms) Rendered watchers/_watchers.html.erb (2.2ms) Rendered issues/show.html.erb within layouts/base (70.0ms) Rendered plugins/redmine_contacts/app/views/contacts_issues/_additional_assets.html.erb (0.4ms) Rendered plugins/redmine_contacts/app/views/common/_contacts_select2_data.html.erb (0.2ms) Completed 200 OK in 120ms (Views: 80.7ms | ActiveRecord: 13.3ms) Started GET "/issues/4?issue_count=1&issue_position=1" for 190.55.77.97 at 2017-08-08 14:43:38 +0000 Processing by IssuesController#show as HTML Parameters: {"issue_count"=>"1", "issue_position"=>"1", "id"=>"4"} Current user: user (id=15) Rendered issues/_action_menu.html.erb (2.2ms) Rendered plugins/redmine_agile/app/views/issues/_issue_story_points.html.erb (0.1ms) Rendered plugins/redmine_checklists/app/views/issues/_checklist.html.erb (0.9ms) Rendered issue_relations/_form.html.erb (1.0ms) Rendered issues/_relations.html.erb (1.4ms) Rendered issues/_history.html.erb (19.5ms) Rendered issues/_action_menu.html.erb (1.8ms) Rendered issues/_form_custom_fields.html.erb (0.0ms) Rendered issues/_attributes.html.erb (6.7ms) Rendered plugins/redmine_agile/app/views/issues/_issue_story_points_form.html.erb (0.0ms) Rendered plugins/redmine_agile/app/views/issues/_agile_data_fields.html.erb (0.3ms) Rendered plugins/redmine_checklists/app/views/issues/_checklist_fields.html.erb (0.7ms) Rendered plugins/redmine_checklists/app/views/issues/_checklist_fields.html.erb (0.6ms) Rendered plugins/redmine_checklists/app/views/issues/_checklist_form.html.erb (2.8ms) Rendered issues/_form.html.erb (14.9ms) Rendered attachments/_form.html.erb (1.2ms) Rendered issues/_edit.html.erb (21.5ms) Rendered plugins/redmine_agile/app/views/agile_boards/_issues_sidebar.html.erb (1.1ms) Rendered plugins/redmine_agile/app/views/agile_charts/_agile_charts.html.erb (0.3ms) Rendered plugins/redmine_contacts/app/views/contacts_issues/_contacts.html.erb (4.7ms) Rendered issues/_sidebar.html.erb (8.0ms) Rendered watchers/_watchers.html.erb (2.2ms) Rendered issues/show.html.erb within layouts/base (72.3ms) Rendered plugins/redmine_contacts/app/views/contacts_issues/_additional_assets.html.erb (0.4ms) Rendered plugins/redmine_contacts/app/views/common/_contacts_select2_data.html.erb (0.2ms) Completed 200 OK in 123ms (Views: 84.4ms | ActiveRecord: 11.5ms)

Error log might also be: #Net::HTTPInternalServerError:0x00000007fd1a18

Other log file:

tail unicorn.stderr.log

D, [2017-08-07T22:21:35.677361 #241] DEBUG -- : waiting 31.0s after suspend/hibernation I, [2017-08-08T14:40:13.498464 #241] INFO -- : reaped #<Process::Status: pid 251 exit 0> worker=1 I, [2017-08-08T14:40:13.599269 #241] INFO -- : reaped #<Process::Status: pid 248 exit 0> worker=0 I, [2017-08-08T14:40:13.599365 #241] INFO -- : master complete I, [2017-08-08T14:40:19.966071 #241] INFO -- : Refreshing Gem list I, [2017-08-08T14:40:24.233668 #241] INFO -- : listening on addr=/home/redmine/redmine/tmp/sockets/redmine.socket fd=11 I, [2017-08-08T14:40:24.233881 #241] INFO -- : listening on addr=127.0.0.1:8080 fd=12 I, [2017-08-08T14:40:24.238278 #241] INFO -- : master process ready I, [2017-08-08T14:40:24.293264 #265] INFO -- : worker=1 ready I, [2017-08-08T14:40:24.293264 #262] INFO -- : worker=0 ready

Any idea where to look?

Thanks!

deblike avatar Aug 08 '17 15:08 deblike

This seems relevant.

Email delivery error: SMTP-AUTH requested but missing secret phrase

jcormier avatar Aug 08 '17 15:08 jcormier

I didn't comment on that because I think it's a separated issue, that particular env data is either not being passed or ignored, I can see all other SMTP related info is successfully relayed to Redmine.

deblike avatar Aug 08 '17 15:08 deblike

Could you explain what these plugins are supposed to be doing and how they aren't working?

On Tue, Aug 8, 2017 at 11:18 AM, deblike [email protected] wrote:

I didn't comment on that because I think it's a separated issue, that particular env data is either not being passed or ignored, I can see all other SMTP related info is successfully relayed to Redmine.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sameersbn/docker-redmine/issues/296#issuecomment-320988771, or mute the thread https://github.com/notifications/unsubscribe-auth/AFWomWiahONp43KhRhyrNYQXo3PsFACnks5sWHw-gaJpZM4Ow3ap .

-- Jonathan Cormier Software Engineer

Voice: 315.425.4045 <%28315%29%20425-4045> x222

[image: Inline image 1] http://www.CriticalLink.com http://www.criticallink.com/ 6712 Brooklawn Parkway, Syracuse, NY 13211

https://www.linkedin.com/company/critical-link-llc https://twitter.com/Critical_Link

jcormier avatar Aug 08 '17 18:08 jcormier

Closed due to old age

jcormier avatar Mar 08 '19 19:03 jcormier