doc/editor_extensions/visual_studio/visual_studio_troubleshooting.md
If the steps on this page don't solve your problem, check the list of open issues in the extension's project. If an issue matches your problem, update the issue. If no issues match your problem, create a new issue.
If GitLab Duo Chat or GitLab Duo Code Suggestions are not available in Visual Studio:
For support with Code Suggestions, see troubleshooting Code Suggestions.
If you are seeing HTTP/1.1 responses from GitLab Duo rather than /-/cable
WebSocket endpoints in your logs, your WebSocket connections may be blocked.
Your GitLab instance must allow inbound WebSocket connections from IDE clients. Ask your network administrator to allow WebSocket traffic to your GitLab instance if you suspect this is the issue.
More logs are available in the GitLab Extension Output window:
In Visual Studio, in the top bar, go to the Tools > Options menu.
Find the GitLab option, and set Log Level to Debug.
Go to View > Output to open the extension log. In the dropdown list, select GitLab Extension as the log filter.
Verify that the debug log contains similar output:
GetProposalManagerAsync: Code suggestions enabled. ContentType (csharp) or file extension (cs) is supported.
GitlabProposalSourceProvider.GetProposalSourceAsync
If your extension does not load or crashes, check the activity log for errors. Your activity log is available in this location:
C:\Users\WINDOWS_USERNAME\AppData\Roaming\Microsoft\VisualStudio\VS_VERSION\ActivityLog.xml
Replace these values in the directory path:
WINDOWS_USERNAME: Your Windows username.VS_VERSION: The version of your Visual Studio installation.Before contacting Support, make sure the latest GitLab extension is installed. Visual Studio should automatically update to the latest version of the extension.
Gather this information from affected users, and provide it in your bug report:
OS Name and Version.Processor and Installed Physical Memory (RAM) sections.