You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to use my older code but always get a bad HTTP response. Can someone point me what to change?
The URL is ok, as I get the valid data over the browser with HTTP code 200.
HTTPClient.h line 47 clearly says #define HTTPC_ERROR_CONNECTION_REFUSED (-1), which is what I get on the output, but why? What is changed in v3.x.x? What should be changed in begin to work properly?
From what I have seen, it all started from V3.x.x. There are a bunch of similar problems on the internet.
I'd recommend you use curl -v <url> or your browser's network tools to see what the transaction looks like when it completes. There is likely a redirect there to https or perhaps http 2.0. You could also check the verbose log of an earlier version of arduino-esp32 to see what the server response looks like.
Board
ESP32 C3
Device Description
Devkit
Hardware Configuration
Nothing
Version
latest stable Release (if not listed below)
IDE Name
Arduino IDE
Operating System
Win10
Flash frequency
80MHz
PSRAM enabled
no
Upload speed
921600
Description
I tried to use my older code but always get a bad HTTP response. Can someone point me what to change?
The URL is ok, as I get the valid data over the browser with HTTP code 200.
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: