Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server Error 500 #12

Open
avinashs433 opened this issue Jun 13, 2017 · 5 comments
Open

Server Error 500 #12

avinashs433 opened this issue Jun 13, 2017 · 5 comments

Comments

@avinashs433
Copy link

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'
@vrenjith
Copy link
Owner

vrenjith commented Jun 18, 2017 via email

@avinashs433
Copy link
Author

avinashs433 commented Jun 19, 2017

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
Copy link
Author

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

@avinashs433
Copy link
Author

Hi any update on this ?

@vrenjith
Copy link
Owner

vrenjith commented Jul 20, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants