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

The network connection was lost #37

Open
mayur1816 opened this issue Jul 20, 2021 · 3 comments
Open

The network connection was lost #37

mayur1816 opened this issue Jul 20, 2021 · 3 comments

Comments

@mayur1816
Copy link

mayur1816 commented Jul 20, 2021

When I am trying to send network credentials I am getting the below error.
NSLocalizedDescription=The network connection was lost., NSErrorFailingURLStringKey=http://192.168.4.1:80/prov-config, NSErrorFailingURLKey=http://192.168.4.1:80/prov-config, _kCFStreamErrorDomainKey=4}

@vikas-chandra-mnnit
Copy link
Contributor

Hi @mayur1816, please provide the below details for the issue:

  1. iOS version.
  2. App version.
  3. Steps to reproduce.
  4. Screenshots if applicable.

Also, we are in the process of fixing a known issue related to SoftAP provisioning. So I recommend you to check this thread and let us know if any steps or observations were relevant to your problem.

@mayur1816
Copy link
Author

mayur1816 commented Jul 22, 2021

  1. iOS Varsion - 14.4
  2. App Version - 2.0.11
    I am also facing same issue using library
  3. Steps :
    -> Enter Proof of Possession -> Click Next -> join other network (Enter credentials) -> Click Connect
    The app will be stuck at sending Wi-Fi credentials.

I have checked logs and the below error is displayed.
"NSLocalizedDescription=The network connection was lost., NSErrorFailingURLStringKey=http://192.168.4.1:80/prov-config, NSErrorFailingURLKey=http://192.168.4.1:80/prov-config, _kCFStreamErrorDomainKey=4}"

4: Screenshots
WhatsApp Image 2021-07-22 at 11 00 06 AM

@vikas-chandra-mnnit
Copy link
Contributor

@mayur1816 We could not reproduce this behaviour at our end with iOS 14.6. From your description, it looks like iPhone is getting disconnected from the SoftAP automatically. Can you check if iPhone is connected with the expected network at the time this error is thrown? Also, please attach device logs of the ESP device for further investigation.

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