Persistent 520/525 which disappears after reloading
Hello all!
I am trying to setup cloudflare to work with my express app, however whenever I load my website (https://fyseotp.eu/drive/auth), I get error 525, which subsequently disappears after 1-3 reloads. My SSL/TLS encryption mode is set to Full (Strict), and I have generated an origin certificate from cloudflare which I am currently using. I have made sure everything has propagated correctly.
I have tried toggling different settings in cloudflare, with no luck. I tried to set the encryption mode to flexible, however the error just changed to 520, after which 1-3 reloads and the site loads (same as Full - strict just different error). I have tried using different browsers and different clients. I have made sure ports are unblocked, restarted my server, checked my certificates are working correctly etc etc and aside from the error upon first loading the page, everything works fine.
Any suggestions/advice would be appreciated, thanks 🙂
2 Replies
Both of them sound like similar failures connecting to the origin server just expressed through different errors based on whether HTTP or HTTPS is used, are there any logs on your server at the times the errors happen?
I was logging requests and everytime it didn't initially work no request came through to my server, but when I reloaded and it worked that's when I received something
so idk it seems like it's just not going through from cloudflare
every request is the same I don't see why it would work on 2nd or 3rd try and not first