Logging into Cloudron with OpenID Fails After Update to 7.7.0
-
Seems like the server has some issue with ipv6 connectivity then. Try to disable it on the server side and (if setup) remove the AAAA DNS records. Just to rule out that potential issue angle for now.
Depending on your server provider you may or may not able to disable it there, otherwise
sysctl -w net.ipv6.conf.all.disable_ipv6=1
might work. -
Ok, I have now deleted the DNS setting, deactivated the IPv6 setting and restarted the server. Now OpenID no longer works for all apps and https://my.domain.com/.well-known/openid-configuration is no longer accessible.
But now I was able to perform a completely fresh installation of Surfer. However, the login via OpenID does not work there either.
-
@pathab does
curl -4 -v https://my.yourdomain.com/.well-known/openid-configuration
work? This forces IPv4. Maybe some caching issue somewhere is causing a IPv6 query. -
-
the output is the same everywhere
* Trying xxx.xxx.xxx.xxx:443... * connect to xxx.xxx.xxx.xxx port 443 failed: Connection timed out * Failed to connect to my.domain.com port 443 after 131026 ms: Connection timed out * Closing connection 0 curl: (28) Failed to connect to my.domain.com port 443 after 131026 ms: Connection timed out
-
@pathab are you hosting at home? If so, https://docs.cloudron.io/troubleshooting/#hairpin-nat is the most likely issue. Your network has no mechanism to reach itself via public IP.
But, before we go into this, another test. Can you try to curl that URL from another network altogether ? Say via your mobile phone network or equivalent? Does that work ?
-
It seems like you're right and the new modem is the problem, sorry I forgot to mention that - didn't expect that to be the cause. (Because cloudron has been running very smoothly for over a year now).
Well, I have now moved the server to a VPS. Everything seems to be working there now. I will try to get my cloudron home server up and running again at a later date. Thank you very much for your time and support! -
@pathab ah nice, great you found the root cause!
-
-