How to debug HTTP Proxy problems with artifactory?

情到浓时终转凉″ 提交于 2019-12-11 12:35:21

问题


I have an artifactory within a corporate network. I configured a http proxy for each remote repository. It doesn't work. How could I possibly find out why it doesn't work? Are there any log settings which I could tweak?

Using the same proxy within Firefox works just fine.


回答1:


Artifactory 2 uses logback for logging, you can find its configuration in $ARTIFACTORY_HOME/etc/logback.xml

If you can access the repository through the browser, it's likely the problem is in your Maven configuration. If you've a proxy configuration defined, you'll need to ensure the proxy is set to exclude your internal http proxy server.

If you run Maven with the -X switch, it will give you more details on the connection attempts Maven is making.



来源:https://stackoverflow.com/questions/1289402/how-to-debug-http-proxy-problems-with-artifactory

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!