-
Notifications
You must be signed in to change notification settings - Fork 13.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BasicHTTPClient not working ? #1963
Comments
I also have problems regarding the HTTPClient... |
I tested the same request in the same conditions using nodemcu lua 0.9.5 and it is working perfectly... I guess it is not a hardware problem :) |
I couldn't get a simple HTTP GET working on either a NodeMCU, or a Wemos D1R2. The error: "connection refused". After pulling the label "2.2.0" it works - previously I was on the latest code. |
should be fixed with edaae2c |
@kaeferfreund thanks, I will test that ASAP ! |
Looking at the stack trace, i think this was actually the same issue as #1997. Anyway, should be fixed now in git version. |
This seems te be an issue still. Copy/paste of example code and I get the 'connection refused'. Quadrupple checked the URL, read probably 100 tickets about this problem but not a solution anywhere. I use platformio, maybe they use an old version? |
Have the same issue |
i am facing the same issue. I think it might a problem with server. I am using a shared hosting from vultr.com i am getting error 400 Bad request. Server could not understand your request. but when i am using a shared hosting from others it is working perfectly. May be i am missing something in server part. I am using apache, php. When i am hitting the url from browser it is working perfectly but not from esp. If you find any solution please post here. my code is as below #include <ESP8266WiFi.h> int frequency=1000; //Specified in Hz #define RST_PIN 5 const char* ssid = "ssid"; void setup() { } void loop() { } client.print(String("GET ") + url + " HTTP/1.1\r\n" + delay(1000); } |
Basic Infos
Hardware
Hardware: NodeMCU v1.0 (ESP12E)
Core Version: 2.2.0
Description
Hi ! I'm new to the esp8266 world and I'm trying to test wifi using Arduino IDE and the NodeMCU dev board.
I have tested the Hello Server example and it works fine but now when I'm trying the BasicHTTPClient, the board crash when connecting to my AP.
I also tried to set an AP with my phone but the results remain the same...
Maybe it's a dumb problem but I'm stuck with it now :-(
Settings in IDE
Module: NodeMCU 1.0
Flash Size: 4MB/3MB
CPU Frequency: 80Mhz
Flash Mode: ?qio?
Flash Frequency: ?40Mhz?
Upload Using: ?OTA / SERIAL?
Reset Method: ?ck / nodemcu?
Sketch
Debug Messages
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: