Prerequisites Management
NGINX
For optimal operation the FlowX.AI Designer should use a separate NGINX load balancer from the FlowX Engine. This routing mechanism handles API calls from the SPA (single page application) to the backend service, to the engine and to various plugins. Here’s an example/suggestion of an NGINX setup:For routing calls to plugins:
For routing calls to the engine
Three different configurations are needed:- For viewing the current instances of processes running in the Engine:
- For testing process definitions from the FLOWX Designer, route API calls and SSE communication to the Engine backend.
- For accessing the REST API of the backend microservice
For configuring the SPA
Steps to deploy Frontend app
The FlowX.AI Designer is an SPA application that is packaged in a docker image withnginx:1.19.10. The web application allows an authenticated user to administrate the FLOWX platform.
In order to configure the docker image you need to configure the next parameters:
Troubleshooting
Common issues
NGINX configuration errors
NGINX configuration errors
Symptoms: 502 Bad Gateway or 404 errors when accessing the Designer.Solutions:
- Verify the ingress annotations are correct, especially
rewrite-targetpaths - Check that backend service names and ports match your Kubernetes service definitions
- Ensure CORS origins include all domains the Designer is accessed from
- Validate the
hostvalues in ingress rules match your DNS configuration - Check NGINX controller logs for detailed routing errors:
kubectl logs -n ingress-nginx <controller-pod>
SSO/authentication failures
SSO/authentication failures
Symptoms: Redirect loops, blank screens after login, or 401 errors.Solutions:
- Verify
KEYCLOAK_ISSUERmatches the realm URL exactly (including/auth/realms/<realm>) - Ensure
KEYCLOAK_REDIRECT_URImatches the SPA URL configured in the Keycloak client - Check that the Keycloak client ID (
KEYCLOAK_CLIENT_ID) exists and is enabled - Confirm the Keycloak client has the correct redirect URIs and web origins configured
- Clear browser cookies and local storage, then try again
WebSocket connection issues
WebSocket connection issues
Symptoms: Real-time updates not working, SSE events not received, process testing hangs.Solutions:
- Verify the SSE ingress configuration routes
/api/eventsto the events-gateway service - Check that
nginx.ingress.kubernetes.io/cors-allow-headersincludes required headers - Ensure the events-gateway service is running and healthy
- Confirm network policies allow traffic from the Designer ingress to the events-gateway pod
- Check for proxy timeout settings that may terminate long-lived connections
Related resources
Ingress Configuration
Configure routing, CORS, and TLS for FlowX services
IAM Configuration
Identity and access management setup

