Hi,
I need to make quick use of a Wemos ESP8266 NodeMCU v3 version Lolin module, bought about two years ago. I uniquely wanted to do this using the Arduino IDE. I used the example available in the IDE, Tried to connect to a few of my servers (still error), and below a sample to Onet.co.uk:
.
The result is error 400:
I have also tried other examples, including for https for example:
Result:
Where to look for the cause?
Added after 4 [hours] 2 [minutes]:
Maybe it's about updating the firmware?
I need to make quick use of a Wemos ESP8266 NodeMCU v3 version Lolin module, bought about two years ago. I uniquely wanted to do this using the Arduino IDE. I used the example available in the IDE, Tried to connect to a few of my servers (still error), and below a sample to Onet.co.uk:
Code: C / C++
The result is error 400:
Quote:WiFi connected
IP address:
192.168.1.13
connecting to onet.pl
Requesting URL:
GET HTTP/1.1
Host: onet.pl
Connection: close
HTTP/1.1 400 Bad Request
Server: Ring Publishing - Accelerator
Date: Mon, 22 Mar 2021 10:00:10 GMT
Content-Type: text/html
Content-Length: 150
Connection: close
<html>
<head><title>400 Bad Request</title></head>
<body>
<center><h1>400 Bad Request</h1></center>
<hr><center>nginx</center>
</body>
</html>
I have also tried other examples, including for https for example:
Code: C / C++
Result:
Quote:.......
WiFi connected
IP address:
192.168.1.13
connecting to onet.pl
connection failed
Where to look for the cause?
Added after 4 [hours] 2 [minutes]:
Maybe it's about updating the firmware?