-
-
Notifications
You must be signed in to change notification settings - Fork 389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Job details won't show up in express 5.x #738
Comments
What lib do you use? Bull or BullMQ? |
@felixmosh BullMQ |
Ok, your setup looks OK. |
Checking the Latest Tab with inspect element,
The URL is public without any auth, you can check right now |
@felixmosh I'm using Middleware stack
|
Ha, ofcourse, we don't support express 5 yet, can you try to downgrade it to v4? |
Yes, that worked! I'm afraid, I can't downgrade my project. Is there any guidance on making it compatible with express 5 ? |
You were right, express 5 probably not parsing query string properly, just add a console.log in side the queue handler, and check what are the params that you get. |
so i did this in express 5.x ,
And Got
when using And
when using Neither of them showed the job details, |
duplicate of #404 |
For future readers, // BullBoard Currently does not support express 5, so we need to manually set the query as a property on req
router.use('/bullmq', (req: Request, res: Response, next: NextFunction) => {
const query = req.query;
// Set query as a property on req instead of as a getter for backward
// compatibility with express 4
Object.defineProperty(req, 'query', { get: () => query });
next();
});
router.use('/bullmq', BullMQStatus.getRouter()); |
Job Details are not showing up
The list of jobs is working fine
The actual queue is functioning well also.
My Implementation
Dependencies:
Redis
Queue Definition
I'm not sure if my implementation is wrong or if this is a bug.
The text was updated successfully, but these errors were encountered: