Sub-request stuck in pending state.

I am attempting to create a Worker that sends request data to my Splunk server, however when doing the POST to my splunk server the request was getting stuck at pending, I have since changed the worker to do a GET to google.com and it is still marked as pending. Any thoughts would be helpful!
No description
1 Reply
EinsiTang
EinsiTang2mo ago
I've run into the same issue you have. When I make fetch requests inside third-party libraries or callback functions, the request just hangs there. But if I do it in the entry file or outside of any callback functions, everything works fine. I'm trying to build a Telegram bot assistant using Cloudflare Workers, but this problem has been driving me crazy for three days and I can't figure out what's causing it.

Did you find this page helpful?