You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What version of Go, VS Code & VS Code Go extension are you using?
Version Information
Run go version to get version of Go from the VS Code integrated terminal.
Run gopls -v version to get version of Gopls from the VS Code integrated terminal.
Run code -v or code-insiders -v to get version of VS Code or VS Code Insiders.
Check your installed extensions to get the version of the VS Code Go extension
Run Ctrl+Shift+P (Cmd+Shift+P on Mac OS) > Go: Locate Configured Go Tools command.
vscode version: 1.70.0
language and extension: go 1.7.0
Share the Go related settings you have added/edited
Run Preferences: Open Settings (JSON) command to open your settings.json file.
Share all the settings with the go. or ["go"] or gopls prefixes.
Describe the bug
A clear and concise description of what the bug.
A clear and concise description of what you expected to happen.
Steps to reproduce the behavior:
Go to '...'
Click on '....'
See error
Screenshots or recordings
If applicable, add screenshots or recordings to help explain your problem. developer tools console error:
workbench.desktop.main.js:sourcemap:2279 [[object Object]]Header must provide a Content-Length property.
$onExtensionRuntimeError @ workbench.desktop.main.js:sourcemap:2279
workbench.desktop.main.js:sourcemap:2279 Error: Header must provide a Content-Length property.
at StreamMessageReader.onData (/root/.vscode-server/extensions/golang.go-0.35.1/dist/goMain.js:3762:21)
at Socket. (/root/.vscode-server/extensions/golang.go-0.35.1/dist/goMain.js:3746:16)
at Socket.emit (node:events:390:28)
at addChunk (node:internal/streams/readable:315:12)
at readableAddChunk (node:internal/streams/readable:289:9)
at Socket.Readable.push (node:internal/streams/readable:228:10)
at Pipe.onStreamRead (node:internal/stream_base_commons:199:23)
Hi, this is almost certainly a dupe of #2406, which is a corruption of the jsonrpc2 stream. Thank you for reporting.
It is likely that you have the bad time format string "2006-02-01" somewhere in your project, and the stray print statement in the new "timeformat" analyzer is causing hanging.
Sorry for this unfortunate breakage - we only discovered it midday on Friday, and so will not be able to release a fix until Monday.
In the meantime you can do any one of the following fixes
What version of Go, VS Code & VS Code Go extension are you using?
Version Information
go version
to get version of Go from the VS Code integrated terminal.gopls -v version
to get version of Gopls from the VS Code integrated terminal.code -v
orcode-insiders -v
to get version of VS Code or VS Code Insiders.Go: Locate Configured Go Tools
command.Share the Go related settings you have added/edited
Run
Preferences: Open Settings (JSON)
command to open your settings.json file.Share all the settings with the
go.
or["go"]
orgopls
prefixes.Describe the bug
A clear and concise description of what the bug.
A clear and concise description of what you expected to happen.
Steps to reproduce the behavior:
Screenshots or recordings
If applicable, add screenshots or recordings to help explain your problem.
developer tools console error:
like:microsoft/vscode#157886
The text was updated successfully, but these errors were encountered: