We're Hiring!

Mattermost Discussion Forums

Plugin error: Failed To Serve HTTP

Getting a failed to serve HTTP error on my plugin.

MM version: 5.25

Logs of the error :-

{“level”:“error”,“ts”:1629776576.1251974,“caller”:“mlog/log.go:175”,“msg”:“Plugin failed to ServeHTTP, RPC call failed”,“plugin_id”:“ignore-user-messages”,“error”:“connection is shut down”}

Weirdly, the same plugin is working fine on my local mattermost instance but on production it gives various errors related to RPC calls failing and then shuts down.

Two more errors constantly being seen are :-

ERRO[2021-08-24T09:40:50.19967+05:30] Plugin failed to ServeHTTP, muxBroker couldn’t accept connection caller=“mlog/log.go:175” error=“timeout waiting for accept” plugin_id=ignore-user-messages serve_http_stream_id=10

ERRO[2021-08-24T09:40:50.1997042+05:30] Plugin failed to ServeHTTP, muxBroker couldn’t Accept request body connection caller=“mlog/log.go:175” error=“timeout waiting for accept” plugin_id=ignore-user-messages

thanks my issue has been fixed.