docker icon indicating copy to clipboard operation
docker copied to clipboard

orgDomains.ts Match of WEBAPP_URL with ALLOWED_HOSTNAME failed

Open ivancarlosti opened this issue 7 months ago • 0 comments

I am getting this error on all versions I tested since v5.0+ :/ Please, does anyone get an solution?

Error:

agenda  | @calcom/web:start: 18:28:21:155 [WARN] orgDomains.ts Match of WEBAPP_URL with ALLOWED_HOSTNAME failed {
agenda  | @calcom/web:start:   WEBAPP_URL: 'https://subdomain.example.com',
agenda  | @calcom/web:start:   ALLOWED_HOSTNAMES: [
agenda  | @calcom/web:start:     'subdomain.example.com'
agenda  | @calcom/web:start:   ]
agenda  | @calcom/web:start: }

.env file:

NEXT_PUBLIC_LICENSE_CONSENT='agree'
NEXT_PUBLIC_WEBAPP_URL='https://subdomain.example.com'
ALLOWED_HOSTNAMES='"subdomain.example.com"'
NEXTAUTH_URL='https://subdomain.example.com'
NEXT_PUBLIC_CONSOLE_URL='https://subdomain.example.com'
NEXT_PUBLIC_APP_URL='https://subdomain.example.com'
NEXT_PUBLIC_WEBSITE_URL='https://subdomain.example.com'
NEXT_PUBLIC_API_V2_URL='http://localhost:5555/api/v2'
NEXT_PUBLIC_EMBED_LIB_URL='https://subdomain.example.com/embed/embed.js'
NEXTAUTH_SECRET='password'
CALENDSO_ENCRYPTION_KEY='password'
POSTGRES_USER='agenda'
POSTGRES_PASSWORD='password'
POSTGRES_DB=agenda
DATABASE_HOST='host.docker.internal:5432'
DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DATABASE_HOST}/${POSTGRES_DB}
DATABASE_DIRECT_URL=${DATABASE_URL}
CALCOM_TELEMETRY_DISABLED=1
NODE_ENV='production'
VIRTUAL_HOST='subdomain.example.com'
LETSENCRYPT_HOST='subdomain.example.com'
NODE_TLS_REJECT_UNAUTHORIZED=0

ivancarlosti avatar May 09 '25 18:05 ivancarlosti