Skip to content

[Bug]: ChatGPT extension not show the chat window. #6117

Closed as not planned
Closed as not planned

Description

@chaotec

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: Chrome
  • Local OS: Windows 10
  • Remote OS: Centos 7
  • Remote Architecture: amd64
  • code-server --version: 4.11.0

Steps to Reproduce

  1. Install the chatgpt extension.
  2. Click the icon of chatgpt.

Expected

Show the chat window like vscode.
image

Actual

No any content.
image

Logs

[04:14:16] Getting Manifest... genieai.chatgpt-vscode
[04:14:18] Installing extension: genieai.chatgpt-vscode
[04:14:21] Extracted extension to /config/extensions/.0558bc05-7fb5-4232-92d6-3abbf47b342a: genieai.chatgpt-vscode
[04:14:21] Renamed to /config/extensions/genieai.chatgpt-vscode-0.0.4-universal
[04:14:21] Extracting extension completed. genieai.chatgpt-vscode
[04:14:21] Extension installed successfully: genieai.chatgpt-vscode

Screenshot/Video

No response

Does this issue happen in VS Code or GitHub Codespaces?

  • I cannot reproduce this in VS Code.
  • I cannot reproduce this in GitHub Codespaces.

Are you accessing code-server over HTTPS?

  • I am using HTTPS.

Notes

No response

Activity

  1. added
    bugSomething isn't working
    triageThis issue needs to be triaged by a maintainer
    on Mar 30, 2023
  2. duyanghao commented on Apr 3, 2023

    @duyanghao

    Any process for this problem?

  3. code-asher commented on Apr 3, 2023

    @code-asher
    Member
  4. chaotec commented on Apr 11, 2023

    @chaotec
    Author

    Are there any logs in the browser console? I tried out the extension but it works for me.

    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).

  5. code-asher commented on Apr 11, 2023

    @code-asher
    Member
  6. alicfeng commented on Apr 20, 2023

    @alicfeng

    I have also encountered the same problem. May I ask if there is a solution to this problem?

  7. code-asher commented on Apr 21, 2023

    @code-asher
    Member
  8. alicfeng commented on Apr 26, 2023

    @alicfeng

    基于 code-server --cert=... --cert-key=... 指定证书确实没有问题,但是在网关中指定 TLS 依然存在问题

  9. pigpag commented on Apr 27, 2023

    @pigpag

    Are you running HTTPS?

  10. binhex commented on May 25, 2023

    @binhex

    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:-
    image

    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

  11. code-asher commented on May 30, 2023

    @code-asher
    Member

    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.

  12. code-asher commented on May 30, 2023

    @code-asher
    Member

    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.

  13. code-asher commented on Jul 21, 2023

    @code-asher
    Member

    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.

  14. added and removed
    bugSomething isn't working
    triageThis issue needs to be triaged by a maintainer
    on Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions