Hacker News new | ask | show | jobs
by inetsee 2203 days ago
Thank you for posting this. I might not have discovered his other works page without your comment.

One odd thing happened as I was trying to see the software in action. When I clicked on the link to show the software in action https://lingdong-.github.io/shan-shui-inf/ I got a security warning from Firefox. The alternative link https://shan-shui-inf.glitch.me/ did not produce an error. I don't know why.

2 comments

It has something to do with Cloudflare, DNS, and/or Github.io links specifically, if I remember correctly. I read about it around a week or so ago on HN IIRC. May also involve Google Domains; likely some kind of edge-case bug combined with Google blocking some domains, and Cloudflare not allowing certain DNS settings for some domains or plans, if I'm reading between the lines correctly. Welcome any and all corrections to this info.

I think this is the thread:

https://news.ycombinator.com/item?id=23417046

Firefox tells me:

  Web sites prove their identity via certificates. Firefox does not trust this site because it
  uses a certificate that is not valid for lingdong-.github.io. The certificate is only valid for
  the following names: www.github.com, *.github.com, github.com, *.github.io, github.io,
  *.githubusercontent.com, githubusercontent.com

  Error code: SSL_ERROR_BAD_CERT_DOMAIN
So it seems it thinks that *.github.io does not match lingdong-.github.io. Perhaps due to the trailing hyphen?