Installation of pyrefly fails with the follow errors in the logs:
2026-03-05 11:14:19.044 [error] [Window] Failed: Server returned 503
at ZFu.queryRawGalleryExtensions (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:46614:43512)
at async ZFu.queryGalleryExtensionsWithAllVersionsAsFallback (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:46614:36203)
at async ZFu.getExtensionsUsingQueryApi (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:46614:29716)
at async ZFu.getExtensions (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:46614:28394)
at async _nd.getDependenciesAndPackedExtensionsRecursively (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49740:1082)
at async _nd.getOtherUntrustedPublishers (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49740:790)
at async _nd.checkForTrustedPublishers (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49736:18248)
at async _nd.installFromGallery (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49736:9263)
at async vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:47790:51480
2026-03-05 11:14:19.045 [error] [Window] Server returned 503: Failed: Server returned 503
at ZFu.queryRawGalleryExtensions (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:46614:43512)
at async ZFu.queryGalleryExtensionsWithAllVersionsAsFallback (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:46614:36203)
at async ZFu.getExtensionsUsingQueryApi (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:46614:29716)
at async ZFu.getExtensions (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:46614:28394)
at async _nd.getDependenciesAndPackedExtensionsRecursively (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49740:1082)
at async _nd.getOtherUntrustedPublishers (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49740:790)
at async _nd.checkForTrustedPublishers (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49736:18248)
at async _nd.installFromGallery (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49736:9263)
at async vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:47790:51480 Server returned 503
2026-03-05 11:14:23.458 [error] [Network] #23: https://marketplace.cursorapi.com/open-vsx-mirror/vscode/asset/meta/pyrefly/0.55.0/Microsoft.VisualStudio.Code.Manifest?targetPlatform=win32-x64 - error GET Failed to fetch
This makes cursor unusable for me, because I am trying to use Pyrefly as an alternative language server to Cursor Pyright which I am also unable to get to work properly: Cursor Pyright exceedingly slow
Sorry for the delay - I’ll wait for an authoritative answer from Cursor folks, but looking at other posts: Cursor Pyright automatically installed even I uninstall it you probably just want to update the settings.json mentioned in that post to disable, but not uninstall the Cursor Pyright extension as it will auto install itself again.
Given you have been using Pyrefly for a few weeks now, do you have any feedback? Have you been using type checking diagnostics or just the code navigation functionality?
Can you try upgrading to the latest version (currently 0.58) and let me know if you still see the issue? Try putting a pyrefly.toml file in the root of your project workspace. If we can’t detect the project workspace root, then we can have trouble building the index that powers find references.
I updated to 0.58 and created the pyrefly.toml as you suggested. Find references is still not working. This was working fine about a week ago so I’m not sure what happened.
I tried restarting the Pyrefly client a few times and noticed I was getting some errors, perhaps its related??
… INFO Validated open files and committed transaction. INFO Language server processed event `RecheckFinished` in 0.00s (0.00s waiting) INFO Language server processed event `LspResponse` in 0.00s (0.00s waiting) INFO Handling non-canceled request pyrefly/textDocument/typeErrorDisplayStatus (1) INFO Language server processed event `LspRequest(pyrefly/textDocument/typeErrorDisplayStatus)` in 0.00s (0.00s waiting) INFO Handling non-canceled request textDocument/documentSymbol (2) INFO Language server processed event `LspRequest(textDocument/documentSymbol)` in 0.00s (0.00s waiting) INFO Handling non-canceled request textDocument/inlayHint (3) INFO Language server processed event `LspRequest(textDocument/inlayHint)` in 0.01s (0.00s waiting) INFO Handling non-canceled request textDocument/foldingRange (4) INFO Language server processed event `LspRequest(textDocument/foldingRange)` in 0.00s (0.00s waiting) INFO Handling non-canceled request textDocument/semanticTokens/full (5) INFO Language server processed event `LspRequest(textDocument/semanticTokens/full)` in 0.00s (0.00s waiting) INFO Handling non-canceled request textDocument/documentSymbol (6) INFO Language server processed event `LspRequest(textDocument/documentSymbol)` in 0.00s (0.00s waiting) [Error - 7:49:35 PM] Notify file events failed. Message: Client is not running Code: -32096
Thanks for the report! Sorry about your issues. If you see this happen again, would you be able to grab the output of the Pyrefly language server window instead of the Pyrefly trace? it looks like a crash and the trace only shows traffic and not crash logs.