You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 29, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Oct 29, 2025. It is now read-only.
Authentication Issue - Logging into Cal.com selfhosted #328
Yes, I still cannot resolve the client fetch errors on unRaid using the latest container. If I use http://serverip:PORT/api/auth as the NEXTAUTH_URL variable, then I am unable to login as it gets stuck at 2FA and will not proceed. If I keep it as https://my.domain.com/api/auth, no issues logging in. However, the client fetch errors will appear in the logs. This used to be causing ECONNREFUSED errors before being fixed here: calcom/cal.diy#11911
Please let me know if there are steps to take now or if we need to wait for the docker containers to address the solution in a future release.
@voska thank you, but I don't use portainer or docker compose on unraid. I use community apps and will wait until this fix is pushed to a future release. Glad it is working for you and hope I can finally be rid of the client fetch errors soon!
@voska I didn't tag you in the last comment, but let me know if you need any additional information or if you think there is someone else I should contact to get calcom added back to community apps. Thank you!
It is missing some of the newer env variables, but again the goal would be to have it included in CA so anyone can load the container on their servers. No worries if this can't be done right now, and I'll keep try to bug ibracorp to update their template if possible.
Activity
voska commentedon Feb 29, 2024
Sounds like you need to set the
NEXTAUTH_URLhttps://github.com/calcom/docker?tab=readme-ov-file#client_fetch_errorvoska commentedon Mar 2, 2024
@keithwillcode I think there is a cleaner solution here.
In the docker-compose.yaml file
this eliminates the need for
NEXTAUTH_URLfor self-hosted docker-compose users and doesn't have the login/logout bugskeithwillcode commentedon Mar 2, 2024
Ok great. Thanks for the suggestion
xcellentavi commentedon Mar 4, 2024
Yes, I still cannot resolve the client fetch errors on unRaid using the latest container. If I use http://serverip:PORT/api/auth as the NEXTAUTH_URL variable, then I am unable to login as it gets stuck at 2FA and will not proceed. If I keep it as https://my.domain.com/api/auth, no issues logging in. However, the client fetch errors will appear in the logs. This used to be causing ECONNREFUSED errors before being fixed here: calcom/cal.diy#11911
Please let me know if there are steps to take now or if we need to wait for the docker containers to address the solution in a future release.
voska commentedon Mar 4, 2024
@xcellentavi try modifying the
docker-compose.yamlfile, lines 38, 39:change to:
^ Note, this is "my.domain.com" without https://.
Then set the
NEXTAUTH_URLvar tohttps://my.domain.com/api/authThis worked for my Synology setup.
xcellentavi commentedon Mar 4, 2024
@voska thank you, but I don't use portainer or docker compose on unraid. I use community apps and will wait until this fix is pushed to a future release. Glad it is working for you and hope I can finally be rid of the client fetch errors soon!
voska commentedon Mar 4, 2024
@xcellentavi can you point me to the Unraid app page/repo for this? I took a quick look here, but couldn't find it.
Does Unraid let you specify custom environment vars for an app?
xcellentavi commentedon Mar 4, 2024
Yeah, it was removed due to missing project and support tags, but I had installed it before it was taken down: https://github.com/ibracorp/unraid-templates/tree/master/cal.com
I have been tweaking and updating the variables along the way, but a few of us discuss the issues in the unraid forum here: https://forums.unraid.net/topic/133848-request-calcom-formerly-calendso/
The docker container template section lets you customize the paths, ports and variables.
xcellentavi commentedon Apr 6, 2024
@voska I didn't tag you in the last comment, but let me know if you need any additional information or if you think there is someone else I should contact to get calcom added back to community apps. Thank you!
voska commentedon Apr 9, 2024
@xcellentavi I'm not sure I can get it added back to the community app store (especially since I can't test it - I don't have an Unraid) but can you use/manually import a custom XML file like this one?
https://github.com/ibracorp/unraid-templates/tree/master/cal.com
If so, I think we can get this working, but I'll need your help to test things out.
xcellentavi commentedon Apr 9, 2024
@voska I am running mine on unraid no problem, but new users can't because it requires manual setup since it isn't appearing in community apps. One user was able to post instructions on manually adding the XML here: https://forums.unraid.net/topic/133848-request-calcom-formerly-calendso/#comment-1366375
It is missing some of the newer env variables, but again the goal would be to have it included in CA so anyone can load the container on their servers. No worries if this can't be done right now, and I'll keep try to bug ibracorp to update their template if possible.