-
Notifications
You must be signed in to change notification settings - Fork 7.6k
BasicHttpsClient not working in WIFI_MODE_APSTA #6056
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
Comments
More debug info from the Arduino IDE console when WIFI_MODE_APSTA : 19:56:55.137 -> [ 6089][V][HTTPClient.cpp:245] beginInternal(): url: https://api.pushover.net/1/messages.json When using WIFI_MODE_STA it's working but I need APSTA as I'm using a portal too : 20:02:24.333 -> [ 3544][V][HTTPClient.cpp:245] beginInternal(): url: https://api.pushover.net/1/messages.json |
Hello, can you please retest this on v2.0.3-rc1? |
I'm closing the issue as expired due to no answer. If needed, please reopen it. Thanks for understanding. |
Getting the same issue. It's related to m1cr0lab-esp32/esp-now-network-and-wifi-gateway#6 |
Board
Lilygo TG4 (ESP32 WROVER + SIM7600E)
Device Description
Using ESP32 Core 2.0.1 and ESP32 WROVER Kit (all versions)
Hardware Configuration
None
Version
v2.0.1
IDE Name
Ardiono 1.8.18
Operating System
macOS 12.1
Flash frequency
40Mhz
PSRAM enabled
no
Upload speed
115200
Description
When the Wifi is set to WIFI_MODE_APSTA, the BasicHttpsClient is returning an error -1 : connection refused.
The sketch only works in WIFI_MODE_STA.
How is it possible to force the WiFiClientSecure to use the STA instead of the AP interface?
Sketch
Debug Message
Other Steps to Reproduce
Changing Wifi mode to WIFI_MODE_APSTA
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: