Solved

Gooddata.CN error - No organization found for hostname

  • 4 September 2022
  • 4 replies
  • 119 views

I’m running Gooddata.CN in a docker container.
It spins up without any obvious errors.
Docker is hosted on a separate server with a distinct hostname (something like gooddata.mydomain.com).
When I point my browser to http://gooddata.mydomain.com:3000 I get a page with status 404 and an error:

No organization found for hostname gooddata.mydomain.com 

I also set the enviroment variable GDCN_PUBLIC_URL=http://gooddata.mydomain.com:3000 when spinning up the docker container.

Right now I’m not able to spot the exact origin of the error.

Any hints and advice would be helpful.

Thanks in advance,

Mario

icon

Best answer by Joseph Heun 5 September 2022, 14:24

View original

4 replies

Userlevel 3

You may need to create your organization as mentioned here: 

 

https://www.gooddata.com/developers/cloud-native/doc/2.0/manage-deployment/set-up-organizations/setup-organizations/

 

Could you please try this and let us know if it helps?

The creation of an organization as mentioned in https://www.gooddata.com/developers/cloud-native/doc/2.0/manage-deployment/set-up-organizations/setup-organizations/  is related to a Kubernetes setup. 
Since I’m using a docker container, I’m not seeing how to achieve this for my case.

Regards,

Mario

Userlevel 3

If you are on the Community Edition, you will need to change the hostname by following the steps here: 

 

https://www.gooddata.com/docs/cloud-native/3.3/deploy-and-install/community-edition/advanced-config/

 

You will need to setup a reverse proxy so the hostname points to the organization that is created by default in the docker image

setting up the reverse proxy did the trick.

Thanks.

Reply