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.

Error while fetching extensions. Server returned 503

See original GitHub issue

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: Chrome
  • Local OS: Mac Os
  • Remote OS: Ubunut
  • Remote Architecture: x64
  • code-server --version: 4.3.0 09bc30027a7fbba170f907a527eaa9f7219fe739 with Code 1.65.2

Steps to Reproduce

  1. open code-server
  2. Search any extension

Expected

It should search the extension

Actual

But getting error Error while fetching extensions. Server returned 503

Logs

No response

Screenshot/Video

Screenshot 2022-04-27 at 11 54 53 AM

Does this issue happen in VS Code?

  • I cannot reproduce this in VS Code.

Are you accessing code-server over HTTPS?

  • I am using HTTPS.

Notes

The issue is happening because the new code-server version sending requests to https://open-vsx.org/vscode/gallery/extensionquery but the old version which is working fine is sending requests to https://extensions.coder.com/api/extensionquery that’s why I am getting error.

ERROR CURL

curl 'https://open-vsx.org/vscode/gallery/extensionquery' \
  -H 'Accept: application/json;api-version=3.0-preview.1' \
  -H 'Content-Type: application/json' \
  --data-raw '{"filters":[{"criteria":[{"filterType":10,"value":"golan"},{"filterType":8,"value":"Microsoft.VisualStudio.Code"},{"filterType":12,"value":"4096"}],"pageNumber":1,"pageSize":50,"sortBy":0,"sortOrder":0}],"assetTypes":[],"flags":950}' \
  --compressed

WORKING CURL

curl 'https://extensions.coder.com/api/extensionquery' \
  -H 'accept: application/json;api-version=3.0-preview.1' \
  -H 'content-type: application/json' \
  --data-raw '{"filters":[{"criteria":[{"filterType":8,"value":"Microsoft.VisualStudio.Code"},{"filterType":10,"value":"gol"},{"filterType":12,"value":"4096"}],"pageNumber":1,"pageSize":50,"sortBy":0,"sortOrder":0}],"assetTypes":[],"flags":950}' \
  --compressed

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
Tiny-Weicommented, Oct 13, 2022

It’s happening now, again…

2reactions
khanakiacommented, Apr 27, 2022

Yes, https://open-vsx.org was down today which caused the issue. The issue seems to be resolved now. So closing the ticket.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Server returned 503 VsCode extension marketplace
Extension marketplace is returning this when trying to search for extension Error while fetching extensions. Server Returned 503
Read more >
How to Fix the HTTP Error 503 Service Unavailable - Kinsta
The 503 (Service Unavailable) status code indicates that the server is currently unable to handle the request due to a temporary overload or ......
Read more >
How to Fix Error While Fetching Extensions. XHR Failed in Vs ...
Link:- https://open-vsx.org/In This Video We Will See How to Fix Error While Fetching Extensions. XHR Failed in Vs Code or Microsoft Visual ...
Read more >
Visual Studio Code error while fetching extensions. XHR Failed.
'XHR Failed' error when trying to install VS Code extension. ... Click 'Use the following DNS server addresses' and enter.
Read more >
How to Fix 503 Service Unavailable Error: 7 Steps That Work
Another possible factor causing the 503 error is a DNS-related issue, such as unresolved IP addresses, unresponsive DNS servers, or a corrupted ...
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