Closed KarlikB closed 5 years ago
Hi there, any updates on this issue please?
This is a strange behaviour. I need to analize it. Do any other application/x-www-form-urlencoded requests work correctly? What about application/json requests, can you try them too?
Hi, sorry I cannot help with debugging. I have switched my solution to Apache 2.4 mod_proxy and I have no longer the code that causes problem.
This is fixed in 4.0.0
I have strange problem - it looks like Charon proxy does not pass login form data.
My charon version is:
My charon code is simple default Spring Boot starter without any interceptor:
There is configuration - intention is to proxy http://localhost:8080/APG/ to http://172.24.36.70:58080/APG/ application.yml:
Problem is with standard tomcat j_security_check form login, when login form data is sent via POST method. I catched HTTP communication to target using wireshark. When I access target server directly without charon proxy, the necessary form item j_username and j_password are sent and wireshart see it. When I access server through proxy, form ites are missing and event ContentLength header is set to zero.
There is wireshark log, first POST is direct to target, second via charon proxy, (I am sending wrong password intentionally to prevent huge wireshark log by page load after login):
As seen in log, POST via charon proxy missing completely form data.
I have checked (using Web Sniffer chrome extension) that the form data goes out from browser in both cases.
There is charon trace log:
What I am doing wrong?