Skip to content

Unable to Render LIT Widget in Jupyter Notebook on Server #1466

Open
@alba-perna

Description

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:

widget = notebook.LitWidget(models, datasets, port=8890)
widget.render(height=600)

The widget is correctly created, but I receive this error message:
La página higia.hopto.org ha rechazado la conexión.

image

Also if I try to open it in another tap, the connection error persists:

widget.render(open_in_new_tab=True)

No se puede acceder a este sitio web
La página higia.hopto.org ha rechazado la conexión.
Prueba a:
Comprobar la conexión
Comprobar el proxy y el cortafuegos
ERR_CONNECTION_REFUSED

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!

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions