Brave keeps Redirecting http to https incessantly

Description of the issue: Have a SHOUTcast server that can’t use a secure connection and Brave keeps trying to load it securely, and displaying the “ERR_CONNECTION_CLOSED” error. (There was apparently a way to make it use a secure connection, but that doesn’t seem to work.)

Recently I had added some extra items on my main website’s “Web.Config” file, including HSTS, and when I commented that out, this problem still persisted.

		<httpProtocol>
			<customHeaders>
			<!-- HSTS -->
			<add name="Strict-Transport-Security" value="max-age=31536000; includeSubDomains; preload" /> 
			 <!-- X-Content-Type-Options -->
			<add name="X-Content-Type-Options" value="nosniff" />
			<!-- X-Frame-Options -->
			<add name="X-Frame-Options" value="SAMEORIGIN" />
			<!-- Referrer-Policy -->
			<add name="Referrer-Policy" value="no-referrer-when-downgrade" />
			<remove name="Server" />
			</customHeaders>
		</httpProtocol>

Exact URL of the website in question: http://grid.toallchurches.net:7778

Did the issue present with default Shields settings? Yes

Does the site function as expected when Shields are turned off? No

Is there a specific Shields configuration that causes the site to break? If so, tell us that configuration. No

Does the site work as expected when using Chrome? Yes, and on Chromium also.

Brave version (check About Brave): Brave is up to date Version 1.73.97 Chromium: 131.0.6778.108 (Official Build) (64-bit)

Thank you, Shalom.

@life777eternal happen to go through your settings? I see you mentioned with Shields off it still has issues, so may not be related, but more or less am thinking about your settings globally or per site for things like HTTPS.

You could also try disabling it in brave://flags just as a test:

Greetings @Saoiray, which version of Brave do you have? Because it seems that I don’t have that “Use HTTPS by Default” option on my version of Brave. Unless it’s a hidden setting that wouldn’t show up when searching the settings for “https”.

brave://shields/ is an invalid URL on my version of Brave.

" This site can’t be reached

The webpage at brave://shields/ might be temporarily down or it may have moved permanently to a new web address.

ERR_INVALID_URL"

Did you mean “brave://settings/shields” ?

Nothing changed when I opened brave://settings/shields and disabled, “Upgrade connections to HTTPS”.

Thank you, Shalom.

@life777eternal I did a dumb typo in a hurry. It was supposed to say brave://flags but I had Shields in my mind. I just edited what I originally said, but yeah…

And other one is like you mentioned, which is setting Upgrade connections to HTTPS.

I’m trying to think what else might be at play here.

Can you also confirm whether this happens in a guest profile (or new profile)? At least on your Windows.

And also, you labeled this both as Windows and Android. Does this happen on different devices or what device are you experiencing the problem on?

Oh ok, I see… alright. I tried to disable that “Use HTTPS by Default” and then restarted the browser, without any change. And aye it’s the same on Brave for Android too. Oh and the “profile” on Brave is just the default.

Thank you, Shalom.

@Mattches any ideas?

Unfortunately no, I thought changing the flag would definitely resolve the issue. @life777eternal thank you for opening that issue — I will ping a couple devs internally and ensure they take a look.

2 Likes

I am having the same issue. I have checked everything above. Changed the mentioned flag. Turned off shields. And in settings - Security I have turned off “always use secure connections.”
This seems like a bug, as the behavior doesn’t match what the settings show. It worked a few months ago, but I can’t pin down when it stopped. I am currently forced to use Edge for a few sites.

Using iPhone and Brave Browser, Private Browsing Only mode, Brave Browser [Global] Settings:

  • Trackers & ads blocking: Aggressive
  • Upgrade connections to HTTPS: Standard
  • Block scripts: Enabled
  • Block all cookies: Disabled

Visited website:

And adjusted Brave Shields [icon]:

  • Block scripts: Disabled

Clicked the “Help” button/link . . . and got a Cloudflare response:

Error 1001

Greetings @wholybee you could still use Chromium instead of Edge. https://chromium.woolyss.com

“Google Chrome” is just Google’s version of Chromium. And Brave is another version of Chromium, and better.

Thank you, Shalom.

Greetings @289wk, I did notice that it loads in a private tab normally, aye. But in the normal tabs it keeps adding the ‘s’ which causes it to not load.

Thank you, Shalom.

Cloudflare may be involved, and possibly the issue.

Some info - at:

This site can’t be reached as of 14 November 2024 - #17 by 289wk

scroll down to “When Brave Browser responds to a request . . .”

But Cloudflare is not the server - huh(?) or duh or because: the country of Regisration, is France(?):

I understand that, but Brave has the privacy features I want, none of Edge, Chrome, or Chromium do.
It’s a bug in Brave, that didn’t exist in previous versions. In my case it isn’t Cloudflare, its local resources I can’t access that don’t support https.

As a test, in a Brave Browser New Window, go to:

brave://settings/privacy

Disable “Use Google services for push messaging”

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.