iOS: Socket Connect failed: Error 1 depending on Network
Opened this issue · 1 comments
nmoersch-calimoto commented
Hi, we are using this Library for a internally shared codebase and it works great for Android.
On iOS we have some issues:
- We can only connect to any (our own or the
test.mosquitto.org
) MQTT Server by IPv4 Address, not Domain Name (otherwise, if IPv6 is available in the current Network we get the IOExceptionSocket connect failed, error 1
) - With some Mobile network providers we always get
Socket connect failed, error 1
and can't connect at all to any Server
The Error code is EPERM
, so "Permission denied" in iOS.
davidepianca98 commented
Hello, thank you very much for reporting the issue. I will look into it as soon as I can