I’ve installed Datagerry on my Kubernetes cluster with Envoy as the proxy.
MongoDB is running on port 27017
Our web server should be accessible via HTTPS (443)
The installation completes successfully, and everything looks fine at first.
However, when I go to the login page and sign in with admin/admin, I get an error saying it cannot connect to hostname:4000.
It then redirects me to the /connect page.
On the /connect page, if I test with hostname and port 443 using https, it shows:
At the moment, HTTPS connections are failing, which causes the system to default to port 4000. Our package team is actively working on a fix and will resolve this issue soon. In the meantime, please use HTTP instead of HTTPS.
Hey @abdullah-khalid
Thanks for the message. Could you please keep us up to date once the fix is available? We only want to, and are able to, use it in our environment with HTTPS, over Port 443.
I am also experiencing this issue.
My use case is the same as Daniel’s (Datagerry is deployed in a Kubernetes cluster).
However, I have performed additional tests, locally on my computer, using the Docker file ( DataGerry-docker/docker-compose.yml at main · DataGerry/DataGerry-docker · GitHub ).
I don’t believe the problem we’re having is caused by the HTTPS connections.
I think the port 4000, used by the front to call the API, is indeed hard-coded.
I modified the docker-compose file to use port 3999.
A call to http://localhost:3999 allows me to access the login form.
But when I validate it, I see api calls going to port 4000.
e.g.: http://localhost:4000/rest/users/1/settings/
Thanks for the detailed report. We’re currently investigating the issue with Datagerry redirecting to port 4000 when used behind Envoy on Kubernetes. I’ll follow up as soon as we have more information or a potential fix.