C
Coder.com•3mo ago
jozef

VS Code Desktop - fails to activate extension

Hi everybody, a colleague and I are setting up coder in GCP. We have a control plane VM and a docker VM that runs the containerized workspaces. All is so far working very well, except for the VS Code Desktop button. When I click this, I get the relevant popup and upon clicking this vscode attempts to connect, but I get an error regarding hostname resolution. I am able to connect to my workspace using the ssh connection from vscode. Any pointers would be greatly appreciated In the VS code devtools I see the following errors after trying to connect:
CSRF token not found
CSRF token not found
and
Activating extension 'coder.coder-remote' failed: Extension 'coder.coder-remote' CANNOT use API proposal: resolvers.
Its package.json#enabledApiProposals-property declares: [] but NOT resolvers.
The missing proposal MUST be added and you must start in extension development mode or use the following command line switch: --enable-proposed-api coder.coder-remote.
Activating extension 'coder.coder-remote' failed: Extension 'coder.coder-remote' CANNOT use API proposal: resolvers.
Its package.json#enabledApiProposals-property declares: [] but NOT resolvers.
The missing proposal MUST be added and you must start in extension development mode or use the following command line switch: --enable-proposed-api coder.coder-remote.
10 Replies
Codercord
Codercord•3mo ago
<#1276078439467585609>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
Phorcys
Phorcys•3mo ago
hey, could you right click the "Open in VSCode" button and send its link here?
jozef
jozef•3mo ago
There is no option to copy any link from the button Network tab of dev tools gives me this vscode://coder.coder-remote/open?owner=jozef&workspace=testing-dbt-container&url=https%3A%2F%2Fcontrol-plane.coder.example.com%3A8443&token=CSDiBCHeq5-O9miiaeYXhO7sS2Ii0qKhN&openRecent=true&agent=main I have changed the link address, as I don't want to provide the real one If I try to connect via the coder remote vs code extension, I also have a problem, but if I create the host manually in the ssh config, using the link that is in the logs of the remote connection failure, it connects happily, but this is not optimal. If I use Vs code insiders everything works perfectly from the coder remote extension. However, this is no solution 😦
Phorcys
Phorcys•3mo ago
what URL are you accessing the Coder UI from? replace <domain.tld> with example.com
jozef
jozef•3mo ago
Hi the domain for the coder ui is https://control-plane.coder.example.com
Phorcys
Phorcys•2mo ago
hello, sorry for the delay out of curiosity, why the control-plane subdomain? could you screenshot these error messages so I can better understand the context?
jozef
jozef•2mo ago
Just something that my colleague set up prior to me onboarding to the team. I might struggle doing this, as I have managed to get things working with my mac. However, I think my colleague still has these issues, so I'll try to post something back soon.
Phorcys
Phorcys•2mo ago
hey @jozef -- any luck?
jozef
jozef•2mo ago
Sorry, we're still working on cleanup of our overall tf code and we also plan to move to a new domain with new certs etc. I have the distinct feeling that once we apply all our planned changes, that things will simply start to function correctly.
Phorcys
Phorcys•2mo ago
alright, please let me know if you need anything :)
Want results from more Discord servers?
Add your server