using CWMP with reverse proxy is a pain. With Apache I have to use disableReuse=on but then many requests end with “Connection dropped” rendering provisioning of some devices impossible. Without “disableReuse=on” almost everything works except some requests, eg. setting WiFi SSID on Huawei ONT I get “Bad session”:
2021-03-04T08:38:44.363Z [INFO] 10.113.153.249 00259E-HG8546M-4857544359AE748A: ACS request; acsRequestId="177fc63a2fc0101" acsRequestName="GetParameterValues" 2021-03-04T08:38:44.473Z [ERROR] 10.112.197.181 00259E-HG8546M-4857544359AE748A: Bad session state
This must be related to session cache as the CWMP backend maps the response to invalid IP address.
CWMP without reverse proxying works like a charm. I also tried Nginx with the same results (eg. Connection dropped without setting keepalive on upstream or Bad session with keepalive enabled).
Has anyone got a working CWMP reverse proxy?