mesibo

Mesibo onConnectionStatus frequently going offline


I am using Ionic Capacitor with React and Mesibo API version 2.5.22 with on-premise installation.

Roughly every 1 minute after singing in with a token, the Mesibo_onConnectionStatus from the listener gets status 2 offline and the user loses connection for up to 10 seconds. I thought this might be expected with a free account but now we have credits so think this shouldn't happen.

In the safari console from ios simulator I also see the error every time just before connection is lost:

WebSocket connection to 'wss://mesibo.digitech.world:5443/' failed: The operation couldn’t be completed. Socket is not connected

Is there something we can do about this, or something I am just misunderstanding here?

Initialised Mesibo with token of valid user. Expected user to remain online for a longer period without disconnecting.


Solution

  • It looks like we have found the issue now. There was a default read timeout of 60s in our NGINX proxy. After changing that we don't have connection status issues.