N
Novu2d 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
LUCKY2d ago
@Support
Pawan Jain
Pawan Jain2d 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
LUCKY2d ago
thanks @Pawan Jain ! unfortunately, it still seems to have issues
LUCKY
LUCKY2d ago
No description
LUCKY
LUCKY2d ago
and when I try to sync:
LUCKY
LUCKY2d ago
No description
LUCKY
LUCKY2d ago
No description
LUCKY
LUCKY2d 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