How to configure Joget for Ingress with Nginx in Kubernetes
A few weeks ago, I got Joget DX8 working on AWS EKS, but only by using port forwarding to use it.
Our standard is to use ingress rather than load balancer or nodeport.
The "Joget on Kubernetes" instructions do not help with getting Ingress to work. Accessing through port forwarding works fine but accessing through the ingress only works for initial database setup, then times out trying to get to the home page.
I tried enabling underscores in headers per https://gitlab.com/asksven-public/joget-on-kubernetes and Joget on Azure Kubernetes Service but that seems to be only when trying to use HTTPS (TLS). I believe I need to get basic HTTP access to work on 8080 before I deal with HTTPS and figure out things like SSL termination in NGinx using 8080 or in Joget using 9080.
My problem is similar to what had to happen to make ingress with nginx work in Azure's hosted K8s solution. Does anyone have any insights as to what might be missing? Nginx works for 1 other ingresses we are exposing, just not for Joget, so I doubt it is an nginx problem (but I am open to trying anything at this point).
Joget log (sanitized)
ERROR 15 Aug 2023 18:24:52 org.joget.apps.app.service.JsonApiUtil - org.apache.http.conn.HttpHostConnectException: Connect to dev-joget.XXX.net:443 [dev-joget.amz-link-labs.net/100.67.119.128, dev-joget.XXX.net/100.67.68.84] failed: Connection timed out (Connection timed out)
org.apache.http.conn.HttpHostConnectException: Connect to dev-joget.XXX.net:443 [dev-joget.XXX.net/100.67.119.128, dev-joget.amz-link-labs.net/100.67.68.84] failed: Connection timed out (Connection timed out)
nginx log (sanitized)
2023/08/15 18:48:50 [error] 589#589: *307792 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 100.67.31.149, server: dev-joget.XXX.net, request: "GET /jw/web/userview/appcenter/home/_/home HTTP/2.0", upstream: "http://100.67.1.182:9080/jw/web/userview/appcenter/home/_/home", host: "dev-joget.XXX.net", referrer: "https://dev-joget.XXX.net/jw/home/"