Error: An error occured, please contact your system administrator - Mendix on AKS (kubernetes)

0
Hello, community.With the help of this community, I was able to set up Mendix on Azure Kubernetes Service (AKS) and deploy some applications—so far, so good. However, when I try to open the link it generates, I get the error “An error occurred, please contact your system administrator,” and if I copy the URL directly, I get a DNS error.I’ve already configured the azure application gateway, and it gives me a public IP. My AKS also has a Kubernetes load balancer (NGNX) that provides a public IP, which is set as the default. This might be where the problem lies.I hope you can help me resolve this error.I don't have a domain or DNS to set up, so if that's the problem, I hope you can help me set one up using Azure resources.Network configuration ===> Azure CNI OverlayOutbound type ===> Load Balancer
asked
1 answers
0

From the screenshots it mostly looks like a DNS / hostname issue, not really an AKS problem.


Your ingress shows hosts like app22.20.96.66.53, but the Application Gateway public IP is 20.85.13.127. That will only work if there is an actual DNS record pointing that hostname to that IP. Since you mentioned that copying the URL gives a DNS error, it probably means the hostname cannot be resolved by the browser.


So the first thing to check is:

does that hostname actually exist in DNS and point to 20.85.13.127?


Another thing I noticed is that you currently have two public IPs:

one from Application Gateway and one from the Kubernetes load balancer (NGINX). If you are using Application Gateway Ingress Controller, the public entry point should normally be the Application Gateway, and your DNS should point to that IP.


For a quick test, you could also temporarily add the hostname to your local hosts file and map it to 20.85.13.127. If it starts working after that, then you know the issue is definitely DNS.


So I would first check the DNS record and which public IP your hostname points to.


answered