8000 http.GET() return connection refused error (-1) · Issue #6169 · esp8266/Arduino · GitHub
[go: up one dir, main page]

Skip to content
http.GET() return connection refused error (-1) #6169
Closed
@comertial

Description

@comertial

Basic Infos

  • [x ] This issue complies with the issue POLICY doc.
  • [x ] I have read the documentation at readthedocs and the issue is not addressed there.
  • [x ] I have tested that the issue is present in current master branch (aka latest git).
  • [x ] I have searched the issue tracker for a similar issue.
  • [x ] If there is a stack dump, I have decoded it.
  • [x ] I have filled out all fields below.

Platform

  • Hardware: [ESP-12]
  • Core Version: [latest git hash or date]
  • Development Env: [Arduino IDE]
  • Operating System: [Windows]

Settings in IDE

  • Module: [NodeMCU 1.0 (ESP-12E Module)]
  • Flash Size: [4MB/1MB]
  • lwip Variant: [v2 Lower Memory]
  • CPU Frequency: [80Mhz]
  • Upload Using: [SERIAL]
  • Upload Speed: [115200] (serial upload only)

Problem Description

I try to get my public ip with the ipify, but running the code i get connection refused.. i use the BasicHttpClient exactly as it is and i just change my ssid and password and the http.begin("http://api.ipify.org/");! thats all the changes but i get a connection refused.. until yesterday everything was working fine!
I also tried the same example without changing anything else other than my ssid and passoword but again the same problem occurs!

Debug Messages

on serial monitor this is what is being printed:

[SETUP] WAIT 4...
[SETUP] WAIT 3...
[SETUP] WAIT 2...
[SETUP] WAIT 1...
[HTTP] begin...
[HTTP] GET...
[HTTP] GET... failed, error: connection refused

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0