Can't publish app (self hosted)

Hello,

I can’t publish my app made with the app builder.

The self-hosted baserow instance is accessible at xxx(dot)company(dot)com, so I created a domain though the app builder option pannel at xxx-app(dot)company(dot)com .

Then I created a CNAME record on the company.com dns with :

  • hostname : xxx-app
  • value “xxx(dot)company(dot)com”

When I try to access “xxx-app.company.com” I hanve an SSL error: ERR_SSL_PROTOCOL_ERROR.

Any though about what’s wrong here ?

Hey Alex,

How do you host your instance?

This is probably related to the SSL generation for custom domains. May be the instance doesn’t have the right access to generate the certificate. Depending on the installation you chose, you may need to follow extra steps to get that working.

Hello @jrmi

Thanks for your reply!

The instance is hosted on an OVH VM, with baserow as the one and only docker running. It’s connected to via environment variables to a managed postgres database hosted externally.

docker run \
  -d \
  --name baserow \
  -e BASEROW_PUBLIC_URL=https://xxx.company.com \
  -e BASEROW_CADDY_ADDRESSES=https://xxx.company.com\
  -e DATABASE_HOST=postgresqlazeazeaze.database.cloud.ovh.net \
  -e DATABASE_NAME=defaultdb \
  -e DATABASE_USER=user \
  -e DATABASE_PASSWORD=azeazeazeaze \
  -e DATABASE_PORT=20184 \
  -e EMAIL_SMTP='TRUE' \
  -e EMAIL_SMTP_HOST='smtp.gmail.com' \
  -e EMAIL_SMTP_PORT='587' \
  -e EMAIL_SMTP_USER='company@gmail.com' \
  -e EMAIL_SMTP_PASSWORD='azeazeazeaze' \
  -e EMAIL_SMTP_USE_TLS='TRUE' \
  -e FROM_EMAIL='company@gmail.com' \
  -e HOURS_UNTIL_TRASH_PERMANENTLY_DELETED=720 \
  -e BASEROW_TRIGGER_SYNC_TEMPLATES_AFTER_MIGRATION=false \
  -e BASEROW_ROW_PAGE_SIZE_LIMIT=5000\
  -e AWS_ACCESS_KEY_ID="azeazeazeazeazeaze"\
  -e AWS_SECRET_ACCESS_KEY="azeazeazeaze"\
  -e AWS_STORAGE_BUCKET_NAME="bucket-s3-baserow"\
  -e AWS_S3_ENDPOINT_URL="https://s3.gra.xx.com"\
  -e AWS_S3_REGION_NAME="gra"\
  -e AWS_S3_CUSTOM_DOMAIN="bucket-s3-baserow.xx.com"\
  -e BASEROW_AMOUNT_OF_GUNICORN_WORKERS=9\
  -v baserow_data:/baserow/data \
  -p 80:80 \
  -p 443:443 \
  --restart unless-stopped \
  baserow/baserow:1.24.2

Do I need to set up anything else for the app builder ssl ?

the env variable needs to be 443

-e BASEROW_CADDY_ADDRESSES=:443
1 Like