Suggested changes to the check-vpn option #23
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When running the
check-vpn
option, if the user is in a region or an ISP whereifconfig.me
is unavailable, the script will fail. It was easy enough to fix by editing the yams script, but it might be good to make the IP address provider configurable (e.g.curl -s api.ipify.org
worked for me).Also, it might be worth altering the check-vpn option to check the local IP/country first, so there's more information if
docker exec qbittorrent sh -c "curl -s ifconfig.me"
doesn't succeed. (This will at least confirm that the YAMS instance has internet connectivity prior to testing components that are dependent on the VPN/gluetun configuration.)Thank you for the bug report and excellent suggestions @hhatcher! I'll make the change later today, but also MRs are always accepted! If you have fixed it locally, feel free to open a new MR 😄
mentioned in merge request !12
mentioned in commit
7f6d9e86bf