ESP8266 Connection Issue: Unable to Send HTTP Requests After Initial Mobile App Connection – Are There Permission Problems? #24061
Unanswered
FerhatErgen
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone
I've been in a problem that I can't get out of for a long time.
In general, there are no issues with the my code. The problem lies in the permission granted when connecting to the Wi-Fi network. Let me explain step by step.
The ESP8266 operates as an Access Point (AP) without any internet connection. To connect the ESP to the internet, I need to switch it from AP mode and connect it to the available internet network.
Note: The ESP's SSID is not saved on the phone.
When connecting to the ESP from the phone's Wi-Fi network, I receive the following options under the "No internet access" warning:
Only this time
Always
Cancel
I choose the "Always" option to allow the connection and save the SSID. From that point on, as long as I do not forget the SSID, the connection works seamlessly every time I connect again, even from Maui. Not only in Maui but also from Chrome(on phone), I can send requests without any issues.
However, if I perform the above steps from the beginning in Maui:
Note: The ESP's SSID is not saved on the phone.
I perform a Wi-Fi scan in .NET Maui, find the ESP SSID, and connect to it. The option to save the SSID appears, but the "No internet access" Always option does not appear. I can see that it is connected to the ESP from the ESP's serial output, indicating that it connects to the AP network but does not send HTTP requests. Thinking there might be an error in the code, I attempt to send a request from Chrome (on phone), but there is no response from there either.
There is a more detailed question/answer link in the link below.
https://learn.microsoft.com/en-us/answers/questions/1852876/esp8266-connection-issue-unable-to-send-http-reque
thank you
Beta Was this translation helpful? Give feedback.
All reactions