HTTPClient times out, but unclear as to why #1158
Unanswered
the-maldridge
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
-
I'm running an http.Get() in a tight loop pulling frames of control data from a server down to a small robot and then setting PWM values based on the retrieved data. This works relatively well with the Raspberry Pi Pico W I'm testing with, but I notice that every once in a while I get a response code of
-11
which appears to be client timeout.Given that the client timeout is the default 5000 and the server is on the local network approximately 2ms away, I can't see any reasonable case in which this should time out. I'd appreciate any thoughts or advice as to what's going on here.
Source code as shown below:
Beta Was this translation helpful? Give feedback.
All reactions