N
Novuβ€’2mo ago
sheena

Debugging bridge errors

How can I debug this error:
[Error]: Something went wrong. Please try again later.
at Object.post (/opt/project/node_modules/@novu/framework/dist/servers/express.js:23:5326)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async /opt/project/node_modules/@novu/framework/dist/servers/express.js:27:4769
at async ue.handleAction (/opt/project/node_modules/@novu/framework/dist/servers/express.js:27:3961)
at async /opt/project/node_modules/@novu/framework/dist/servers/express.js:27:2841 {
data: undefined,
statusCode: 500,
code: 'BridgeError'
}
[Error]: Something went wrong. Please try again later.
at Object.post (/opt/project/node_modules/@novu/framework/dist/servers/express.js:23:5326)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async /opt/project/node_modules/@novu/framework/dist/servers/express.js:27:4769
at async ue.handleAction (/opt/project/node_modules/@novu/framework/dist/servers/express.js:27:3961)
at async /opt/project/node_modules/@novu/framework/dist/servers/express.js:27:2841 {
data: undefined,
statusCode: 500,
code: 'BridgeError'
}
-- i can't seem to find any helpful logs to figure out what is going on
2 Replies
Novu_Bot
Novu_Botβ€’2mo ago
@sheena, you just advanced to level 1!
sheena
sheenaOPβ€’2mo ago
i've ensured that NOVU_SECRET_KEY is set in the env when i try via the curl command from the studio, i get
{"statusCode":500,"timestamp":"2024-10-12T07:06:07.451Z","path":"/v1/events/trigger","message":"Internal server error, contact support and provide them with the errorId","errorId":"210eea81ccb6471db6901b937b0940c3"}%
{"statusCode":500,"timestamp":"2024-10-12T07:06:07.451Z","path":"/v1/events/trigger","message":"Internal server error, contact support and provide them with the errorId","errorId":"210eea81ccb6471db6901b937b0940c3"}%
also, is there a way to tell the tunnel to keep the same protocol as my bridge endpoint? e.g. when i run against my local environment which happnes to be accessed with https, i get
βœ” πŸ›£οΈ Tunnel β†’ https://aaa.novu.sh/v1/api/novu
βœ” πŸ–₯️ Dashboard β†’ https://dashboard.novu.co
βœ” 🎨 Studio β†’ http://localhost:2022/studio
βœ” πŸŒ‰ Endpoint β†’ https://local.xxx.yyy/api/novu
βœ” πŸ›£οΈ Tunnel β†’ https://aaa.novu.sh/v1/api/novu
βœ” πŸ–₯️ Dashboard β†’ https://dashboard.novu.co
βœ” 🎨 Studio β†’ http://localhost:2022/studio
βœ” πŸŒ‰ Endpoint β†’ https://local.xxx.yyy/api/novu
but then when i curl the tunnel URL it strips the https from https://local.xxx.yyy/api/novu and forces http and givse me a message like {"message":"Could not connect to http://local.xxx.yyy... Make sure you are running your local app server"}
Want results from more Discord servers?
Add your server