jira-matter-bridge
jira-matter-bridge copied to clipboard
Server Error 500
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'
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
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
What are the events accepted by the Mattermost proxy? Does it accept Comment related events from JIRA, or only Issue related events?
Hi any update on this ?
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