如何使用工件调试HTTP代理问题? [英] How to debug HTTP Proxy problems with artifactory?

查看:102
本文介绍了如何使用工件调试HTTP代理问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在公司网络中有人工制品.我为每个远程存储库配置了一个http代理.它不起作用.我怎么可能找出为什么它不起作用?我可以调整任何日志设置吗?

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?

在Firefox中使用相同的代理服务器就可以了.

Using the same proxy within Firefox works just fine.

推荐答案

Artifactory 2使用 logback 进行记录,您可以在$ ARTIFACTORY_HOME/etc/logback.xml

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

如果您可以通过浏览器访问存储库,则可能是您的Maven配置存在问题.如果您定义了代理配置,则需要确保将代理设置为排除内部http代理服务器.

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.

如果使用-X开关运行Maven,它将为您提供有关Maven正在进行的连接尝试的更多详细信息.

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

这篇关于如何使用工件调试HTTP代理问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆