-
Notifications
You must be signed in to change notification settings - Fork 357
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
Unable to Render LIT Widget in Jupyter Notebook on Server #1466
Comments
Hi @alba-perna, and thanks for your interest in LIT. Can you say more about the serving environment you're using; is it a VM or hosted service, which version of Jupyter, which version of Python, which browser, etc.?
|
Hi @RyanMullins Thank you for your prompt response. Here are the details about the serving environment I'm using: Environment Type: I am accessing Jupyter Notebook on an online server over the internet rather than running it locally on my machine. I'm using a remote server hosted on a personal server. I hope this information helps you in diagnosing the issue. Please let me know if you need any further details. |
That sounds like a pretty standard setup. We do most of our testing against Colab, not Jupyter directly so I'll give this my best shot. The first thing I would look at is the API token. This Stack Overflow question has a reasonable explanation of these: https://stackoverflow.com/questions/46551551/list-running-jupyter-notebooks-and-tokens If that doesn't work, the other thing to look at is how restricted the port serving setup is on your private server. It might not be exposing the port LIT is using by default. You can configure that manually on the server and set it directly with the |
When attempting to render the LIT widget in a Jupyter Notebook on a server environment, I encounter a connection refused error. I'm using the following code to render the widget:
The widget is correctly created, but I receive this error message:
La página higia.hopto.org ha rechazado la conexión.
Also if I try to open it in another tap, the connection error persists:
When I reproduce this code in local, it works succesfully, but on the server I have this connection problem.
This issue prevents me from effectively using the LIT tool in my workflow. Any guidance or assistance on resolving this issue would be greatly appreciated.
Thank you!
The text was updated successfully, but these errors were encountered: