[4.1.0.23][4.0.1.45] Browser URL with ':<port>' suffix fails as invalid, i.e. non-standard port used https://<host>:<port> where port is e.g. 1443

Does this problem happen with the domain in DNS, or only with domains in the /etc/hosts file?

I have 2 subdomains with regular ports not in DNS, one I can use with http, the other not. Both are on the same domain, IP, webserver and the only change in httpd_vhost.conf is the name. Neither works with https. All failures have the same error as shown above. I used a new browser profile in /home/nemo/.local/share/org.sailfishos/browser, with the same results.

.spdns.de is a dyndns solution. so the url above is resolved by dns.

With native Jolla Browser and Ielig Web I can reach http://server.domain.local/ but not https://server.domain.local/, error messages as above. Host is defined in /etc/hosts. Firefox can reach both (host file mounted in container). Tested on 4.0 and 4.1.

Just tried on Firefox 110 and on Sailfish Browser on SFOS 4.5 and I get the same result. @gabs5807 are you still impacted by this bug?

I tested now out of curiosity using Firefox 110.0 @ Ubuntu22 and got 2 security warnings, accepted them and then I could see the page ‘Apache2 Debian Default Page … It works!’

edit: So maybe SFOS Browser blocks out of the same security reasons but doesn’t give an option to skip and proceed at own risk.

2 Likes

Click on > I understand the Risks and Visit site or Add permanent exception.

Tested the Mobydick page from post # 6 with Xperia 10 / 4.5.0.18 right now and after accepting the warning it works. Page is visible.

The Eierkopp page from post # 18 doesn’t warn but wants a username and a password.

The problem is solved on 4.4.0.72. Sorry for the delay after all the time :innocent:. So i close this bug report.
The automatic replacement from http://mobydick.spdns.de:4080/ to https://mobydick.spdns.de:4080/ is still there (it shows the message “Secure Connection Failed” …).
May be some changes are needed on the browsers about page to suppress the https enforcement :thinking:.

The automatic replacement from http://mobydick.spdns.de:4080/ to https://mobydick.spdns.de:4080/ is still there

That’s your server that’s “faulty”. http://neverssl.com works as expected.

Why the server should be wrong when the URL works on firefox?
Your URL did not have :<port> extension :thinking:.