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

[BUG] cdn error. #1146

Open
quroom opened this issue May 2, 2024 · 3 comments
Open

[BUG] cdn error. #1146

quroom opened this issue May 2, 2024 · 3 comments

Comments

@quroom
Copy link

quroom commented May 2, 2024

Describe the bug
It's not bug.
It has cdn error.

GET https://cdn.jsdelivr.net/npm/[email protected]/swagger-ui.css net::ERR_CERT_DATE_INVALID
docs:12 
GET https://cdn.jsdelivr.net/npm/[email protected]/swagger-ui-bundle.js net::ERR_CERT_DATE_INVALID
docs:14 Uncaught ReferenceError: SwaggerUIBundle is not defined
    at docs:14:20
(anonymous) @ docs:14

It looks like jsdelivr.net ssl certificate is expired.

Versions (please complete the following information):

  • Python version: 3.9
  • Django version: 4.2.1
  • Django-Ninja version: 0.21
  • Pydantic version: 1.10.8
@quroom
Copy link
Author

quroom commented May 2, 2024

@vitalik
How do you think including those static files in this repo to prevent jsdelivr breaks like this issue?

@ndjman7
Copy link

ndjman7 commented May 2, 2024

Describe the bug
Same issue.

The same thing happens in other versions of the Swagger ui.
My version is swagger-ui-dist@5.

GET https://cdn.jsdelivr.net/npm/swagger-ui-dist@5/swagger-ui.css net::ERR_CERT_DATE_INVALID
GET https://cdn.jsdelivr.net/npm/swagger-ui-dist@5/swagger-ui-bundle.js net::ERR_CERT_DATE_INVALID

Version (please complete the following information):

  • Python version: 3.11.1
  • Django version: 4.2.7
  • Django-Ninja version: 1.0.1
  • Pydantic version: 2.5.2

@ivvve
Copy link

ivvve commented May 2, 2024

FYI: jsdelivr/jsdelivr#18565


Currently, the jsDelivr CDN issue has resolved.
jsdelivr/jsdelivr#18565 (comment)

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

3 participants