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
{{ message }}
Repository navigation
[Bug]: ChatGPT extension not show the chat window. #6117
I'm seeing the exact same issue running latest version of code-server and the latest stable release of Chrome, if I patiently wait then eventually i will see the following error appear, so it def looks like its HTTPS related:-
The error message looks similar to the error i used to get when going to the 'DETAILS' tab for any extension, I see this is now fixed (fantastic work btw!) so maybe this is related and you need to perform the same fix to the 'Primary Side Bar' to allow the ChatGPT Genie extension to display the controls.
Ahh good find! Service workers (and web views by extension) require valid TLS even if you click past the warning when first loading the site (at least in some browsers, I think Chrome does this but Firefox does not).
But interesting that you are not getting the error on the details tab though...that is also a web view. I would expect both to be broken unless something changed in VS Code and some simpler web views no longer use service workers.
Closing as expected behavior; service workers must be ran in a secure context (at least in some browsers) and it appears the extension needs service workers.
Activity
duyanghao commentedon Apr 3, 2023
Any process for this problem?
code-asher commentedon Apr 3, 2023
chaotec commentedon Apr 11, 2023
I tried it in mircorsoft edge. It works. But for chrome it still not work.
The edge version is 112.0.1722.39 (64bit).
The chrome version is 112.0.5615.49 (64bit).
code-asher commentedon Apr 11, 2023
alicfeng commentedon Apr 20, 2023
I have also encountered the same problem. May I ask if there is a solution to this problem?
code-asher commentedon Apr 21, 2023
alicfeng commentedon Apr 26, 2023
基于
code-server --cert=... --cert-key=...指定证书确实没有问题,但是在网关中指定TLS依然存在问题pigpag commentedon Apr 27, 2023
Are you running HTTPS?
binhex commentedon May 25, 2023
I'm seeing the exact same issue running latest version of code-server and the latest stable release of Chrome, if I patiently wait then eventually i will see the following error appear, so it def looks like its HTTPS related:-

The error message looks similar to the error i used to get when going to the 'DETAILS' tab for any extension, I see this is now fixed (fantastic work btw!) so maybe this is related and you need to perform the same fix to the 'Primary Side Bar' to allow the ChatGPT Genie extension to display the controls.
FYI link to the extension is here:- https://marketplace.visualstudio.com/items?itemName=genieai.chatgpt-vscode
code-asher commentedon May 30, 2023
Ahh good find! Service workers (and web views by extension) require valid TLS even if you click past the warning when first loading the site (at least in some browsers, I think Chrome does this but Firefox does not).
But interesting that you are not getting the error on the details tab though...that is also a web view. I would expect both to be broken unless something changed in VS Code and some simpler web views no longer use service workers.
code-asher commentedon May 30, 2023
Ah yup found the commit, service workers disabled for extension details: microsoft/vscode@a269f7d
This will probably not work with the ChatGPT extension; most likely the service worker is needed there.
code-asher commentedon Jul 21, 2023
Closing as expected behavior; service workers must be ran in a secure context (at least in some browsers) and it appears the extension needs service workers.