question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to search the Marketplace when offline, please check your network connection.

See original GitHub issue

Type: Bug

I cannot search for any extension. image

Obviously I do have internet connection. I tried to reinstall vscode, remove directories like .vscode in user home directory, removing folder for vscode inside AppData, Local, Programs ,… I removed all installed extensions, reinstalled vscode, tried also one version lower than latest one. Nothing helped. I also switched from dns 8.8.8.8 on my router back to the ISP’s automatic DNS to check if the problem was with dns, but it didn’t help. I waited one day as I thought that marketplace might be temporarily offline, but that seems not to be the case.

In Output in Log (Window) I have some errors like this:

[2022-11-14 19:28:20.960] [renderer1] [error] RequestService#request (browser) - error https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery {"name":"Offline"}
[2022-11-14 19:28:22.428] [renderer1] [error] RequestService#request (browser) - error https://vscodeexperiments.azureedge.net/experiments/vscode-experiments.json {"name":"Offline"}

Please help

VS Code version: Code 1.72.2 (d045a5eda657f4d7b676dedbfa7aab8207f8a075, 2022-10-12T22:15:18.074Z) OS version: Windows_NT x64 10.0.22000 Modes: Sandboxed: No

System Info
Item Value
CPUs AMD Ryzen 7 2700X Eight-Core Processor (16 x 4000)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Load (avg) undefined
Memory (System) 63.91GB (55.75GB free)
Process Argv –crash-reporter-id aa6206d1-3089-4fc9-bf53-dc74c54245b2
Screen Reader no
VM 0%
Extensions: none
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
azure-dev_surveyone:30548225
pyindex848cf:30577861
nodejswelcome1cf:30587006
fc301958:30595537
2e4cg342:30602488
gswce2:30605431
iaj6b796:30608729
dbltrim-noruby:30604474
89544117:30607850

Issue Analytics

  • State:open
  • Created 10 months ago
  • Reactions:3
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
sikora507commented, Nov 14, 2022

It started to run after I opened Docker Desktop on Windows and docker has been initialized: I have no idea how that it possible, but nothing helped, except running Docker Desktop on windows image

Now the marketplace works: image

Can anyone explain this? I would like to know how it helped. Shutting down Dosker Desktop did not break VsCode again, the marketplace still works.

0reactions
sikora507commented, Nov 21, 2022

No network proxy, everything on my computer runs normally without issues, however to be able to have extensions marketplace working in VSCode I need to start Docker Desktop every time I restart my PC. From what I saw in developer tools: No network request was made. Just like VSCode assumed I’m offline and didn’t even try to make a request in network tab. However, when extensions are working properly, I can see a lot of requests in Network tab: image

I know it’s like an impossible case. Last thing I remember I did that might cause the issue was update of my motherboard’s BIOS. Probably that doesn’t matter but I’ve upgraded my Asus x470 Prime Pro BIOS from 2018 to the latest version.

After update it looked like virtualization (SVM) setting was set to disabled and my Docker wouldn’t start. When I’ve enabled it again, everything worked fine and just few days later I noticed the extensions marketplace from VSCode was not working.

Read more comments on GitHub >

github_iconTop Results From Across the Web

"You appear to be offline. Please check your network ... - GitHub
Open the extension host log ( Ctrl + P , then type view log extension ). Maybe clear the log (tends to be...
Read more >
VS Code : Sign In Error :You appear to be offline. Please ...
Same exact issue for me, caused (most likely) by my company's proxy blocking the sign-in request.
Read more >
How to Fix Error Please Check Your Network Connection In ...
How to Fix Error Please Check Your Network Connection In Windows 11 [Tutorial]YouTube is one of the most used apps for in order...
Read more >
Outlook 365-Issue with Search - Microsoft Community
As you mentioned, this issue happens only when your laptop is offline, please kindly check if you connect to network, is the issue...
Read more >
Setup Visual Studio Code's Network Connection
A handful of features within VS Code require network communication to work, such as the auto-update mechanism, querying and installing extensions, and telemetry ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found