What will cause the Mattermost websocket connection closed?

Summary

Websocket connection closed after my program running about 1.5 hour.Should I adjust server configuration?

Steps to reproduce

I craft a program to receive a channel’s real-time message.By my log system I find websocket will be closed after about 1.5 hour.Before websocket closed,I can get all the real-time message in the channel,evertthing is good.
Should I adjust my server configuration?Sorry I don’t have access to the server right now.So I can’t post server configuration here.But if needed,I can try to ask for it.
I am using Websocket4Net library to build my program.And the server version is 5.10.x

There are some troubleshooting guides that may help:

1 Like