NlaakALD
NlaakALD3w ago

404 Resource not found on first page hit only

Next.js 15.3.1, Convex 1.23.0, @convex-dev/auth 0.0.82 PWA This issue IS NOT related to or caused by Convex - this im sure of. However, I have googled and tried to fix this for six weeks now. I figured maybe someone here had run across this issue before. First, after I push an update or its been a few days since I visited the page / opened app, I get a 404 resource not found error page. If I refresh the page, it works. and no more issues. This morning i removed all caching code from my service worker and the issue still persists. This is causing my bounce rate to be very high as visitors thing the site/app is broken when (it kinda is) but its not. Works perfect after that. You can try it at https://foch.me - Your first visit you should get it. But funny thing, some people are telling they never see it. WTF! Any, help or guideance would be greatly appreciated. I have been trying to fix this for weeks now and I am at my wits end. I have tried everything I can think of. * edit * Actually it just happened again. But instead of pulling down to reload, I just closed the app and reran it, and it works perfectly. This error makes no sense.
FOCH.ME
FOCH.ME
A simple, smart, fast platform for meeting people
No description
2 Replies
NlaakALD
NlaakALDOP3w ago
This is so annoying. I just cleared all cache, reset everything and visited the site vie Edge, Chrome, Firefox and Brave. it worked every time on Windows PC, iPad and Android Phone. But yet, it will come back and bite me in the arse. I know this is why I have a bounce rate of 26%. Its very elusive and when it happens there no more info in the console log than there is in the page.

Did you find this page helpful?