The Socket doesn't work on iOS and Android

Jasiel Izaguirre5 years ago

Hello, I developed an application in Ionic 4, the Socket works perfectly on the web but at the time of compiling on Android and iOS it does not work.
Do you have any idea what it could be?

On Android I get this error: WebSocket connection to 'wss://........./api/socket' failed: Error during WebSocket handshake: Unexpected response code: 503

But in iOS it doesn't throw me any mistakes.

Error Android

Mehul Modi5 years ago

Hi Anton,
I am also trying to connect web socket from the mobile application, but I am getting this error: Expected HTTP 101 response but was '503 Service Unavailable'. Please let me know if you have any solution for this.

Thanks,
Mehul Modi