Closed penkiln closed 5 years ago
There’s a stage in the script where internet access is checked by fetching the TTN website using Wget.
This fails for me (error 502) despite the website loading fine on desktop
As a workaround i can use Wget with a user-agent header taken from E.g chrome on the desktop.
I’m not sure what will happen with other API calls later in the script so I thought I just wait for some verification and ideas from the contributors.
Thank you
I've made a PR #23 but @markruys has a better idea with PR #21 that i've only just noticed.
Either works.
There’s a stage in the script where internet access is checked by fetching the TTN website using Wget.
This fails for me (error 502) despite the website loading fine on desktop
As a workaround i can use Wget with a user-agent header taken from E.g chrome on the desktop.
I’m not sure what will happen with other API calls later in the script so I thought I just wait for some verification and ideas from the contributors.
Thank you