VSCodium / vscodium

binary releases of VS Code without MS branding/telemetry/licensing
https://vscodium.com
MIT License
24.27k stars 1.02k forks source link

Error: net::ERR_NETWORK_ACCESS_DENIED #1924

Closed youngunix closed 2 weeks ago

youngunix commented 3 weeks ago

Describe the bug VSCodium generates network access errors upon launch and unable to update or install new extensions.

Please confirm that this problem is VSCodium-specific

Please confirm that the issue/resolution isn't already documented

To Reproduce Steps to reproduce the behavior:

  1. Go to 'extensions'
  2. Click on 'update' or 'install'
  3. Scroll down to 'console output'
  4. See error

    [error] net::ERR_NETWORK_ACCESS_DENIED: Error: net::ERR_NETWORK_ACCESS_DENIED at SimpleURLLoaderWrapper. (node:electron/js2c/browser_init:2:109791) at SimpleURLLoaderWrapper.emit (node:events:514:28

Expected behavior Update or install extensions as normal.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context The output below is from the 'About' window:

Version: 1.90.0 (user setup) Release: 24158 Commit: cc102f3a62bd35f39ed059b99c5cce90e50a16e2 Date: 2024-06-06T18:39:48.552Z Electron: 29.4.0 ElectronBuildId: undefined Chromium: 122.0.6261.156 Node.js: 20.9.0 V8: 12.2.281.27-electron.0 OS: Windows_NT x64 10.0.22631

daiyam commented 3 weeks ago

I'm not able to reproduce your issue. Which console output are you selecting? Screenshot? Which extension marketplace are you using?

youngunix commented 2 weeks ago

It's using the default marketplace it came with "https://open-vsx.org".

image

youngunix commented 2 weeks ago

This is what I see when I switch to "https://marketplace.visualstudio.com/VSCode". It seems to be working as it should and I believe that open-vsx has issues because on the browser it doesn't load icons.

image

daiyam commented 2 weeks ago

I believe that open-vsx has issues because on the browser it doesn't load icons.

That's weird. It was/is working fine. Where are you?

youngunix commented 2 weeks ago

I'm right here beside you friend (US/Central).

Actually, what I did only solved the error but now I cannot search for extensions. If I type 'Go' for example, nothing comes up. Do you have an example of 'product.json' from a working VSCodium or VSCode?

youngunix commented 2 weeks ago

The latest update reverted back the changes I made to the 'serviceurl' entry.

image

youngunix commented 2 weeks ago

image

image

daiyam commented 2 weeks ago

I don't know what's going on. But, on my machine, the icons are showing up on open-vsx.org.

Can you look at the console in your browser to see if there is any errors...

Are you using a VPN or something filtering your connection?

youngunix commented 2 weeks ago

I did some investigating and it seems that open-vsx.org is acting suspicious indeed. I understand if it was the browser's hardened settings and extensions but it seems to be acting the same way on a barebone secondary browser.

I am safely assuming that one of the firewalls this machine is behind does not like what that website is doing.

Also, this is out of scope but this website is very good at bypassing the privacy & safety invasion/abuse counter measures which is more suspicious than I would hope.

daiyam commented 2 weeks ago

Also, this is out of scope but this website is very good at bypassing the privacy & safety invasion/abuse counter measures which is more suspicious than I would hope.

Not sure what you mean. I'm using Brave + uBlock origin and it's working fine.

If there is a privacy/safety issue, you report to their repo: https://github.com/eclipse/openvsx (the site is under EPL and under the umbrella of the Eclipse Foundation)

it seems to be acting the same way on a barebone secondary browser.

Ya, that's why I think it's network issue. But where? on their side? yours? or in middle??? The logs in the browser (in the console) might help. In particular, any error on the network tab.

youngunix commented 2 weeks ago

How can I get "https://marketplace.visualstudio.com/VSCode" to work with VSCodium?

After further investigation of this issue, I determined the problem is with open-vsx not VSCodium. I will open an issue with their team.

daiyam commented 2 weeks ago

I will open an issue with their team.

Could you post here the link to the issue so I can follow it? Thx

JavadCodes commented 22 hours ago

Hello, Have solved the problem? I encountered this issue and am unable to resolve it.

daiyam commented 22 hours ago

@JavadCodes Since OpenVSX is US-operated, they might have to follow some rules that restrict the access to your country (Iran).

JavadCodes commented 21 hours ago

Dear @daiyam
Yes, you are right. However, this issue has only occurred recently. Before this, I was using it without any problems. Additionally, I am using it on other devices without any issues.