What means HTTP Response code : -1?

Hello, i'm am using HTTP connection with sensor and server.

It works properly, But sometimes the data doesn't go to the server correctly. And at that moment, the Serial monitor says 'HTTP response code : -1'

I wonder what kind of error does 'HTTP response code : -1' means. Cause, I have searched on google and other sites but there are only 200~500 status code's explanation.

Thank you.

-1 means it could not reach the server. error codes >= 100 are http error codes from http server response

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.