forked from fernwerker/ownDynDNS
-
Couldn't load subscription status.
- Fork 2
Open
Description
ident.me was down for about a day and the container is throwing the following error.
Warning: file_get_contents(http://v4.ident.me): Failed to open stream: Connection refused in /app/updater.php on line 12
Fatal error: Uncaught TypeError: trim(): Argument #1 ($string) must be of type string, bool given in /app/updater.php:12
Stack trace:
#0 /app/updater.php(12): trim(false)
}
thrown in /app/updater.php on line 12
It would be nice to have 1 or 2 fallback sites.
ident.merecommends this as well (see: https://api.ident.me/#redundancy-alternatives)
A drop in replacement would be tnedi.me.
This might also be a good starting point for this: https://gist.github.com/rkalkani/7428a8769f7cc6710c58680938dc5833
I can try to write some code for that if you want but I am no PHP Developer.
My code would probably just be a try catch that follows up with a request to tnedi.me.
Metadata
Metadata
Assignees
Labels
No labels