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

Error while loading documentation for Swift argument parser #3546

Open
heckj opened this issue Dec 10, 2024 · 5 comments
Open

Error while loading documentation for Swift argument parser #3546

heckj opened this issue Dec 10, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@heckj
Copy link
Collaborator

heckj commented Dec 10, 2024

When I tried to load the documentation hosted at SPI for swift-argument-parser, the site responded with "An unknown error occurred."

  1. Navigate to https://swiftpackageindex.com/apple/swift-argument-parser/1.5.0/
  2. See the error

Screenshots

IMG_0327

What web browser were you using? (if relevant)

If you're reporting a bug with the front end, please include your browser information below:

  • Platform: iPad
  • Browser Safari
  • Version iOS 18.1.1
@heckj heckj added the bug Something isn't working label Dec 10, 2024
@finestructure
Copy link
Member

Thanks for the report, Joe! Is this still failing for you? Because it's working fine for me (both on the Mac and the iPad):

Screenshot 2024-12-10 at 09 42 48

@daveverwer
Copy link
Member

This feels like a recurrence of #3464, which itself has been recurring for @czechboy0 since reporting. We have just been chatting about it on Discord rather than in a GitHub thread.

@heckj could you run curl -I https://swiftpackageindex.com/apple/swift-argument-parser/1.5.0/ twice once after another and paste the results here (or DM me them as it will reveal your approximate location through revealing which Cloudflare cache node you are hitting, which is what I want to know). It doesn't matter if the issue is still happening, which I presume it will not be, when you run these commands.

We'll leave this issue open to track the problem but the next step is to contact Cloudflare about it.

@finestructure
Copy link
Member

Just to clarify - Joe's issue isn't a 404, at least not straight up. It might be for one of the core assets, which could then render this failure page in the Vue app, I suppose.

Did the original issue also show this behaviour at times or was it always a 404 page?

@daveverwer
Copy link
Member

Did the original issue also show this behaviour at times or was it always a 404 page?

Yes, this error is when it's a 404 or other error when one of the dynamically loaded files fails to load with an error.

@heckj
Copy link
Collaborator Author

heckj commented Dec 10, 2024

It's been several hours since I first this this, but I just ran the commands:

(base) ➜  ~ curl -I https://swiftpackageindex.com/apple/swift-argument-parser/1.5.0/
HTTP/2 404
date: Tue, 10 Dec 2024 15:45:16 GMT
content-type: text/html; charset=utf-8
content-length: 5182
cache-control: no-store
cf-cache-status: EXPIRED
server: cloudflare
cf-ray: 8efe5c6fbb1cc39c-SEA

(base) ➜  ~ curl -I https://swiftpackageindex.com/apple/swift-argument-parser/1.5.0/
HTTP/2 404
date: Tue, 10 Dec 2024 15:45:20 GMT
content-type: text/html; charset=utf-8
content-length: 5182
cache-control: no-store
cf-cache-status: HIT
age: 4
server: cloudflare
cf-ray: 8efe5c857e41dedc-SEA

The error message shown at the page (https://swiftpackageindex.com/apple/swift-argument-parser/1.5.0/) has now changed as well - on my Mac, it's now showing a more classic 404 response.

Screenshot 2024-12-10 at 7 46 41 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants