strongbox / strongbox

Strongbox is an artifact repository manager.
https://strongbox.github.io/
Apache License 2.0
606 stars 614 forks source link

Proxy repository for nuget does not actually use configured proxy #1663

Open gretel opened 4 years ago

gretel commented 4 years ago

Bug Description

log showing a timeout when trying to access the configured remote uri of the repository. seems like the proxy configuration is ignored.

Steps To Reproduce

  1. create new 'proxy repository nuget'
  2. configure 'remote url' to point to something live (i.e. https://chocolatey.org/api/v2/)
  3. check Allow directory browsing
  4. set 'Proxy settings' to a working http proxy, no authentication set

also tried setting

http_proxy
https_proxy

in the environment without any noticeable effect.

Expected Behavior

the remote repo should be accessible using strongbox as a proxy proxied by a http proxy 😃 if something goes wrong, it should be visible in the log.

Environment

carlspring commented 4 years ago

Thanks for reporting!

Why do you think this is related to #860?

Is this only not working when configured through the UI? Have you tried configuring it through the REST API?

gretel commented 4 years ago

Is this only not working when configured through the UI? Have you tried configuring it through the REST API?

just using the UI.

Why do you think this is related to #860?

afaik the proxying is related to the layout type.. just for the reference.

carlspring commented 4 years ago

We don't have Nuget protocol v3 support yet, we only have v2, which is why I was a bit startled to see the link between the issues. #860 is for the implementation of support for Nuget 3.

gretel commented 4 years ago

no worries i was just wrong.