Qrome / marquee-scroller

Marquee Scroller Clock News Weather and More
https://www.thingiverse.com/thing:2867294
MIT License
324 stars 159 forks source link

Weather Data Error #259

Closed stonedDiscord closed 1 year ago

stonedDiscord commented 1 year ago

Hi,

i have a working API key but the display still ends up saying

Weather Data Error

I have checked the key, I can access the data if i take the URL from the serial monitor and add api.openweathermap.org at the beginning.

How would i debug this?

Serial:

Getting Weather Data
GET /data/2.5/group?id=2...........&units=metric&cnt=1&APPID=b................ HTTP/1.1
Waiting for data
Response Header: 
Unexpected response: 
Updating Time...
atherMapApiKey
Getting Time Data for ,
GET /v2.1/get-time-zone?key=8.................&format=json&by=position&lat=&lng= HTTP/1.1

I can see the news in the serial monitor just fine but it never displays them

I have enabled HTTP_CLIENT debug logging from the SDK and all i get is pm open,type:2 0 after the GET

stonedDiscord commented 1 year ago

enabling mdns logging resolved it - my router was messing with the DNS resolution