abed3k
Explore posts from serversGetting `NOAUTH Authentication required` error on self hosted site after sign in/workspace creation
After signing up or logging in, I receive a popup error:
Error during useFindManyObjectMetadataItems.
When I check the network logs, I see the following error in my GraphQL calls: code: INTERNAL_SERVER_ERROR
response: NOAUTH Authentication required.
I attempted to set the AUTH_PASSWORD_ENABLED
environment variable to true, but I still get the same error. Did I misconfigure something, or is there another underlying problem?27 replies
Can I deploy twenty-server on its own or do all services have to be deployed in the same environment
I am using
railway.app
to deploy the backend server. We already have an existing postgres table elsewhere and were planning to deploy the frontend using vercel.
On railway.app I tried to point the build commands to the twenty-server directory npx nx build twenty-server
and the start command was cd packages/twenty-server && yarn start:prod
. I also depolyed a redis server in the same environment as the backend server on railway.app and set the REDIS_HOST, REDIS_PORT, REDIS_USERNAME, REDIS_PASSWORD
environment variables for the twenty-server deployment.
With all of these configurations, my build succeeds but I always get the following deployment log errors:
So, I was wondering if there's a fix for this or if I might have made a mistake in my configuration. Additionally, am I allowed to deploy the twenty-server as a standalone while deploying twenty-front and twenty-postgres elsewhere, or do they all need to be deployed in the same environment?2 replies
DEPLOY logs showing Error: getaddrinfo ENOTFOUND redis.railway.internal
Use case: I am trying to deploy the backend server from an open-source project. One of the server requirements is a Redis host. I deployed a Redis project in the same environment and followed the guide (adding the
REDISHOST, REDISUSER, REDISPORT, REDISPASSWORD, REDIS_URL
environment variables). The build works but my deploy logs keep showing the error getaddrinfo ENOTFOUND redis.railway.internal
. I tried adding a sleep 3
to my start command and that did not work. I also tried adding ?family=0
to my redis_url environment variable but that did not work. What is causing this deploy log issue and how can I fix it?
For reference if needed: the open source project is https://github.com/twentyhq/twenty and the backend server is in the directorypackages/twenty-server.
This is the website where they mention the required environment variables for self hosting https://twenty.com/developers/section/self-hosting/self-hosting-var14 replies