vlmaksime / weather.gismeteo

Gismeteo Weather Forecast for KODI
14 stars 6 forks source link

Connection problems #20

Closed mafftor closed 1 year ago

mafftor commented 1 year ago

I have an issue, the weather forecast does not work.

Headers: {'User-Agent': 'Kodi/20.0 (X11; Linux aarch64) LibreELEC/11.0 App_Bitness/32 Version/20.0-(20.0.0)-Git:20.0-Nexus', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'}
2023-02-20 20:24:44.858 T:801     error <general>: weather.gismeteo [v.0.6.3+matrix.1]: HTTPSConnectionPool(host='services.gismeteo.net', port=443): Max retries exceeded with url: /inform-service/inf_chrome/cities/?mode=ip&count=1&nocache=1&lang=en (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xdac22780>: Failed to establish a new connection: [Errno -2] Name or service not known'))
                                                   Request info
                                                   Method: GET
                                                   URL: https://services.gismeteo.net/inform-service/inf_chrome/cities/?mode=ip&count=1&nocache=1&lang=en
                                                   Headers: {'User-Agent': 'Kodi/20.0 (X11; Linux aarch64) LibreELEC/11.0 App_Bitness/32 Version/20.0-(20.0.0)-Git:20.0-Nexus', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'}
2023-02-20 20:24:45.889 T:801     error <general>: weather.gismeteo [v.0.6.3+matrix.1]: HTTPSConnectionPool(host='services.gismeteo.net', port=443): Max retries exceeded with url: /inform-service/inf_chrome/cities/?mode=ip&count=1&nocache=1&lang=en (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xdac251d0>: Failed to establish a new connection: [Errno -2] Name or service not known'))
                                                   Request info
                                                   Method: GET
                                                   URL: https://services.gismeteo.net/inform-service/inf_chrome/cities/?mode=ip&count=1&nocache=1&lang=en
                                                   Headers: {'User-Agent': 'Kodi/20.0 (X11; Linux aarch64) LibreELEC/11.0 App_Bitness/32 Version/20.0-(20.0.0)-Git:20.0-Nexus', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'}

I that expected? Thanks!

mafftor commented 1 year ago

Seems like they've changed public API's ?

vlmaksime commented 1 year ago

I can't reproduce this issue. Probably, Your ISP blocks this host. Try to open this url https://services.gismeteo.net/inform-service/inf_chrome/cities/?mode=ip&count=1&nocache=1&lang=en at browser.

mafftor commented 1 year ago

You're right, for some reason, it is blocked in Ukraine. With VPN the page is loaded! It might be a Russian resource 🤔 Thanks!