I get the following error sometimes when typing outgoing webhook keywords into mattermost:
Event POST failed, err=Post http://mywebendpoint.com/somepath/somefile.json: dial tcp: i/o timeout
Steps to reproduce
Type in the webhook keyword. Press enter to submit.
This tends to happen if I haven’t typed the webhook keyword in the last minute or so. Perhaps it’s related to websockets not playing nice? Webserver is apache and I don’t think it’s set up to handle websockets well, just plain http requests.
Webhook should post a request to my server endpoint any time a keyword is triggered.
Sometimes typing in a keyword doesn’t post a request to my server. Typically when it’s the first time someone has used the hook in the last minute or so.