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

Web socket failure with the jupyter-ai chat api in LTJH #927

Open
JuanMoranAdarraga opened this issue Jul 28, 2023 · 2 comments
Open

Web socket failure with the jupyter-ai chat api in LTJH #927

JuanMoranAdarraga opened this issue Jul 28, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@JuanMoranAdarraga
Copy link

Bug description

Inmediately after an installation of LTJH in Azure following the "Deploy to Azure button", when I install jupyter_ai extension in jupyter hub, the chat interface fails and the browser debugger keeps showing:

WebSocket connection to 'wss://jupyterhub.domainname.com/user/adminuser/api/ai/chats' failed:

Expected behaviour

The chat interface should show a message like this:

Welcome to Jupyter AI! To get started, please select a language model to chat with from the settings panel. You may also need to provide API credentials, so have those handy.

The message shown is this:

There seems to be a problem with the Chat backend, please look at the JupyterLab server logs or contact your administrator to correct this problem.

How to reproduce

I have tried many combinations of versions and it always fails. I think that this extension that works perfectly in a single user environment always fails in LTJH. To reproduce just install LTJH and try to install the extension.

Your personal set up

I am using the LTJH with the automatic configuration from "Deploy to Azure button" that is recommended in the documentation.

@JuanMoranAdarraga JuanMoranAdarraga added the bug Something isn't working label Jul 28, 2023
@welcome
Copy link

welcome bot commented Jul 28, 2023

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@MridulS
Copy link
Collaborator

MridulS commented Aug 9, 2023

@JuanMoranAdarraga What's the version of JupyterLab and JupyterAI are you using?
The new JupyterAI release requires JupyterLab 4.0+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants