-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Desktop] Brave 1.13.82: WebRTC setting always gets reset. #11525
Comments
I could not repro this on Beta (1.14) MacOS using the following steps:
No matter what I tried, the setting stayed on 'Disable non-proxied UDP' (my chosen setting) instead of getting reset to 'Default public interface only'. I will ask if anyone else is seeing this on 1.13. do you have more specific repro steps? |
I just tested on Windows 10 with Brave 1.13.82, and cannot reproduce. @Peacock365, do you find that other settings cannot be persisted across sessions as well, or only this one? |
@Peacock365 Do you have Sync enabled? If so, are you syncing your browser settings? |
Another report of this here, with more specific repro steps: #11373 |
No, as far as I can tell only this WebRTC setting is being reset. It also happens within the same session, not only across sessions. A browser restart isn't required for the setting to be reset. It was report here, too: #11373 |
Sync isn't enabled here. I never used Sync, either. |
@Peacock365 This setting is stored in the following file:
Note: The This is a JSON file, and the setting will be stored in this manner:
Can you confirm that the |
I use the default profile, no worries. The key exists in the preference file, and shows: "webrtc":{"ip_handling_policy":"disable_non_proxied_udp"} However, the setting displayed in the Brave settings menu is "Default Public Interface Only". No other software is manipulating the file, I am not using any cleaners or anything. The issue begun after updating Brave to version 1.13.82. I changed no setting (including the WebRTC setting discussed here) or extension setting before or after the update. I emphasize again that the WebRTC setting being reset doesn't require a browser restart. It gets reset intermittently, within the same session, as well. |
@Peacock365 Which language are you running Brave in? Are you able to reproduce if you use the English version of Brave? |
German. Haven't tried enforcing the English interface yet, will try. |
UPDATE: I went to the following website: https://browserleaks.com/webrtc My IP address didn't leak there, indicating that Brave is in fact using "Disabled Non-Proxied UDP" instead of "Default Public Interface Only". However, the latter is still shown as the active setting in the Brave settings menu. Might this be just a graphical bug? Am I missing something here? |
someone in #11585 saying that this is happening for the tracker and ads setting |
Tested the English user interface - no change, the bug still persists. Also not fixed by updating to Brave 1.14.81. |
Thanks @Peacock365 for testing the English UI. We can rule out the possibility of a translation bug. So far I don't think anyone at Brave has been successful reproducing this. But at least it looks like it's a cosmetic issue and that you can still set your browser to use "Disabled Non-Proxied UDP". |
@simonhong any thoughts on what this could be due to? |
@diracdeltas I double checked the code that related with this settings. Previously, we had obvious bug for ads & tracker reset issue. however, it seems we don't have bug for webrtc option. |
Hey, just wanted to let you know that two settings in the Brave setup of a relative of mine got reset (relative is using Windows 8.1, btw), as well:
It seems to me that you, the guys and gals @brave Software, have a general problem with settings persistence. Seemingly, Brave always resets random settings to their default values. From the issue of my relative, it seems to me that WebRTC being affected in my case is just random chance. Seems to be a general settings persistence bug. Cheers. |
@Peacock365 do you have Sync enabled? That will sync your default browser. Besides that, I'm not sure how it could get overwritten/reset Just to verify: if you go to brave://settings, you have the new tab configured on open set like this, right? |
The relative doesn't have Sync enabled, and never had Sync enabled. Sync is completely out of the equation here. I had this set to "Open New Tab Page" for him, however, there is a bug that causes Brave to switch to open the tabs of the last session. The setting gets reset upon restart, but also intermittently (within the same browsing session). As I said, you seem to have a general problem with settings persistence. The Brave profile of the relative is on another PC and completely unrelated to my own profile. The operating systems are different, too (Windows / macOS). WebRTC being affected in my case seems to be random chance, I am convinced that there is a general bug causing random settings not to persist. |
@bridiver any ideas? thanks. |
The "On startup" setting is 100% chromium code that uses the internal js prefs api and the WebRTC setting is custom Brave code that calls a webui method that sets a pref (this should also use the internal js prefs api, but the current implementation should function correctly). If there is an issue, the most likely cause imo is an issue writing the prefs file. That could happen either because of a local filesystem issue or possibly because of a shutdown crash. @Peacock365 if you go to |
I have had crash reports disabled and no recent crash, so I can't provide any info based on that (yes, I've looked at brave://crashes). However, I had a kernel panic some time ago, and I believe Brave was open at the time of the crash. Could this be fallout from that? However, can that explain what happened on the PC of my relative? That was Windows 8.1, and unreltae to any crash as far as I know. |
@Peacock365 can you check "Diagnostic Reports" in the mac Console app to see if there are any Brave crashes there? You can also run Disk Utility First Aid to see if there are any filesystem issues. Any crashes for your relative (Brave or OS)? Does the setting persist until browser restart (open and close settings page multiple times)? Do other setting changes persist correctly? What happens if you change webrtc and some other setting? Does the other setting persist when webrtc is lost? |
Hey there, it seems that the issue is resolved as of Brave 1.17.68. After the update, the WebRTC setting showed that it is controlled by an extension at the moment (uBlock Origin). The greyed-out setting shown was "Default Public Interface Only". I went to a WebRTC IP leak test and my IP address leaked despite uBlock Origin being set to prevent the leak. Very strange. Anyway, I turned off uBlock Origin's WebRTC IP leak protection setting and upon doing so, Brave kept the intended setting "Disable Non-Proxied UDP". Upon testing the WebRTC leak again, it now shows that my IP address no longer leaks. Consider this bug RESOLVED FIXED, it seemed to be a conflict between Brave and uBlock Origin that can be resolved by using Brave's WebRTC setting instead of the one in uBlock Origin. |
Thanks for the update @Peacock365 . It's good to know that the UI now highlights the interaction between extensions and our settings. |
Description
The WebRTC IP handling setting always gets reset to "Default Public Interface Only" no matter which other setting I choose, I wanted to set it to "Disable Non-Proxied UDP", impossible currently.
https://github.com/brave/brave-browser/wiki/WebRTC-Custom-Settings
Steps to Reproduce
Easily reproduced, set the WebRTC setting to anything other than "Default Public Interface Only", it will get reset.
Actual result:
It's set to "Default Public Interface Only" all the time.
Expected result:
Respect the other setting I wanted to set, not getting reset.
Reproduces how often:
Easily reproduced.
Brave version (brave://version info)
Brave 1.13.82 Chromium: 85.0.4183.83 (Offizieller Build) (64-Bit)
Revision | 94abc2237ae0c9a4cb5f035431c8adfb94324633-refs/branch-heads/4183@{#1658}
OS | macOS Version 10.15.6 (Build 19G2021)
Version/Channel Information:
I use the release channel.
Miscellaneous Information:
None.
The text was updated successfully, but these errors were encountered: