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

Course temporarily returns a 404/502 after not being accessed for a while #829

Open
piotrpdev opened this issue Oct 15, 2024 · 2 comments
Open

Comments

@piotrpdev
Copy link
Contributor

When attempting to access a course after a while of not doing so, I receive this 502 error and have to refresh the page:

Screenshot 2024-10-15 135407

Intentionally blocking the request URL results in the same error:

Screenshot 2024-10-15 135707

This is the URL that sometimes returns a 502: https://tutors.dev/course/webappdev2.netlify.app/__data.json?x-sveltekit-invalidated=100.

After refreshing the page once, the error doesn't appear again until an extended period of not visiting the course.

I'm not sure if this intentional as a security measure or something, but it is annoying nevertheless.

@edeleastar
Copy link
Contributor

Thanks @piotrpdev for the report. I susoect it may be related to updates we are pushing out on the tutors.dev reader application, which may invalidate the session. It would be useful to figure out if it was else though. Is there a specific time period when it happens? Could you test on overnight for instance?

@piotrpdev
Copy link
Contributor Author

piotrpdev commented Oct 16, 2024

I tested it just now and the error didn't occur, so probably needs 20+ hours at least of not visiting the course. I did visit another course page like 10 hours ago though.

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

No branches or pull requests

2 participants