[Bug]: HTTP client transform fails in case of proxy
Apache Hop version?
2.6.0
Java version?
java.version=11.0.9.1
Operating system
Linux
What happened?
Using HTTP client transform through an http proxy results in a "Server Hangup" response (502)
Disabling preemptive authentication by editing the code and transform works.
Issue Priority
Priority: 3
Issue Component
Component: Transforms
Is there any solution to this? I'm not sure what is meant by "Disabling preemptive authentication".
Could you try one of our latest builds. Could be solved by #4195
You can fetch a current build here these do require Java 17
I just tried the latest snapshot, but the problem persists.
Ok this post explains preemptive vs non-preemptive authentication.
https://stackoverflow.com/questions/7482523/why-preemptive-authentication
The solution will be to add a checkbox to enable/disable that feature flag.
To be clear, which lines did you disable to get it working? Because I see code labeled as Preemtive authentication: https://github.com/apache/hop/blob/5e0ecaa4b33a18db0542aa94dc66d52876d6beb3/plugins/transforms/http/src/main/java/org/apache/hop/pipeline/transforms/http/Http.java#L154-L158
But disabling that is the same as removing the proxy