Trouble with invalid PUBLIC_BACKEND_URL in helm deployment

Please fill in the questionnaire below.

Technical Help Questionnaire

Have you read and followed the instructions at: *READ ME FIRST* Technical Help FAQs - #2 by nigel ?

Answer: Yes

Self-Hosted Installation and Setup Questions

Delete this section if you are using Baserow.io.

How have you self-hosted Baserow.

I am using the helm charts for baserow deployment.

What are the specs of the service or server you are using to host Baserow.

I am using an AWS EKS cluster running the r5a.xlarge instance type and the ami-0fc370be4e6093918 image.

Which version of Baserow are you using.

Latest version

How have you configured your self-hosted installation?

The only configs are the ones that were mentioned here on the helm installation guide.

What commands if any did you use to start your Baserow server?

Helm install command

Describe the problem

I have deployed the baserow app in my EKS cluster via helm charts. I am currently experiencing an issue where, when trying to reach the frontend web page, I am met with a page that says:

The PUBLIC_BACKEND_URL environment variable has been set to an invalid value. Your site admin must change PUBLIC_BACKEND_URL to a valid URL starting with http:// or https:// and then restart Baserow to fix this error.

Describe, step by step, how to reproduce the error or problem you are encountering.

Deploy baserow using the helm installation guide, configuring both frontend and backend ingresses as well as domains along with any AWS S3 configs as mentioned in the guide.

Provide screenshots or include share links showing:

How many rows in total do you have in your Baserow tables?

N/A

Please attach full logs from all of Baserow’s services

Where would I obtain these logs from?

Hi @zshyikh, would you be able to share all the environment variables that you’ve set? Feel free to hide the privacy-sensitive ones. I would specifically be interested in the value of the PUBLIC_BACKEND_URL?

Hi @bram,

Sure, I can share them. Most of the changes I introduced are to the frontend and backend ingresses. They have the following annotations:

  alb.ingres s.kubernetes.io/backend-protocol: "HTTP"
  alb.ingress.kubernetes.io/healthcheck-interval-seconds: "5"
  alb.ingress.kubernetes.io/healthcheck-timeout-seconds: "4"
  alb.ingress.kubernetes.io/success-codes: '400'
  alb.ingress.kubernetes.io/load-balancer-attributes: "routing.http2.enabled=true"
  alb.ingress.kubernetes.io/security-groups: "sg-03452c58d507822b8"
  alb.ingress.kubernetes.io/ssl-redirect: "443"
  alb.ingress.kubernetes.io/target-type: "ip"
  alb.ingress.kubernetes.io/subnets: "subnet-0cca458eb809c2747,subnet-08f312e743108d54f"
  alb.ingress.kubernetes.io/certificate-arn:

The public backend URL and public frontend URL are as follows:

publicBackendUrl: https://baserowapi.navy.eks.kube
publicFrontendUrl: https://baserowserver.navy.eks.kube`Preformatted text`

Hi,

Could I please get an update for this? Please let me know if any additional information is needed.

Hey @zshyikh, apologies for my delayed response. I don’t have much experience with this Helm chart because it’s maintained by the community, and not an official one from Baserow. When checking the config variables, I noticed this one frontend.config.disablePublicUrlCheck. Maybe you can disable this check, although I’m not 100% sure this config var disabled the error you’re encountering.

I changed that config option to a “non-empty” value like it is mentioned in the notes for the helm chart however I do not see anything different. It it still showing that invalid public backend URL message.

Hey @zshyikh, I’m not really sure what could cause the Helm chart to run into this problem, to be honest. Would it be possible for you to reach out to the author of the Helm chart and ask them for help?

Or maybe use one of the officially supported ways of self-hosting, like the all-in-one image (https://baserow.io/docs/installation%2Finstall-with-docker)? We will definitely be able to help you there. We’re also planning on building an official Baserow Helm chart soon.