jira-matter-bridge icon indicating copy to clipboard operation
jira-matter-bridge copied to clipboard

Server Error 500

Open avinashs433 opened this issue 7 years ago • 5 comments

Hi,

We often see these error in our jira logs and sometimes we see that jira falls over when this occurs. We have configured the web hooks to communicate with our mattermost channel.

2017-06-13 10:35:05,112 httpclient-callbacks:thread-96 WARN anonymous     [c.a.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl] Server error - 500 when posting to web hook at 'http://iob0283:3000/hooks/f6jk4rbzs7gf5yedt93cc5r66r'

2017-06-13 10:35:05,112 httpclient-callbacks:thread-96 WARN anonymous     [c.a.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl] Server error - 500 when posting to web hook at 'http://iob0283:3000/hooks/yqpxj5tz33nninc78nx5gzpeme'

2017-06-13 10:35:05,114 httpclient-callbacks:thread-96 WARN anonymous     [c.a.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl] Server error - 500 when posting to web hook at 'http://iob0283:3000/hooks/eqoudr18a3yy5xriuays97yjwh'

2017-06-13 10:35:05,114 httpclient-callbacks:thread-96 WARN anonymous     [c.a.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl] Server error - 500 when posting to web hook at 'http://iob0283:3000/hooks/yqpxj5tz33nninc78nx5gzpeme'

2017-06-13 10:35:05,114 httpclient-callbacks:thread-96 WARN anonymous     [c.a.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl] Server error - 500 when posting to web hook at 'http://iob0283:3000/hooks/f6jk4rbzs7gf5yedt93cc5r66r'

2017-06-13 10:35:05,116 httpclient-callbacks:thread-96 WARN anonymous     [c.a.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl] Server error - 500 when posting to web hook at 'http://iob0283:3000/hooks/f6jk4rbzs7gf5yedt93cc5r66r'

2017-06-13 10:35:05,116 httpclient-callbacks:thread-96 WARN anonymous     [c.a.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl] Server error - 500 when posting to web hook at 'http://iob0283:3000/hooks/yqpxj5tz33nninc78nx5gzpeme'

2017-06-13 10:35:05,116 httpclient-callbacks:thread-96 WARN anonymous     [c.a.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl] Server error - 500 when posting to web hook at 'http://iob0283:3000/hooks/yqpxj5tz33nninc78nx5gzpeme'

avinashs433 avatar Jun 13 '17 08:06 avinashs433

Do you see any console output from the bridge?

On Tue, 13 Jun 2017 at 2:43 PM, avinashs433 [email protected] wrote:

Hi,

We often see these error in our jira logs and sometimes we see that jira falls over when this occurs. We have configured the web hooks to communicate with our mattermost channel.

2017-06-13 10:35:05,112 httpclient-callbacks:thread-96 WARN anonymous [c.a.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl] Server error - 500 when posting to web hook at 'http://iob0283:3000/hooks/f6jk4rbzs7gf5yedt93cc5r66r'

2017-06-13 10:35:05,112 httpclient-callbacks:thread-96 WARN anonymous [c.a.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl] Server error - 500 when posting to web hook at 'http://iob0283:3000/hooks/yqpxj5tz33nninc78nx5gzpeme'

2017-06-13 10:35:05,114 httpclient-callbacks:thread-96 WARN anonymous [c.a.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl] Server error - 500 when posting to web hook at 'http://iob0283:3000/hooks/eqoudr18a3yy5xriuays97yjwh'

2017-06-13 10:35:05,114 httpclient-callbacks:thread-96 WARN anonymous [c.a.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl] Server error - 500 when posting to web hook at 'http://iob0283:3000/hooks/yqpxj5tz33nninc78nx5gzpeme'

2017-06-13 10:35:05,114 httpclient-callbacks:thread-96 WARN anonymous [c.a.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl] Server error - 500 when posting to web hook at 'http://iob0283:3000/hooks/f6jk4rbzs7gf5yedt93cc5r66r'

2017-06-13 10:35:05,116 httpclient-callbacks:thread-96 WARN anonymous [c.a.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl] Server error - 500 when posting to web hook at 'http://iob0283:3000/hooks/f6jk4rbzs7gf5yedt93cc5r66r'

2017-06-13 10:35:05,116 httpclient-callbacks:thread-96 WARN anonymous [c.a.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl] Server error - 500 when posting to web hook at 'http://iob0283:3000/hooks/yqpxj5tz33nninc78nx5gzpeme'

2017-06-13 10:35:05,116 httpclient-callbacks:thread-96 WARN anonymous [c.a.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl] Server error - 500 when posting to web hook at 'http://iob0283:3000/hooks/yqpxj5tz33nninc78nx5gzpeme'

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/vrenjith/jira-matter-bridge/issues/12, or mute the thread https://github.com/notifications/unsubscribe-auth/AB_wucgauz9VBb5lt8hcDcz6nOazA1x4ks5sDkpcgaJpZM4N4KXz .

-- Regards, Renjith

vrenjith avatar Jun 18 '17 06:06 vrenjith

Hi,

It seems that the WARN messages are logged whenever there is a comment action. I have removed the comment actions (created, updated and deleted) and we now dont see the WARN messages.

I have added it back to one of the channels and performed a new comment, updated the comment and deleted the comment. The WARN message logs for each of the actions.

URL http://mmproxy:3000/hooks/bqtqr4mof38abfi1uzxi97ty8c
Events
Issue related events
JQL: assignee in (membersOf("DevOps Team")) or reporter in (membersOf("DevOps Team"))
Comment created updated deleted
Issue created updated deleted
Exclude bodyNo
TransitionsNo linked transitions.

It seems that whenever comments are made to any project, these events are fired globally through all the mattermost web hooks, that are setup to detect comment actions. If the webhook is setup to detect comment, then any comment to any project will cause the WARN message to be logged for that webhook .

Example: If I have 5 webhooks configured to detect comment actions and if I comment on any other project not related to any of the configured weebhooks, I will receive 5 WARN messages logged one for each webhook.

Regards, Avinash

avinashs433 avatar Jun 19 '17 09:06 avinashs433

What are the events accepted by the Mattermost proxy? Does it accept Comment related events from JIRA, or only Issue related events?

avinashs433 avatar Jun 21 '17 08:06 avinashs433

Hi any update on this ?

avinashs433 avatar Jul 19 '17 09:07 avinashs433

No Avinash. Never managed to spend time on this. If you can debug and send me a pr I can review and merge it.

Regards, Renjith

vrenjith avatar Jul 20 '17 04:07 vrenjith