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

site showing errors always in the first requests to a file #8

Closed
Douglasgomestosta opened this issue Jun 3, 2022 · 3 comments
Closed
Labels
waiting for response Further information is requested

Comments

@Douglasgomestosta
Copy link

I installed the code in a worker so that I could display mainly images, unfortunately the script always presents errors in the first requests of some files, after a few attempts the photo is displayed to the user

first try:
Captura de tela de 2022-06-03 18-05-25

Captura de tela de 2022-06-03 18-04-07

after I reload the page a few times:
Captura de tela de 2022-06-03 18-04-15

after I reload the page a few times, the first image is displayed but the others keep showing error:

Captura de tela de 2022-06-03 18-09-46

the workers panel:

Captura de tela de 2022-06-03 18-12-59

this error seems to be occasional, there are photos that load without problems, others that don't load on the first try and some load only after I reload the pages many times, at first I thought it could be a problem with Cloudflare R2 but I didn't find any problem in the status page.

@kotx
Copy link
Owner

kotx commented Jun 3, 2022

Thanks for the report! Debugging may be hard if it's only an occasional issue, but we can try.

First, can you try clearing the cache for the entire zone (seems to be socialfan.app from the screenshot) from the Cloudflare dashboard and seeing if requesting the same file reproduces the error?

You can stream logs from the worker to view the exceptions as they come in:
image

@kotx
Copy link
Owner

kotx commented Jun 20, 2022

@Douglasgomestosta Hey, just checking, have you had any luck with this issue?

@kotx kotx added the waiting for response Further information is requested label Jul 30, 2022
@kotx
Copy link
Owner

kotx commented Aug 22, 2022

Hey, it's been a while and I've never had this happen. If anybody runs into this issue just add a comment and I'll reopen it.

@kotx kotx closed this as completed Aug 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting for response Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants