I have a Clojure application that acts as a proxy service. The goal is to proxy requests to http://127.0.0.1:3000 (Grafana service) through the path "/grafana", so that if I access http://127.0.0.1/grafana through the browser, it should proxy my request to port 3000 and display the UI for Grafana.
The issue I'm running into is that I get an ERR_INVALID_CHUNKED_ENCODING response in the browser. In Wireshark, requests to port 3000 show that the HTTP response reassembles 3 TCP packets. However, the response for requests going through my proxy are not being reassembled, resulting in the chunking error. Anyone have any ideas on how to resolve this?
Thanks.