I got the above error from the browserstack emulator, so actually the network socket data on an iPhone device is like this.
Error message:
The operation couldn’t be completed. Software caused connection abort
If I put the application in the background on mobile and open the application again after 10-15-20 seconds, the direct socket connection is disconnected and it gives the above error.
My configuration settings are like this, but it does not see these values.
socket.ping_period_ms = 60000
socket.pong_wait_ms = 75000
setHeartbeatTimeoutMs(60000)