N
Novu2mo ago
LUCKY

Local Studio not Working with Self Hosted Instance - 401 Not Authorized

Hi all Just wanted to ask here, if anyone was able to run the local studio with a self hosted instance. I get a 401 and also saw there’s an ongoing discussion here: https://github.com/novuhq/novu/issues/6710
GitHub
🐛 Bug Report: Local Studio doesn't authenticate itself after signin...
📜 Description When you go to http://localhost:2022/studio/onboarding/preview and after signing in, you get 401 errors when trying to authenticate against the hosted Novu api. When trying to trigger...
8 Replies
LUCKY
LUCKYOP2mo ago
@Support
Pawan Jain
Pawan Jain2mo ago
Add this environment variable NOVU_API_URL in bridge application, and change the value as per your configuration.
NOVU_API_URL=http://localhost:3000
NOVU_API_URL=http://localhost:3000
LUCKY
LUCKYOP2mo ago
thanks @Pawan Jain ! unfortunately, it still seems to have issues
LUCKY
LUCKYOP2mo ago
No description
LUCKY
LUCKYOP2mo ago
and when I try to sync:
LUCKY
LUCKYOP2mo ago
No description
LUCKY
LUCKYOP2mo ago
No description
LUCKY
LUCKYOP2mo ago
npx novu@latest sync \
--bridge-url https://API_URL \
--secret-key API_KEY
npx novu@latest sync \
--bridge-url https://API_URL \
--secret-key API_KEY
Seems that it’s going to the wrong bridge url Many thanks for @Pawan Jain for the great guidance! We were able to solve it! In the command I needed one more parameter --api-url
npx novu@latest sync \
--bridge-url <> \
--api-url <> \
--secret-key <>
npx novu@latest sync \
--bridge-url <> \
--api-url <> \
--secret-key <>
Want results from more Discord servers?
Add your server