Question

I have a websocket enabled webapp and I use SocketRocket to work with it from my iOS app. Everything was fine until I changed network settings on iPad to work without DNS and thru proxy. Now I cannot connect to my web app via iOS app although I can connect to it via mobile safari.

I use wss scheme and self signed certificates. Both DNS host name "example.net" or ip 10.10.1.1 do not work. I receive error NSPOSIXErrorDomain 64 "Host is down" or NSPOSIXErrorDomain 60 "Operation timed out".

I would appreciate any ideas why this happens.

Was it helpful?

Solution

Ok, so after some digging into SocketRocket code it appears that they do not support connections thru proxy.

I was getting NSPOSIXErrorDomain 64 "Host is down" or NSPOSIXErrorDomain 60 "Operation timed out" because obviously I can't reach needed host directly.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top