Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Bicep server crashed 5 times in the last 3 minutes. The server will not be restarted. #15643

Open
SaraGoncUnip opened this issue Nov 20, 2024 · 5 comments

Comments

@SaraGoncUnip
Copy link

Does this occur consistently?
Repro steps:

Action: bicep.lsp-error
Error type: Error
Error Message: Connection closed

Version: 0.31.92
OS: win32
OS Release: 10.0.26100
Product: Visual Studio Code
Product Version: 1.95.3
Language: en

Call Stack
callback client.ts:213:15
callWithTelemetryAndErrorHandlingSync @microsoft/callWithTelemetryAndErrorHandling.js:68:16
Object.closed client.ts:210:7
LanguageClient.handleConnectionClosed vscode-languageclient/client.js:1164:72
LanguageClient.handleConnectionClosed vscode-languageclient/main.js:180:22
apply vscode-languageclient/client.js:1142:18
CallbackList.call [as invoke] vscode-jsonrpc/events.js:55:39
Emitter.fire vscode-jsonrpc/events.js:117:36
apply vscode-jsonrpc/connection.js:314:26
CallbackList.call [as invoke] vscode-jsonrpc/events.js:55:39
Emitter.fire vscode-jsonrpc/events.js:117:36
SocketMessageWriter.fireClose vscode-jsonrpc/messageWriter.js:42:27
Socket.<anonymous> vscode-jsonrpc/messageWriter.js:74:42
@stephaniezyen
Copy link
Contributor

Can you please give a little more information on what you are trying to do and when the crash happens?

@stephaniezyen stephaniezyen added Needs: Author Feedback Awaiting feedback from the author of the issue and removed Needs: Triage 🔍 labels Nov 20, 2024
@krbar
Copy link

krbar commented Nov 20, 2024

I'm experiencing the same issue when I'm trying to activate intellisense.

my code snippet:

param searchServiceName string
param privateLinkResourceName string

resource searchService 'Microsoft.Search/searchServices@2023-11-01' existing = {
  name: searchServiceName
}

resource privateEndpointConnection 'Microsoft.Search/searchServices/sharedPrivateLinkResources@2023-11-01' = {
  parent: searchService
  name: privateLinkResourceName
  properties: {
    provisioningState: {
      // trying to press ctrl+space here
    }
  }
}

@SaraGoncUnip
Copy link
Author

When I open a .bicep file the error message appears.

Image

Process:
1 - I already tried to remove and reboot VS Code.
2 - Opened VS Code, access file .bicep and nothing appears.
3 - Go to Extensions, added "Bicep" extension and closed the VS Code. Open it again, nothing happens, but when I access a .bicep file, the error appears again.

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs: Triage 🔍 and removed Needs: Author Feedback Awaiting feedback from the author of the issue labels Nov 20, 2024
@SaraGoncUnip
Copy link
Author

Error:

BicepExtensionError20112014.txt

@SaraGoncUnip
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

3 participants