You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hop.apache.org by "dave-csc (via GitHub)" <gi...@apache.org> on 2025/01/09 09:15:18 UTC

[I] [Bug]: HTTP action - can't download files via HTTPS and Proxy (hop)

dave-csc opened a new issue, #4768:
URL: https://github.com/apache/hop/issues/4768

   ### Apache Hop version?
   
   2.11.0
   
   ### Java version?
   
   17.0.2
   
   ### Operating system
   
   Linux
   
   ### What happened?
   
   The HTTP action can download files via HTTPS only if a proxy is not specified (and not required): if a proxy server is specified, the values are ignored.
   
   Proposed fix: set also the Java system variables `https.proxyHost` and `https.proxyPort` (in the current Hop version only the HTTP counterparts are set and reset), using the values provided in the dialog under Authentication.
   
   ### Issue Priority
   
   Priority: 2
   
   ### Issue Component
   
   Component: Actions


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug]: HTTP action - can't download files via HTTPS and Proxy (hop)

Posted by "dave-csc (via GitHub)" <gi...@apache.org>.
dave-csc commented on issue #4768:
URL: https://github.com/apache/hop/issues/4768#issuecomment-2582529478

   Found a (very partial and clumsy) workaround, if you need to execute a workflow via Hop Run: you can inject those Java variables by modifying the HOP_OPTIONS parameters, in a single-line command this would be something like:
   
   `PREV_HOP_OPTIONS="${HOP_OPTIONS}" && HOP_OPTIONS="${HOP_OPTIONS} -Dhttps.proxyHost=my-proxy-host.com -Dhttps.proxyPort=3128" && hop-run.sh -e my_environment -f main.hwf && HOP_OPTIONS="${PREV_HOP_OPTIONS}"`
   
   For a better bug fix, you can probably consider to use the Java `Proxy` class instead of the system variables ([more info here, section 3](https://docs.oracle.com/javase/8/docs/technotes/guides/net/proxies.html)).
   
   Hope this helps for the resolution :)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug]: HTTP action - can't download files via HTTPS and Proxy (hop)

Posted by "hansva (via GitHub)" <gi...@apache.org>.
hansva commented on issue #4768:
URL: https://github.com/apache/hop/issues/4768#issuecomment-2626923885

   I have gone for the dirty fix for now...
   All Http transforms/actions should get some consolidation 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug]: HTTP action - can't download files via HTTPS and Proxy (hop)

Posted by "hansva (via GitHub)" <gi...@apache.org>.
hansva closed issue #4768: [Bug]: HTTP action - can't download files via HTTPS and Proxy
URL: https://github.com/apache/hop/issues/4768


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug]: HTTP action - can't download files via HTTPS and Proxy (hop)

Posted by "hansva (via GitHub)" <gi...@apache.org>.
hansva commented on issue #4768:
URL: https://github.com/apache/hop/issues/4768#issuecomment-2626910131

   .take-issue


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org