Skip to content
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

Unhandled exceptions block page loads in Mullvad Browser sometimes #200

Open
PieroV opened this issue Mar 16, 2024 · 3 comments
Open

Unhandled exceptions block page loads in Mullvad Browser sometimes #200

PieroV opened this issue Mar 16, 2024 · 3 comments
Labels
bug Something isn't working proxy This is related to the socks proxy feature

Comments

@PieroV
Copy link

PieroV commented Mar 16, 2024

Tested in Mullvad Browser alpha 13.5a5.

Sometimes the pages don't load as expected (they remain in about:blank), and I get these errors in the console:

JSON.parse: unexpected character at line 1 column 1 of the JSON data 95 [background-BGJ26hj7.js:1](moz-extension://.../dist/assets/background-BGJ26hj7.js)
    S moz-extension://.../dist/assets/background-BGJ26hj7.js:1
    AsyncFunctionNext self-hosted:852

And, probably as a result:

AbortError: Actor 'Conduits' destroyed before query 'RuntimeMessage' was resolved [ConduitsParent.sys.mjs:362](resource://gre/modules/ConduitsParent.sys.mjs)
    _raceResponses resource://gre/modules/ConduitsParent.sys.mjs:362

I'm not sure of the exact STR, but it happened to me several times.

@PieroV
Copy link
Author

PieroV commented Mar 16, 2024

After chatting with Rui, we found the proxy list in my browser has been somehow truncated and therefore isn't a valid JSON:

[{"country":"Albania","cities":[{"city":"Tirana","proxyList":[{"online":true,"hostname":"al-tia-wg-socks5-001.relays.mullvad.net","ipv4_address":"10.124.0.155","ipv6_address":"fd00:aaaa::155","location":{"city":"Tirana","code":"al-tia","country":"Albania","longitude":19.819025,"latitude":41.327953,"countryCode":"al"},"port":1080,"weight":100},{"online":true,"hostname":"al-tia-wg-socks5-002.relays.mullvad.net","ipv4_address":"10.124.0.212","ipv6_address":"fd00:aaaa::212","location":{"city":"Tirana","code":"al-tia","country":"Albania","longitude":19.819025,"latitude":41.327953,"countryCode":"al"},"port":1080,"weight":100}]}]},{"country":"Australia","cities":[{"city":"Adelaide","proxyList":[{"online":true,"hostname":"au-adl-wg-socks5-301.relays.mullvad.net","ipv4_address":"10.124.0.99","ipv6_address":"fd00:aaaa::99","location":{"city":"Adelaide","code":"au-adl","country":"Australia","longitude":138.599503,"latitude":-34.92123,"countryCode":"au"},"port":1080,"weight":100},{"online":true,"h

@PieroV
Copy link
Author

PieroV commented Mar 16, 2024

Notice that the string I pasted is 1000 characters. Sounds like it hit a limit somewhere.

@ruihildt
Copy link
Member

I couldn't reproduce it by casually browsing around and using the proxy feature a bit.

I'll keep this open for a while in case someone else gets the same issue in the alpha cycle.

@ruihildt ruihildt added bug Something isn't working proxy This is related to the socks proxy feature labels Mar 25, 2024
@ruihildt ruihildt moved this from Triage to Blocked in Mullvad Browser Extension Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working proxy This is related to the socks proxy feature
Projects
Development

No branches or pull requests

2 participants