Worker deployed but unreachable?

I've developed an SPA (just one page, no SSR) and deployed on Workers. I also defined a custom domain with a pattern in the wrangler.jsonc. But now when I try to access the route, it won't work (the worker doesn't even log that a route has been accessed). It just shows this:
ismycodeworking.today’s DNS address could not be found. Diagnosing the problem.
DNS_PROBE_POSSIBLE
ismycodeworking.today’s DNS address could not be found. Diagnosing the problem.
DNS_PROBE_POSSIBLE
Funny thing is, my workers route works, just not the custom domain. - Workers: https://ismycodeworking.lukez.workers.dev/ - Custom: https://ismycodeworking.today/ Code: https://github.com/The-LukeZ/ismycodeworking Can anybody help me to figure out what is wrong here? -# For anyone curious, I have attached my DNS configuration.
Is My Code Working? 🤔
Get an answer to the eternal developer question
No description
8 Replies
SuperHelpflare
SuperHelpflare3mo ago
DNS cache Resolving DNS entries is complex and involves many parties (your browser, your operating system, your router and then your ISP's resolver). Any and all of these intermediaries can potentially cache your DNS request and serve stale content, even though you just updated it. Quick fixes: 1. Use a different browser 2. Restart your PC 3. Change your DNS from your ISP's to Cloudflare's: https://one.one.one.one/dns/#setup-instructions
LukeZ
LukeZOP3mo ago
well, it worked exactly once (like, the first version). Let me rollback. now it works again. But every deploy after that version (the second deployment) was having this issue. I don't think it's an issue with my implementation, and because I was still writing the initial code, I didn't commit it. So there is not chance of knowing what exactly is causing those issues. maybe because I implemented a turnstile library? yes it is. I removed it and deployed a new version. Without the turnstile libary, something breaks. I'm gonna crash out and make an issue on Github for that library (or should I contact Cloudflare because... it should not break if it's worker-related?)
Walshy
Walshy3mo ago
What error are you seeing?
LukeZ
LukeZOP3mo ago
.
Walshy
Walshy3mo ago
The DNS error you won't be seeing anymore so what are you seeing now? It won't be a DNS error deploying a new version
LukeZ
LukeZOP3mo ago
gimme a second
LukeZ
LukeZOP3mo ago
I replaced the library's component with the "suggested" implementation from the docs.
No description
LukeZ
LukeZOP3mo ago
That has resolved the issue. hm, it so weird. If I visit the "old" delpoyments I can see, that they are now working... now turnstile doesn't work anymore 🤣 I will head over to #🤖turnstile - thanks y'all!

Did you find this page helpful?