Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS: Socket Connect failed: Error 1 depending on Network #66

Open
nmoersch-calimoto opened this issue Oct 17, 2024 · 1 comment
Open

Comments

@nmoersch-calimoto
Copy link

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 IOException Socket 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
Copy link
Owner

Hello, thank you very much for reporting the issue. I will look into it as soon as I can

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants