Unhelpful error message - suggest IPv6 test?
Hi folks,
I was a bit baffled by an error from friendica (which appeared to otherwise be working), complaining that .well-known/host-meta was not accessible, and that this was a "severe" problem.
BUT - clicking the link in the error resulted in seeing the host-meta downloaded.
After a bit of head scratching (I've recently moved to nginx), I figured it out.
My local internet has only IPv4 connectivity - so it worked. My nginx was misconfigured, and has been ignoring requests on IPv6.
Can I suggest that the Admin panel add an additional test for ip4 and ip6 connectivity, so that admins can be warned?
Additionally, the message about host-meta might be reworded to include a hint to check IP6 connectivity or something.
TTFN, have fun folks,
-Ian
reshared this
Michael πΊπ¦
•Ian Molton
Friendica Support reshared this.
Tobias
•Content warning: Unhelpful error message - suggest IPv6 test?
The test is not done on the IP layer, but performs a simple HTTP(s) GET request for the well-known information. So if the warning is issued in the admin panel, there can many causes why the GET request not working.
From a misconfigured REWRITE for URLs in the web server to your network on the server not working properly for whatever reason. And everything in between.
Ian Molton
Content warning: Unhelpful error message - suggest IPv6 test?
Friendica Support reshared this.
Hypolite Petovan
•@Ian Molton This feels a little too low-level an issue for Friendica to warn admins about.
Iβm not even even sure we have information from the PHP script to even show the relevant warning message.
Tobias
•PHP: dns_get_record - Manual
www.php.netIan Molton likes this.
Hypolite Petovan
•Ian Molton
I think just adding a comment to the existing error message like
"this error may be caused by incorrect DNS configuration, lack of ipv4 or 6 connectivity, or take to enable ipv6 on the webserver"
Would be sufficient. A DNS check would be a nice addition though.
Friendica Support reshared this.
Hypolite Petovan
•Ian Molton likes this.
Ian Molton
*shrug*
Caught me out.
Friendica Support reshared this.