some issue with license key : Selected Log Transport None New Relic for Node.js halted startup due to an error: Error: Not starting without license key! at onNextTick (/usr/src/app/node_modules/.pnpm/newrelic@9.13.0/node_modules/newrelic/lib/agent.js:245:16) at processTicksAndRejections (node:internal/process/task_queues:78:11) New Relic for Node.js halted startup due to an error: Error: Not starting without license key!
Hi! I'm having the same issue since last weekend. When I create a trigger, the response is correct, I get the transactionId, status is processed, but then nothing is sent (no email, no in app notification) and the activity feed is empty, no errors, nothing. I also have @madhu error in the worker logs. Any idea? I have a demo tomorrow and this was working fine last week. thanks
I'm using only a Custom SMTP and the In-App providers. The providers are working fine because if I trigger the workflow from the novu web app, everything works fine. But If I trigger the event from the API, then the workflow is not activated.
The same errors as madhu, about the license for the relic application. I'm gonna try to add the environment variable you mention before to disable it to see what happen. Thanks
Hi. I have been doing some testing and I have created a New Relic account and setup the license key in the env variables. So now I don't have any error in the worker service, but still, I'm not getting any activity when I trigger an event with the API. In the api logs everything looks fine: [08:04:07.772] INFO (16): Starting Trigger [08:04:07.780] INFO (16): TriggerQueueService.add: ebd2d627-4dbd-4d0e-b7d2-aea22f85c24c Group: 64afb0887fb59a54e65195bb
And the response is good: {'data': {'acknowledged': True, 'status': 'processed', 'transactionId': 'ebd2d627-4dbd-4d0e-b7d2-aea22f85c24c'}} So, it looks like the issue is not related with the Relic error. Could you help me to identify where this trigger gets lost? Thanks
Did you check your activity feed again now? because that response means it was successful and there should be a log in the activity feed in your dashboard
Yeah. There is data because I have the activity feed of the last week (that was working fine) and the manually trigger that I did yesterday from the novu web app. But I don't get any new activity feed for the triggers that I start from the API
No data at all in Jobs, Notifications and Messages collections for the triggers created with the API call. I don't have a "triggers" collections. What do you mean with other emails?
Ok, I could try, but it doesn't makes too much sense for me... I mean, if I have a workflow trigger configured with two channels (email and in-app), and I'm triggering the workflow with an API call, the response of the API is fine, and there is a problem with the email provider, I would expect to see in the activity feed an entry with that workflow trigger and maybe an error in the email channel, but the problem is that I don't see any activity feed for the workflow trigger.
I have created another test workflow with only the in-app channel, and same problem. API call is fine, I get a response from the API call, but the workflow doesn't get activated.
This is hard to debug because self-hosted has so many reasons why certain things might not work that has nothing to do with the product code/config itself
I found the problem!!!! Oh my god... In the API call I was sending the subscriberId as an integer, after converting it to a string, everything works as expected. Ok, it was my fault, but a little bit of improvement in the API payload validation would be great. Thanks guys for your support.