Proxy Troubleshooting
Summary
There are times when iDempiere will present you with an error dialog stating that the server is down or not responsive. This happens when the iDempiere webui code (running in your browser) cannot speak with the iDempiere server. The purpose of this page is to help you understand and fix this issue. It is a work in progress, and I will update it as we learn more.
Background Information
We use a reverse proxy between the iDempiere server and the rest of the world as a way to protect iDempiere and control/direct traffic. The chuboe iDempiere installation script installs apache as a reverse proxy. Larger systems use haproxy as a load balancer and reverse proxy.
haproxy
Add configuration to specify the number of connections in haproxy.cfg. Example:
…
frontend public
maxconn 5000
bind 0.0.0.0:80
…
backend chuboe-webui
maxconn 5000
mode http
References
- Apache
- Linux Operating system
- /linux-primer/ (see Operating System Limits section)
- https://linuxcontainers.org/lxd/docs/master/reference/server_settings/#server-settings