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

3.0 API docs and redoc blank page with HTTPS #1496

Closed
crytectobi opened this issue May 2, 2024 · 3 comments
Closed

3.0 API docs and redoc blank page with HTTPS #1496

crytectobi opened this issue May 2, 2024 · 3 comments
Labels

Comments

@crytectobi
Copy link

Hi!
I only get a white blank page from
https://gns3.local/docs and https://gns3.local/redoc
Tested with 3.0b1 and 3.0b2, both behave the same.
Everything else is working with https, but the docs are only blank pages.

Is the documentation not yet implemented as described in the blog post, or does this relate to https since this is not the default?

@crytectobi
Copy link
Author

Ok it is related to HTTPS. I activated the dev tools, these are the errors:

GET https://cdn.jsdelivr.net/npm/[email protected]/swagger-ui.css net::ERR_CERT_COMMON_NAME_INVALID
docs:12

GET https://cdn.jsdelivr.net/npm/[email protected]/swagger-ui-bundle.js net::ERR_CERT_COMMON_NAME_INVALID
docs:15 Uncaught ReferenceError: SwaggerUIBundle is not defined
at docs:15:16

HTTPS and certificate is working fine with the rest of the webpages of GNS3.

@grossmj grossmj added the bug label May 7, 2024
@grossmj
Copy link
Member

grossmj commented May 16, 2024

This may be related to fastapi/fastapi#11513

Do you still have the issue?

@crytectobi
Copy link
Author

Both URLs are working now! Seems to be resolved!

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

No branches or pull requests

2 participants