cloudinary_java icon indicating copy to clipboard operation
cloudinary_java copied to clipboard

cloudinary-http5 ignores system properties

Open LStampf opened this issue 1 year ago • 2 comments

Describe the bug in a sentence or two.

Previous versions of the library like cloudinary-http45 took system properties into account. cloudinary-http5 doesn't do this anymore, which makes it harder to run the library with different configs.

Issue Type (Can be multiple)

[ ] Build - Can’t install or import the SDK [ ] Performance - Performance issues [ x] Behaviour - Functions aren’t working as expected (Such as generate URL) [ ] Documentation - Inconsistency between the docs and behaviour [ ] Other (Specify)

Steps to reproduce

Start a VM with http.proxyHost and http.proxyPort parameters. On 1.39.0 this will work, on 2.0.0 the proxy will be ignored.

Versions and Libraries (fill in the version numbers)

Cloudinary Java SDK version - 2.0.0

Repository

Problem is the init method: LINK The old init method invoked useSystemProperties on the builder. This is missing in 2.0.0

LStampf avatar Oct 18 '24 18:10 LStampf

Thank you for your input. We will review this issue and let you know our feedback.

wissam-khalili avatar Oct 20 '24 05:10 wissam-khalili

+1 for this issue, this breaks our integration with Cloudinary as we can no longer use a Http Proxy.

campbellbartlett avatar Jan 15 '25 01:01 campbellbartlett