Shabinder
NNovu
•Created by Shabinder on 4/6/2024 in #💬│support
401 Unauthorized from Docker API Instance
Yes, sure, lemme know what time would be feasible, can do today if feasible...
29 replies
NNovu
•Created by Shabinder on 4/6/2024 in #💬│support
401 Unauthorized from Docker API Instance
and what would be our next steps in resolving this ?
29 replies
NNovu
•Created by Shabinder on 4/6/2024 in #💬│support
401 Unauthorized from Docker API Instance
Any thesis on why this might be happening ?
29 replies
NNovu
•Created by Shabinder on 4/6/2024 in #💬│support
401 Unauthorized from Docker API Instance
@Pawan Jain any luck ?
29 replies
NNovu
•Created by Shabinder on 4/6/2024 in #💬│support
401 Unauthorized from Docker API Instance
No worries, its live, also I am happy to have a live session if that would help you better diagnose it
29 replies
NNovu
•Created by Shabinder on 4/6/2024 in #💬│support
401 Unauthorized from Docker API Instance
Yes lemme boot it up again for you to test.
29 replies
NNovu
•Created by Shabinder on 4/6/2024 in #💬│support
401 Unauthorized from Docker API Instance
29 replies
NNovu
•Created by Shabinder on 4/6/2024 in #💬│support
401 Unauthorized from Docker API Instance
29 replies
NNovu
•Created by Shabinder on 4/6/2024 in #💬│support
401 Unauthorized from Docker API Instance
as you can see the sequence of calls and their responses in above screenshots.
29 replies
NNovu
•Created by Shabinder on 4/6/2024 in #💬│support
401 Unauthorized from Docker API Instance
It doesnt allow me to login, always 401.
Have tried, sign flow and login flow both, all calls 401 except the first create call in signup flow.
29 replies
NNovu
•Created by Shabinder on 4/6/2024 in #💬│support
401 Unauthorized from Docker API Instance
API Log from Docker
29 replies
NNovu
•Created by Shabinder on 4/6/2024 in #💬│support
401 Unauthorized from Docker API Instance
29 replies
NNovu
•Created by Shabinder on 4/6/2024 in #💬│support
401 Unauthorized from Docker API Instance
My .env file below:
Secrets
YOU MUST CHANGE THESE BEFORE GOING INTO PRODUCTION
used as a secret to verify the JWT token signature
JWT_SECRET=4a261bc7367ce48f69d1866bb12861cd963f3279208ce820466fb5dd82a5fd66
used to encrypt/decrypt the provider credentials
STORE_ENCRYPTION_KEY=e2G#9sLp6q8Zc$4YxU5vA3b@1N*dF!7W
Host
HOST_NAME=https://novu.shabinder.in
General
available values 'dev', 'test', 'production', 'ci', 'local'
NODE_ENV=local
MONGO_MAX_POOL_SIZE=500
MONGO_MIN_POOL_SIZE=100
MONGO USER
MONGO_INITDB_ROOT_USERNAME=root
MONGO PASSWORD
MONGO_INITDB_ROOT_PASSWORD=secret
MONGO_URL=mongodb://root:secret@mongodb:27017/novu-db?authSource=admin
REDIS_HOST=redis
REDIS_PASSWORD=
REDIS_CACHE_SERVICE_HOST=
AWS
S3_LOCAL_STACK=$HOST_NAME:4566
S3_BUCKET_NAME=novu-local
S3_REGION=us-east-1
AWS_ACCESS_KEY_ID=test
AWS_SECRET_ACCESS_KEY=test
Ports
API_PORT=3000
REDIS_PORT=6379
REDIS_CACHE_SERVICE_PORT=6379
WS_PORT=3002
Root URL
REACT_APP_WS_URL=$HOST_NAME:3002
Uncomment this one when deploying Novu in the local environment
as Web app local Dockerfile will have to load this to be used.
Deployment version doesn't need as we inject it with API_ROOT_URL value.
REACT_APP_API_URL=http://localhost/ws
API_ROOT_URL=$HOST_NAME/api
DISABLE_USER_REGISTRATION=false
FRONT_BASE_URL=$HOST_NAME:4200
WIDGET_EMBED_PATH=$HOST_NAME/widget/embed.umd.min.js
WIDGET_URL=$HOST_NAME/widget
Context Paths
Only needed for setups with reverse-proxies
GLOBAL_CONTEXT_PATH=
WEB_CONTEXT_PATH=
API_CONTEXT_PATH=api
WS_CONTEXT_PATH=ws
WIDGET_CONTEXT_PATH=widget
Analytics
SENTRY_DSN=
change these values
NEW_RELIC_APP_NAME=Novu
29 replies
NNovu
•Created by Shabinder on 4/6/2024 in #💬│support
401 Unauthorized from Docker API Instance
API Log in above file
29 replies