standardrb / vscode-standard-ruby

The official VS Code extension for the Standard Ruby linter and code formatter
Other
101 stars 7 forks source link

Error: Header must provide a Content-Length property. #27

Closed patbenatar closed 23 hours ago

patbenatar commented 3 days ago

Recently (last couple of days), saving with editor.formatOnSave enabled hangs indefinitely. Disabling standardrb extension fixes the saving issue. The "Extension Host (Remote)" log shows this stack trace from vscode-standard-ruby-0.0.16:

2024-06-28 16:22:15.616 [error] Error: Header must provide a Content-Length property.
    at Ms.onData (/root/.vscode-server-insiders/extensions/testdouble.vscode-standard-ruby-0.0.16/out/extension.js:2:19059)
    at Socket.<anonymous> (/root/.vscode-server-insiders/extensions/testdouble.vscode-standard-ruby-0.0.16/out/extension.js:2:18789)
    at Socket.emit (node:events:518:28)
    at addChunk (node:internal/streams/readable:559:12)
    at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
    at Socket.Readable.push (node:internal/streams/readable:390:5)
    at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)
searls commented 3 days ago

Seems like a dupe of #26. Check that thread?