© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developers•3y ago•
35 replies
Shane

worker functions locally, but not when deployed

In production this code fails to retrieve data like 80% of the time. I added some debugging code to retry the request in the worker and it sometimes will fail the first x requests and eventually works and sometimes it fails all the requests. When running locally it works 100% of the time.

Is there a way I can run cloudflare workers on my own servers (open to suggestions for cloud providers) , or a way to fix my code to make this work 100% of the time?

Here is a link you can open to test
and the source code is attached

https://banner.mines.rocks/?season=fall&year=2021&courseNumber=250&subject=CSCI
message.txt4.56KB
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Worker deployed but unreachable?
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
6mo ago
Cloudflare caching works perfectly fine when tested locally but doesn't work when deployed online
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
3y ago
test worker route locally
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
3y ago