T
Twenty3w ago
abed3k

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?
17 Replies
abed3k
abed3k3w ago
Also when I try refreshing the page I get a blank screen because the GetClientConfig query is failing with the same NOAUTH error
Raph
Raph3w ago
what version?
abed3k
abed3k3w ago
i am running the twentycrm/twenty:latest docker image. Also I am using the railway.app twentycrm template deployment if that helps in any way
Raph
Raph3w ago
Fresh install?
abed3k
abed3k3w ago
Yeah I even tried deleting my environment and deploying everything all over again Hi, I was wondering if anyone knows of the issue and can help as I am still having trouble with this
charles
charles3w ago
Hi @abed3k, happy to help here, could you share the queries in your network tab (your screenshot does not show any, I think you opened it too late). It's likely that you have either a server configuration issue or a networking issue
abed3k
abed3k2w ago
hey @charles . So the ones that failed for me were just the ones in the video since I couldn't get past the workspace form on the front page. So that would be query CombinedFindManyRecords and query ObjectMetadataItems and mutation Track and mutation ActivateWorkspace. All of them gave the same NOAUTH Authentication required error. I was able to sign up, but that was about it.
charles
charles2w ago
sorry, I missed that your attachment was a video... I have never seen this error about NOAUTH, could you share your server logs, you should see more errors from there
abed3k
abed3k2w ago
These are my server logs when I try to sign up
No description
charles
charles2w ago
This does not look like the NOAUTH error, are you sure you don't have nay other?
abed3k
abed3k2w ago
These are the only error logs I get 😅😅 I just used the twenty crm template on railway.app
ɃØĦɆᵾS
ɃØĦɆᵾS2w ago
This error is when unauthorized user tries to access the workspace Could you modify your .env and add debug logs? If they're somewhere in the code, they'll help locate the problem
hoang2601
hoang26016d ago
I have same problem. In the clip, I see graphql call api at port 3000, FE also at localhost:3000. Is it right ?
ɃØĦɆᵾS
ɃØĦɆᵾS6d ago
Yes
charles
charles5d ago
also using railway?
hoang2601
hoang26015d ago
I don't understand. What does it mean ?
charles
charles5d ago
@abed3k was facing the issue while trying to host on railway (cloud provider) if you don't we will need more information about your issue
Want results from more Discord servers?
Add your server