镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
This repository was archived by the owner on Oct 29, 2025. It is now read-only.
This repository was archived by the owner on Oct 29, 2025. It is now read-only.

Issue with Redirect after Login - Cal.com Docker Setup #373

Open

Description

@shwetd19

Discussed in #372

Originally posted by shwetd19 July 31, 2024
Description:
I'm experiencing an issue with my Cal.com instance hosted on a GCP VM. After logging in, the application redirects to http://api/auth/error and displays the following message: "Something went wrong. Please try again and contact us if the issue persists."

Here are the steps I've followed for the installation and setup:

Installation Steps:

  1. Installation of Docker and Docker Compose via a Simple Script

    • Download the installation script:
      wget -O install-docker.sh https://gitlab.com/bmcgonag/docker_installs/-/raw/main/install_docker_nproxyman.sh
    • Change the permissions to make the script executable:
      chmod +x ./install-docker.sh
    • Run the script:
      ./install-docker.sh
    • Follow the prompts to install Docker-CE and Docker Compose. Optionally, install NGinX Proxy Manager.
  2. Installing Cal.com

    • Clone the Cal.com Docker repository:
      git clone https://github.com/calcom/docker.git
    • Rename the folder for clarity:
      mv docker cal-com-docker
    • Navigate to the project directory:
      cd cal-com-docker
    • Copy the example environment file and edit it:
      cp .env.example .env
      nano .env
    • Set the environment variables as needed. Here are some key variables I configured:
      NEXT_PUBLIC_LICENSE_CONSENT=true
      NEXT_PUBLIC_WEBAPP_URL=https://cal.swades.ai
      
    • Edit the docker-compose.yaml file to change the port mapping:
      services:
        calcom:
          ports:
            - "8594:3000"
      
    • Update the Cal.com Submodule:
      git submodule update --remote --init
    • Build and Start Cal.com via Docker Compose:
      docker compose up --build
  3. Setup our Reverse Proxy

Despite following these steps, I'm encountering the redirect issue after login.

Additional Information:

  • Here is a Loom recording showing the issue and the steps I've taken.

Help Needed:
I would appreciate any insights or suggestions on what might be causing this issue and how to resolve it. Thank you in advance!

Activity

  1. flexhd41 commented on Aug 30, 2024

    @flexhd41

    Having the same issue here running it behind nginx I tired setting NEXTAUTH_URL wich didnt work sadly

  2. flexhd41 commented on Aug 30, 2024

    @flexhd41

    now im confused it works on my phone but not on my pc

  3. mokkin commented on Sep 25, 2024

    @mokkin
    Contributor

    I have the same issue with v4.5.5 behind Nginx Proxy Manager. I can't even login the first time it immediately redirects to /auth/setup and "something went wrong".

  4. canameti commented on Oct 3, 2024

    @canameti

    same issue here, any solutions already? can confirm, logging in on my phone is no problem and working fine

  5. canameti commented on Oct 3, 2024

    @canameti

    seems working on pc now as well after logging in on the phone

  6. satonotdead commented on Oct 13, 2024

    @satonotdead

    Stills no way to use Calcom behind a reverse proxy? =/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions