N
Novu•2y ago
bielakamil

Problem with sending notification

Hi, did any of you have a similar problem. I am hosting Novu on my server via Docker. I'm using the API via Postman, trying to send a notification to endpoint "v1/events/trigger" and getting status 201, along with transactionID and status "processed". I send to workflow, which only has an instant notification inside the application. Unfortunately, when it queries the subscriber for notifications it gets an empty list.
12 Replies
Tomer Barnea
Tomer Barnea•2y ago
Hey @bielakamil 🙂 @Pawan Jain @Support can you assist here?
Pawan Jain
Pawan Jain•2y ago
Hi @bielakamil Do you see this triggered notification in your activity feed?
bielakamil
bielakamilOP•2y ago
@Pawan Jain no, I don't have any event in the active feed
Pawan Jain
Pawan Jain•2y ago
It means worker is not running Which version of novu you are using to self host?
bielakamil
bielakamilOP•2y ago
0.16.0 I checked health-check using endpoint "v1/health-check" and received an error on "inMemory". Is this a problem with Redis?
Pawan Jain
Pawan Jain•2y ago
Yes it can be redis issue as well. Is redis running properly?
bielakamil
bielakamilOP•2y ago
According to Docker Compose is running correctly
Novu_Bot
Novu_Bot•2y ago
@bielakamil, you just advanced to level 1!
bielakamil
bielakamilOP•2y ago
How can I check if the API has access to a Redis instance?
Tomer Barnea
Tomer Barnea•2y ago
@Pawan Jain ?
sr-26
sr-26•2y ago
Hi @bielakamil , are you passing your own transaction id, if you do then the same issue we have faced when hosted via docker so we removed our own custom transaction id.
Pawan Jain
Pawan Jain•2y ago
Regarding your question How can I check if the API has access to a Redis instance? what value you are using for NODE_ENV variable?

Did you find this page helpful?