Go Down

Topic: Http error code -11 (negativ 11) from a postrequest sent from a Arduino board wi (Read 1 time) previous topic - next topic

Gormd


I have a Arduino board with a ESP8266 module sending a post request with data (in json format) to a homepage (server) - the server with the homepage records the data in a database.

The first 3 or 4 times the ESP8266 is sending the postrequest - I get Http Error code -11. At the end, I get the code 201. (about 20 seconds between every postrequest)

I can't find info about a error code -11. Hoping for help.

Thanx in advance.

PaulS

Quote
I have a Arduino board with a ESP8266 module sending a post request with data (in json format) to a homepage
Nonsense. You can send data to a server. The server can serve up a web page. You can NOT send data to a web page.

Quote
I can't find info about a error code -11. Hoping for help.
I looked at all the code in your post, and the libraries you linked. There was no error code -11, so you must be mistaken.

Gormd

Hi
Thanks for your you answer.

If you see here - the http status code is201, look it up here https://en.wikipedia.org/wiki/List_of_HTTP_status_codes

But I can't find a code 11 or -11.

I have to send the postrequest 3 or 4 times in a row before I get the statuscode 201.

Hoping for you answer.



Gormd

Found the answer.

There is of course no HTTP error code -11. The -11 is error code is 411. I fixed the issue after error code 411 and now it is working. (used a lot of time on that s.... -11)


Go Up