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

Cannot show /openapi.html when running viewer in Jupyter notebook #1006

Open
forman opened this issue Jun 6, 2024 · 1 comment
Open

Cannot show /openapi.html when running viewer in Jupyter notebook #1006

forman opened this issue Jun 6, 2024 · 1 comment

Comments

@forman
Copy link
Member

forman commented Jun 6, 2024

Describe the bug

Cannot show /openapi.html when running viewer/server from Jupyter.

To Reproduce

In Jupyter NB:

viewer = Viewer()
viewer.add_dataset(ds)
viewer.show()

Click server URL and change URL to */openapi.html

Expected behavior

xcube server APIs should be displayed.

Screenshots

image

@forman forman changed the title Cannot show /openapi.html when running viewer/server from Jupyter Cannot show /openapi.html when running viewer in Jupyter notebook Jun 6, 2024
@forman
Copy link
Member Author

forman commented Jun 7, 2024

Issue has its root cause in xcube.server.webservers.tornado.TornadoApiRequest.url_for_path:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant