-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
TerminalManager bug: output Terminals unavailable #16599
Comments
@jack-hub-maker Thank you for your contribution! Can you provide some more details about how you're running JupyterLab and your application? What are you trying to do with the result of this call to the websocket? Is this something that you could do in a JupyterLab Extension instead? More information will help us triage this issue. Thanks again. |
@jack-hub-maker Any updates regarding the questions above? Thanks! |
Yes, I want to use this direct extension in the react project. I need to communicate with jupyter's websocket. It looks like this class is exposed directly to me, but I can't seem to initialize it properly |
In other words, the function of this terminal does not support the extension use of react. Looking forward to your answer |
@jack-hub-maker Try adding this line of code |
run output: Terminals unavailable;
What should I do to handle the TerminalManager connection problem? serverSettings should be correct, because I can access jupyterlab at http://localhost:8888 and I type
curl -H "Authorization: Token bdea148105459385ee20889c2c820066d345b23a1f3a80c2" http://localhost:8888/api/terminals
He will return
[{" name ":" 1 ", "last_activity" : "the 2024-07-18 T05: abide. 795755 z"}] %
I understand that this should be able to successfully access the terminal service, but my react project is not, what should I do
Here is my code snippet:
The text was updated successfully, but these errors were encountered: