kersing / multitech-installer

Installer for TheThingsNetwork on MultiTech Conduit
MIT License
21 stars 17 forks source link

thethingsnetwork.org blocking Wget/cUrl #22

Closed penkiln closed 5 years ago

penkiln commented 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

penkiln commented 5 years ago

I've made a PR #23 but @markruys has a better idea with PR #21 that i've only just noticed.

Either works.