This repository has been archived by the owner on Feb 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
Callback behaviour is buggy (ESP8266) #43
Comments
Need to mention for testing that I created a simple PHP server with an empty index.php in it. That script I served with |
I've investigated this some more from my side and it appears that every 2nd, 4th,... request (so after a 'good' request) no headers are being sent. My server shows me now that the Host is missing, the User-Agent is missing,... |
khoih-prog
added a commit
that referenced
this issue
Oct 21, 2022
Please try the new AsyncHTTPRequest_Generic v1.10.1. Your contribution is noted in Contributions and Thanks Releases v1.10.1
|
Great, I'll give it a try one of these days! Thank you for the quick update! Much appreciated! |
khoih-prog
added a commit
to khoih-prog/AsyncHTTPRequest_RP2040W
that referenced
this issue
Oct 21, 2022
### Release v1.2.1 1. Fix bug of wrong `reqStates`. Check [Release 1.9 breakes previously running code #39](khoih-prog/AsyncHTTPRequest_Generic#39) and [Callback behaviour is buggy (ESP8266) #43](khoih-prog/AsyncHTTPRequest_Generic#43) 2. Optional larger `DEFAULT_RX_TIMEOUT` from default 3s, for slower networks
khoih-prog
added a commit
to khoih-prog/AsyncHTTPRequest_RP2040W
that referenced
this issue
Oct 21, 2022
### Release v1.2.1 1. Fix bug of wrong `reqStates`. Check [Release 1.9 breakes previously running code #39](khoih-prog/AsyncHTTPRequest_Generic#39) and [Callback behaviour is buggy (ESP8266) #43](khoih-prog/AsyncHTTPRequest_Generic#43) 2. Optional larger `DEFAULT_RX_TIMEOUT` from default 3s, for slower networks
khoih-prog
added a commit
to khoih-prog/AsyncHTTPRequest_RP2040W
that referenced
this issue
Oct 21, 2022
### Release v1.2.1 1. Fix bug of wrong `reqStates`. Check [Release 1.9 breakes previously running code #39](khoih-prog/AsyncHTTPRequest_Generic#39) and [Callback behaviour is buggy (ESP8266) #43](khoih-prog/AsyncHTTPRequest_Generic#43) 2. Optional larger `DEFAULT_RX_TIMEOUT` from default 3s, for slower networks
khoih-prog
added a commit
to khoih-prog/Portenta_H7_AsyncHTTPRequest
that referenced
this issue
Oct 21, 2022
### Releases v1.4.1 1. Fix bug of wrong `reqStates`. Check [Release 1.9 breakes previously running code #39](khoih-prog/AsyncHTTPRequest_Generic#39) and [Callback behaviour is buggy (ESP8266) #43](khoih-prog/AsyncHTTPRequest_Generic#43) 2. Optional larger `DEFAULT_RX_TIMEOUT` from default 3s, for slower networks
khoih-prog
added a commit
to khoih-prog/Portenta_H7_AsyncHTTPRequest
that referenced
this issue
Oct 21, 2022
### Releases v1.4.1 1. Fix bug of wrong `reqStates`. Check [Release 1.9 breakes previously running code #39](khoih-prog/AsyncHTTPRequest_Generic#39) and [Callback behaviour is buggy (ESP8266) #43](khoih-prog/AsyncHTTPRequest_Generic#43) 2. Optional larger `DEFAULT_RX_TIMEOUT` from default 3s, for slower networks
khoih-prog
added a commit
to khoih-prog/AsyncHTTPRequest_Teensy41
that referenced
this issue
Oct 21, 2022
### Release v1.9.1 1. Fix bug of wrong `reqStates`. Check [Release 1.9 breakes previously running code #39](khoih-prog/AsyncHTTPRequest_Generic#39) and [Callback behaviour is buggy (ESP8266) #43](khoih-prog/AsyncHTTPRequest_Generic#43) 2. Optional larger `DEFAULT_RX_TIMEOUT` from default 3s, for slower networks
khoih-prog
added a commit
to khoih-prog/AsyncHTTPRequest_Teensy41
that referenced
this issue
Oct 21, 2022
### Release v1.9.1 1. Fix bug of wrong `reqStates`. Check [Release 1.9 breakes previously running code #39](khoih-prog/AsyncHTTPRequest_Generic#39) and [Callback behaviour is buggy (ESP8266) #43](khoih-prog/AsyncHTTPRequest_Generic#43). 2. Optional larger `DEFAULT_RX_TIMEOUT` from default 3s, for slower networks
khoih-prog
added a commit
to khoih-prog/AsyncHTTPRequest_Teensy41
that referenced
this issue
Oct 21, 2022
### Release v1.9.1 1. Fix bug of wrong `reqStates`. Check [Release 1.9 breakes previously running code #39](khoih-prog/AsyncHTTPRequest_Generic#39) and [Callback behaviour is buggy (ESP8266) #43](khoih-prog/AsyncHTTPRequest_Generic#43). 2. Optional larger `DEFAULT_RX_TIMEOUT` from default 3s, for slower networks
khoih-prog
added a commit
to khoih-prog/AsyncHTTPRequest_Teensy41
that referenced
this issue
Oct 21, 2022
### Release v1.9.1 1. Fix bug of wrong `reqStates`. Check [Release 1.9 breakes previously running code #39](khoih-prog/AsyncHTTPRequest_Generic#39) and [Callback behaviour is buggy (ESP8266) #43](khoih-prog/AsyncHTTPRequest_Generic#43). 2. Optional larger `DEFAULT_RX_TIMEOUT` from default 3s, for slower networks
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm on the latest version of the library.
My scenario: every 10 seconds I want to make a POST call to a server containing a JSON body.
The full testing code is available here: https://gist.github.com/dirkvranckaert/93ca29597a9f6732465d23cb9e2b62b3
Here is the log of what I observe:
So my observation is:
HTTPCODE_NOT_CONNECTED
followed by the regular network response. That seems bizar to me that I first get the not connected followed by a proper response... I'm not sure if that's ok and if I can safely ignore the not connected...This sequence keeps repeating itself exactly like this, calls 3, 5, 7,... are like call 1. The followup calls 4, 6,, 8,... are always like call 2!
In my opinion both are an issue.
Can you please have a look?
The text was updated successfully, but these errors were encountered: