Hi people,
i just setup my new container behind a nginx reverse proxy with v8.0.0 .
The setup process went smooth and everything is fine.
But when i try to login to suitecrm it logs me out immediately.
In the console i get an error when i click login (with the right credentials)
Thank you Clemente,
this is interesting, because i am running suitecrm on an apache server. It is just behind a reverse proxy which runs with nginx.
But the directives are actually handled by the apache server.
At least that is what i think
Did someone else run into “problems” like this already?
I’m having the same issue, but in my case, I’m trying to deploy SuiteCRM in Kubernetes using a GKE cluster.
I’m using a LoadBalancer service type, in my case GKE’s Network LoadBalancer, and SuiteCRM 8 fails with the same issue described in the initial comment here:
GET http://mydomain.com/api/index.php?action=Login&module=Users [404 Not Found 295ms]
When attempting to log in through the load balancer, the UI will display the error: ‘Error occurred while fetching metadata’.
Another significant detail is that I have been able to log in using /legacy, and login also works normally if I access directly using kubectl port-forward instead of the load balancer.
Please see below screenshots from the failing session (through the gke load balancer), compared with the successful session (direct connection):
I think this happens because of a load-balancer/reverse-proxy.
I am not sure though. I gave it up to get up and running quickly and created a simple vps with apache like “in the old times”. No containers for now