How to call backend api from QueueWorker in BullMQ in Nextjs? #66122
Unanswered
pushkarsingh32
asked this question in
App Router
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am currently trying to call an api from workers in bullmq.
The api is working correctly from other paths.
Though it is not working from inside WorkerHandler.
It simply says fetch failed!
Sending request to writer API at https://localhost:3000/api/writer
articleWorkerHandler file
Instrumentation file
articlequeue file
Anyone have any experience with it? Thanks
Beta Was this translation helpful? Give feedback.
All reactions