Hi community,
We're experiencing an issue with OpenLiteSpeed 1.7.19 on a CentOS-based environment where large images fail to load properly. The server sends only a few kilobytes before closing the connection. However, when accessing the application directly via IP (bypassing the proxy), large images load correctly.
Setup:
Our LSWS configuration proxies requests to a Docker container:
Troubleshooting Steps:
Thanks in advance for any advice!
We're experiencing an issue with OpenLiteSpeed 1.7.19 on a CentOS-based environment where large images fail to load properly. The server sends only a few kilobytes before closing the connection. However, when accessing the application directly via IP (bypassing the proxy), large images load correctly.
Setup:
Our LSWS configuration proxies requests to a Docker container:
Code:
context / {
type proxy
handler Backend
addDefaultCharset off
}
extprocessor Backend {
type proxy
address my_docker_ip:port
}
- Configuration Check: We initially suspected a misconfiguration but found that replicating the same setup (with the same configuration) on a local machine (without CentOS) resulted in proper image loading.
- Bandwidth Simulation: We applied request throttling to simulate low bandwidth, but images were still returned correctly.
- Firewall & Logs: No anomalies found in firewall settings or logs.
- Network Settings: We adjusted values like net.core.rmem_max, net.core.wmem_max, net.ipv4.tcp_window_scaling, and net.ipv4.tcp_mtu_probing, but the issue persists.
- Hosting Provider: We’ve observed significant packet loss on this VPS, raising concerns about a potential network issue outside our control.
Thanks in advance for any advice!