Youtube Music keeps reloading

Description of the issue:
Youtube Music keeps reloading itself both within the ‘browser app’ and within the website. Other browser(s) work fine. When timed perfectly music does play however the app will prevent any interaction as soon as content is (trying to get) loaded.

How can this issue be reproduced?

  1. Go to youtube music.
  2. Click on an album which you want to play.
  3. Dialogs along the lines of ‘changes you may have made wont get saved’ keep popping up and then reloads the page.
  4. Repeat the steps but instead with the youtube music web app (which you download from the search bar).

Expected result:
Youtube music wont get stuck and immediately plays the selected song / album.
There won’t be any dialog popups and Youtube Music wont force a reload.

Brave Version( check About Brave):
Brave: 1.71.123 (as of now the latest version)
Chromium: 130.0.6723.116

Additional Information:

  • When ‘Shield’ is turned off the issue persists.
  • When using DevTools the following it logged:
Error while trying to use the following icon from the Manifest: https://www.gstatic.com/youtube/media/ytm/images/applauncher/cairo/music_icon_144x144.png (Download error or resource isn't a valid image)

youtube_injected_bundled.js:51 Uncaught TypeError: Cannot read properties of null (reading 'getVideoData')
    at youtube_injected_bundled.js:51:36

Uncaught TypeError: Cannot read properties of null (reading 'getVideoData')
    at youtube_injected_bundled.js:65:50

ajaxRequestInterceptor.ps.js:1 
        
POST https://music.youtube.com/youtubei/v1/log_event?alt=json net::ERR_BLOCKED_BY_CLIENT

# And as soon as it tries to reload:
GET https://googleads.g.doubleclick.net/pagead/id net::ERR_UNSAFE_REDIRECT

# After which is quickly clears the log due to the actual reload

Sounds like your Brave Browser window is s-l-o-w-l-y looping, because of a miscommunication between YouTube and your browser.

Might work:

Clear browsing data on your Windows OS PC

In a Brave Browser New Window, go to:

brave://settings/clearBrowserData

Select the Advanced tab

Set Time range to “All time”

ENABLE everything except:

  • Passwords and other sign-in data

(Myself, I would NOT make that exception)
(because I would have a backup prepared.)
(In other words, be prepared.)

Click on the “Clear data” button


In a Brave Browser New Window, go to:

`brave://net-internals/#dns

Click on Clear host cache

Next, same window, select “Sockets” on the left.

Click Close idle sockets

Click Flush socket pools

Quit everything and Restart your Windows OS PC


Flush the Windows OS DNS cache:

Open a Command prompt, then run it as an administrator:

  • Right click CMD
  • Click Run as administrator

Type or paste each command below

  • ipconfig /release
  • ipconfig /flushdns
  • ipconfig /renew
  • netsh int ip reset
  • netsh winsock reset

Then Restart your Windows OS computer.


In a Brave Browser New Window, go to:

  • brave://settings/cookies

Scroll down that settings page, to Sites that can always use cookies

Click the Add button

Enter [*.]google.com as the site . . . but do not Enable the following:

  • Current Private session only
  • Including third-party cookies on this site

Click the Add button

Repeat those steps for:

  • [*.]firebaseapp.com
  • [*.]googleapis.com
  • [*.]googleusercontent.com
  • [*.]gstatic.com
  • [*.]youtube.com

Next, go to:

  • brave://settings/content/javascript

Scroll down that javascript settings page to Allowed to use javascript

Click the Add button

Enter [*.]google.com as the site . . . but do not Enable the following:

  • Current Private session only

Click the Add button

Repeat those steps for:

  • [*.]firebaseapp.com
  • [*.]googleapis.com
  • [*.]googleusercontent.com
  • [*.]gstatic.com
  • [*.]youtube.com