News for hackers. Stuff that matters.
Re:Show HN: Giving my mother-in-law an easy internet radio w... by seba_dos1 on Saturday April 17, 2021 @12:16PM (#26845358)
FYI - access to the site via HTTPS is broken, which makes it hard to access on browsers with https-only mode enabled.
Re:Show HN: Giving my mother-in-law an easy internet radio w... by AgoRapide on Saturday April 17, 2021 @12:26PM (#26845443)
Thanks for the information, I will considering getting myself a SSL certificate. I did not knew this to be a problem until now.
Re:Show HN: Giving my mother-in-law an easy internet radio w... by toast0 on Saturday April 17, 2021 @12:30PM (#26845480)
FYI - browsers with https-only mode enabled are broken, which makes it hard to access HTTP only sites.
Re:Show HN: Giving my mother-in-law an easy internet radio w... by seba_dos1 on Saturday April 17, 2021 @12:33PM (#26845504)
FYI - "https-only" mode does not work the way you think it does ;) The site is hard to access on such browsers only because it actually does serve something over HTTPS - however, it's just an error page there.
Re:Show HN: Giving my mother-in-law an easy internet radio w... by q3k on Saturday April 17, 2021 @12:39PM (#26845565)
Just because there is something on this domain listening on :443 and serving HTTPS, doesn't mean it has to serve the same content as the HTTP on :80, or even work at all.

Always-redirect-to-HTTPs plugins _are_ broken by assuming otherwise.

Re:Show HN: Giving my mother-in-law an easy internet radio w... by seba_dos1 on Saturday April 17, 2021 @12:44PM (#26845603)
> doesn't mean it has to serve the same content as the HTTP

Of course, that's the exact reason I wrote the original comment.

Re:Show HN: Giving my mother-in-law an easy internet radio w... by AgoRapide on Saturday April 17, 2021 @02:05PM (#26846188)
Author here. I took a look in IIS Admin and is unable to see WHERE did I ask it to serve https. I thought I was http only. The bindings only say http, both for the bef.no site and for the 'Default Web Site'.
Re:Show HN: Giving my mother-in-law an easy internet radio w... by progman32 on Saturday April 17, 2021 @12:56PM (#26845688)
Broken is in the eye of the beholder. Why the hard stance?
Re:Show HN: Giving my mother-in-law an easy internet radio w... by toast0 on Saturday April 17, 2021 @01:57PM (#26846127)
These plugins are based on a wrong assumption that the scheme is not an important part of the url. For some urls, the assumption works; for others, it doesn't and the result is an interminable stream of messages complaining that something is broken. The thing that is broken is the assumption.
Re:Show HN: Giving my mother-in-law an easy internet radio w... by rakoo on Saturday April 17, 2021 @02:22PM (#26846304)
Are we still arguing for HTTP-only sites ?
Re:Show HN: Giving my mother-in-law an easy internet radio w... by AgoRapide on Saturday April 17, 2021 @02:28PM (#26846341)
I would link to implement https since almost all other sites I surf on now are https by default.

But the last time I tried it with multiple domains pointing to the same server it was too cumbersome.

And having to renew the certificate is also not very appealing for a small hobby site.

Re:Show HN: Giving my mother-in-law an easy internet radio w... by rakoo on Saturday April 17, 2021 @02:49PM (#26846476)
The last two are solved with modern software and with the ACME protocol. Just use Caddy, it's the easiest way to host HTTPS websites.