abed3k
abed3k
Explore posts from servers
TTwenty
Created by abed3k on 10/3/2024 in #❓︱help
Getting `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?
25 replies
TTwenty
Created by abed3k on 10/2/2024 in #❓︱help
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:
Error: getaddrinfo ENOTFOUND redis.railway.internal
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26) {
errno: -3007,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'redis.railway.internal'
}
Error: getaddrinfo ENOTFOUND redis.railway.internal
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26) {
errno: -3007,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'redis.railway.internal'
}
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