[Bug]: Error: Unable to retrieve document from URI
See original GitHub issueIs there an existing issue for this?
- I have searched the existing issues
OS/Web Information
- Web Browser: Microsoft Edge 105.0.1343.27
- Local OS: Windows
- Remote OS: CentOs7
- Remote Architecture: amd64
code-server --version
:
1.71.0
784b0177c56c607789f9638da7b6bf3230d47a8c
x64
Steps to Reproduce
- open code-server
- open php file
- format file
Expected
format file
Actual
nothing
Logs
have error at devtools console
WARN Error: Unable to retrieve document from URI 'file:///home/wwwroot/shop.pterodactyl.love/modules/servers/pterodactyl/lib/PterodactylClient.php'
at k.getDocument (/usr/local/lib/node_modules/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:87:11047)
at D.$participateInSave (/usr/local/lib/node_modules/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:83:31956)
at i._doInvokeHandler (/usr/local/lib/node_modules/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:95:13689)
at i._invokeHandler (/usr/local/lib/node_modules/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:95:13371)
at i._receiveRequest (/usr/local/lib/node_modules/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:95:12141)
at i._receiveOneMessage (/usr/local/lib/node_modules/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:95:10843)
at /usr/local/lib/node_modules/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:95:8950
at b.invoke (/usr/local/lib/node_modules/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:60:145)
at p.deliver (/usr/local/lib/node_modules/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:60:2266)
at v.fire (/usr/local/lib/node_modules/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:60:1844)
at o.fire (/usr/local/lib/node_modules/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:68:19042)
at /usr/local/lib/node_modules/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:111:17079
at b.invoke (/usr/local/lib/node_modules/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:60:145)
at p.deliver (/usr/local/lib/node_modules/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:60:2266)
at v.fire (/usr/local/lib/node_modules/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:60:1844)
at o.fire (/usr/local/lib/node_modules/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:68:19042)
at r._receiveMessage (/usr/local/lib/node_modules/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:68:23854)
at /usr/local/lib/node_modules/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:68:22874
at b.invoke (/usr/local/lib/node_modules/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:60:145)
at p.deliver (/usr/local/lib/node_modules/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:60:2266)
at v.fire (/usr/local/lib/node_modules/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:60:1844)
at v.acceptChunk (/usr/local/lib/node_modules/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:68:15873)
at /usr/local/lib/node_modules/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:68:15003
at b.invoke (/usr/local/lib/node_modules/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:60:145)
at p.deliver (/usr/local/lib/node_modules/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:60:2266)
at v.fire (/usr/local/lib/node_modules/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:60:1844)
at v._processReadQueue (/usr/local/lib/node_modules/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:68:34245)
Screenshot/Video
No response
Does this issue happen in VS Code or GitHub Codespaces?
- I cannot reproduce this in VS Code.
- I cannot reproduce this in GitHub Codespaces.
Are you accessing code-server over HTTPS?
- I am using HTTPS.
Notes
No response
Issue Analytics
- State:
- Created a year ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Unable to retrieve document from URI #6664 - GitHub
I've been using codespaces for a while with no issues but since today some functionality of the editor crashes regularly.
Read more >Unable to recover from unknown URI Schemes in javascript
The problem is that we don't get an error back, and the page seems to be dead so we can't even have a...
Read more >Bug #726439 “Search for document returns an Unknown error
Binary package hint: yelp TEST CASE: 1. Launch Yelp 2. Select the menu 'Go / All Documents" 2. Enter some text (e.g nautilus)...
Read more >How to Fix the 414 Request-URI Too Large Error - Kinsta
1. Log In to Your Server (And Determine Your Server Type) · 2. Find the Server Configuration File and Open It in Your...
Read more >Troubleshoot Azure Files problems in Windows (SMB)
When you try to mount a file share, you might receive the following error: System error 5 has occurred. Access is denied. Cause...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
code-server: v4.7.0
Thank you! Are you able to record a video showing what happens after you install the extension and format the document? I want to make sure I’m following the same steps.