Comments (4)
It's been a month and I haven't been able to reproduce this issue, so I'm going to close it. If this happens again, I'll make sure to investigate the cause, and, potentially, reopen the issue.
from oss-weather.
@snezhniylis thanks for the detailed report. are you sure the redirection is not on your side(network)? i have checked and owm api is still on api.openweathermap.org
plus android should handle redirection on its own.
The weird thing to me is that you are not seeing it all the time? Are you seeing it on wifi? cellular network?
from oss-weather.
It seems like there are actually 2 issues that I mixed up.
-
301
redirection happens no matter where the request originated from (Russia, US, Netherlands, ... via a VPN) and always leads tohttps://openweathermap.org/api
:$ curl -I api.openweathermap.org HTTP/1.1 301 Moved Permanently Server: openresty Date: Mon, 31 Oct 2022 10:39:22 GMT Content-Type: text/html Content-Length: 166 Connection: keep-alive Location: http://openweathermap.org/api $ curl -I http://openweathermap.org/api HTTP/1.1 301 Moved Permanently Server: openresty/1.9.7.1 Date: Mon, 31 Oct 2022 10:46:57 GMT Content-Type: text/html Content-Length: 190 Connection: keep-alive Location: https://openweathermap.org/api
So, I don't think it affects anything. As you mentioned, the OS handles this case.
-
Sometimes API requests time out. I could not, for the life of me, find the pattern. Some days it works, some days it doesn't. But, so far, using a VPN reliably solved the issue for me.
I suspect Roskomnadzor (Russian censorshop agency) messing up somewhere and adding a couple OWM IPs to their blocklist.
I haven't been able to reproduce this issue for a couple of days. When/If it will pop up again, I'll try digging deeper.
from oss-weather.
@snezhniylis thanks for the detailed report. If i can help you in anyway let me know. I could add an option to increase the timeout if you want. But not sure if this would really help
from oss-weather.
Related Issues (20)
- Infinite refreshing icon HOT 4
- Icons pack breaks the app HOT 9
- Icon pack crashes app HOT 11
- Icons not showing HOT 10
- precipitation data misaligned in hourly chart HOT 5
- Meteo France now ignores the lang setting and shows labels in French HOT 5
- Support for One Call API 3.0 HOT 5
- Request to add window widgets HOT 1
- Improving the Compare Models feature? HOT 2
- weather icon overlap day in the hourly curve HOT 5
- Current min/max, daily list days are pulling past data? HOT 17
- Fahrenheit Scale Usually Isn't Shown With Decimals HOT 1
- [FEATURE REQUEST]: add fallback for systems without geocoder (nominatim) HOT 20
- Translation bug in Polish HOT 1
- Allow saving meteograms as images HOT 3
- Meteoblue units don't respect app settings HOT 3
- Daily view written date issue HOT 3
- Main page new chart doesn't show line for wind speed? HOT 2
- Unresponsive buttons
- Incorrect build numbers
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oss-weather.