Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By ExtraSensory
#39653 Hi,

I'm using version 2.1.0-rc2 and trying to access a URL with basic authentication with username and password.
The code is exactly the example but with a different URL.
However, I am constantly getting connection refused.
The same URL in the browser, logs in properly and shows the page.

Any suggestions?
Thanks!
User avatar
By ExtraSensory
#39682 Looking at the HTTPCLient sources, I'm trying to debug by #defining at the top of my file :

Code: Select all#define DEBUG_ESP_HTTP_CLIENT
#define DEBUG_ESP_PORT Serial
// #define DEBUG_HTTPCLIENT(...) Serial.printf( __VA_ARGS__ ) // even tried this

// rest of code...

#include <Arduino.h>

#include <ESP8266WiFi.h>
#include <ESP8266WiFiMulti.h>

#include <ESP8266HTTPClient.h>
//....



But I cannot see any change in the output. No log statements are printed :-(

Any suggestion as to what I'm doing wrong?