Issues running worker on 0.14.0
Hey guys, im trying to run novu on 0.14.0 but somehow all triggered events are not being sent. When i look into the api logs it looks like everything is okay, but the worker is not doing anything.
Could anyone help me?
api logs:
2023-05-17T14:50:15-03:00 {"level":30,"time":1684345815507,"pid":17,"serviceName":"@novu/api","serviceVersion":"0.14.0","platform":"Docker","tenant":"OS","req":{"id":18208,"method":"POST","url":"/api/v1/events/trigger","query":{},"params":{"0":"events/trigger"},"headers":{"host":"novu.xxx.xxx","connection":"keep-alive","x-forwarded-for":"xxx, xxxx","x-forwarded-proto":"http","x-forwarded-host":"novu.xxx.xxx","x-forwarded-port":"xx","x-forwarded-path":"/api/v1/events/trigger","x-real-ip":"xxxx","content-length":"704","x-amzn-trace-id":"Root=1-646513d7-7924d5953d124ff82e4a6156","accept":"application/json, text/plain, */*","content-type":"application/json","user-agent":"axios/1.2.0","accept-encoding":"gzip, deflate, br","x-correlation-id":"d5538813-74dc-45b0-8d14-077cb376e943"},"remoteAddress":"::ffff:10.2.21.129","remotePort":41728},"userId":"635107bba2ee3de4f3c4945b","environmentId":"635107c3a2ee3de4f3c4946a","organizationId":"635107c2a2ee3de4f3c49464","msg":"TriggerQueueService.add: 3267f947-4da9-47c8-984f-9c5d5be5ead0 Group: 635107c2a2ee3de4f3c49464"}
worker envvars:
api envvars:
7 Replies
@andreluizsgf, you just advanced to level 3!
Hi @andreluizsgf
Few questions:-
1. Are you running novu in local machine or in VM like EC2
2. If local, worker is running?
@Pawan Jain im running on VM.
both worker and api are running and connected to the same redis host
hey @andreluizsgf is this still not working for you?
are you using docker to deploy novu?
If yes, why are you using separate env files for each app/package
hey @Pawan Jain yes. I deploy the images separately on k8s. Currently i just use novu api/web/ws and each of them have its own deployment, kustomization, configmaps...
yes, still not working. 🥲
Hi @andreluizsgf
Apologies, I have very little knowledge of K8s
Someone from community added kustomize
https://github.com/novuhq/novu/tree/next/docker/kubernetes/kustomize
thanks @Pawan Jain . I think i had some issues with the ports i was using but now everything is fine
i updated to 0.15.0. Thanks a lot