Ok, so I’m talking with comms and the server is listening and accepting connections fine on 8443. When I try calling a colleague we connect just fine but it drops after about 10 seconds. I turned on debug logging in the mattermost server and got this when performing a call:
{"timestamp":"2022-08-19 14:36:40.867 +02:00","level":"debug","msg":"leave message","caller":"app/plugin_api.go:969","plugin_id":"com.mattermost.calls","origin":"main.(*Plugin).WebSocketMessageHasBeenPosted
websocket.go:654","userID":"gh4ug4ys57d6ufai8op7mjkszy","connID":"59h6dnt983ffmeg6uxy4ezjjda"} {"timestamp":"2022-08-19 14:36:40.867 +02:00","level":"debug","msg":"websocket.NextReader: client side closed socket","caller":"app/web_conn.go:824","user_id":"gh4ug4ys57d6ufai8op7mjkszy"}
{"timestamp":"2022-08-19 14:36:40.867 +02:00","level":"debug","msg":"handleLeave","caller":"app/plugin_api.go:969","plugin_id":"com.mattermost.calls","origin":"main.(*Plugin).handleLeave websocket.go:337","
userID":"gh4ug4ys57d6ufai8op7mjkszy","connID":"59h6dnt983ffmeg6uxy4ezjjda","channelID":"ho336fyyjpb7jd483pnk4o1mkr"}
{"timestamp":"2022-08-19 14:36:40.868 +02:00","level":"debug","msg":"user left call","caller":"app/plugin_api.go:969","plugin_id":"com.mattermost.calls","origin":"main.(*Plugin).handleLeave websocket.go:344
","userID":"gh4ug4ys57d6ufai8op7mjkszy","connID":"59h6dnt983ffmeg6uxy4ezjjda","channelID":"ho336fyyjpb7jd483pnk4o1mkr"}
{"timestamp":"2022-08-19 14:36:40.868 +02:00","level":"debug","msg":"Received HTTP request","caller":"web/handlers.go:156","method":"GET","url":"/api/v4/websocket","request_id":"561sa9bxbifwzgnnemqifmz6fc"}
{"timestamp":"2022-08-19 14:36:40.869 +02:00","level":"debug","msg":"closing ws channel for session","caller":"app/plugin_api.go:969","plugin_id":"com.mattermost.calls","origin":"main.(*Plugin).OnWebSocketD
isconnect websocket.go:271","userID":"gh4ug4ys57d6ufai8op7mjkszy","connID":"59h6dnt983ffmeg6uxy4ezjjda","channelID":"ho336fyyjpb7jd483pnk4o1mkr"} {"timestamp":"2022-08-19 14:36:40.871 +02:00","level":"debug","msg":"closeRTCSession","caller":"app/plugin_api.go:969","plugin_id":"com.mattermost.calls","origin":"main.(*Plugin).closeRTCSession websocket.g
o:699","userID":"gh4ug4ys57d6ufai8op7mjkszy","connID":"59h6dnt983ffmeg6uxy4ezjjda","channelID":"ho336fyyjpb7jd483pnk4o1mkr"}
{"timestamp":"2022-08-19 14:36:40.871 +02:00","level":"debug","msg":"peer connection closed","caller":"app/plugin_api.go:969","plugin_id":"com.mattermost.calls","origin":"main.(*logger).Debug log.go:80","sessionID":"59h6dnt983ffmeg6uxy4ezjjda"}
{"timestamp":"2022-08-19 14:36:40.871 +02:00","level":"debug","msg":"ice closed","caller":"app/plugin_api.go:969","plugin_id":"com.mattermost.calls","origin":"main.(*logger).Debug log.go:80","sessionID":"59
h6dnt983ffmeg6uxy4ezjjda"} {"timestamp":"2022-08-19 14:36:40.872 +02:00","level":"debug","msg":"removing session from state","caller":"app/plugin_api.go:969","plugin_id":"com.mattermost.calls","origin":"main.(*Plugin).removeSession s
ession.go:221","userID":"gh4ug4ys57d6ufai8op7mjkszy","connID":"59h6dnt983ffmeg6uxy4ezjjda","originalConnID":"59h6dnt983ffmeg6uxy4ezjjda"} {"timestamp":"2022-08-19 14:36:40.883 +02:00","level":"debug","msg":"removing session from state","caller":"app/plugin_api.go:969","plugin_id":"com.mattermost.calls","origin":"main.(*Plugin).removeSession s
ession.go:221","userID":"gh4ug4ys57d6ufai8op7mjkszy","connID":"59h6dnt983ffmeg6uxy4ezjjda","originalConnID":"59h6dnt983ffmeg6uxy4ezjjda"}
{"timestamp":"2022-08-19 14:36:40.884 +02:00","level":"error","msg":"callback failed: call state is missing from channel state","caller":"app/plugin_api.go:975","plugin_id":"com.mattermost.calls","origin":"
main.(*Plugin).handleLeave websocket.go:372"}
Anything obviously wrong here?