openURL timeout
Posted: Sunday 10 October 2021 20:35
Hello to all
I have a very strange timeout issue for a long time that I really don't how to sort out.
After 15 sec this url call triggers a timeout reported in the log file
log file excerpt
If I simply copy/past without waiting the url displayed in the log file in a browser I get an immediate answer
So what could make the API not responding?
Running 2020.2 build 12485 on Debian buster
Thank you
I have a very strange timeout issue for a long time that I really don't how to sort out.
After 15 sec this url call triggers a timeout reported in the log file
Code: Select all
local wunderURL = "https://api.weather.com/v3/wx/forecast/daily/5day?geocode=47.097,1.966&language=fr-FR&format=json&units=m&apiKey=xxx"
dz.openURL({
url = wunderURL,
callback = "wundergroundResponseForecast1"
})
Code: Select all
2021-10-10 20:25:17.214 Error: Error opening url: https://api.weather.com/v3/wx/forecast/daily/5day?geocode=47.097,1.966&language=fr-FR&format=json&units=m&apiKey=xxx
2021-10-10 20:25:17.291 Error: dzVents: Error: (3.0.14) meteo script: HTTP/1.1 response: 28 ==>> Timeout was reached
So what could make the API not responding?
Running 2020.2 build 12485 on Debian buster
Thank you