0

我正在尝试访问在启用了 Windows 身份验证的 IIS 下托管的 git 存储库。

当我指定域\用户名之类的用户名时,连接失败。从堆栈跟踪来看,错误似乎是由于给出网络用户名的方式造成的。我们还能如何给其中有域的 Windows 身份验证用户。

当我执行 git clone ( https:/domain\user@mydomain.com/xyz/ ) 时,这可以从控制台正常工作

错误详情

Git Repo:: Git Repo 中的测试连接失败。列出远程引用失败:java.net.ConnectException:无法确定代理......

堆栈跟踪

Caused by: org.eclipse.jgit.errors.TransportException: https:/domain\user@mydomain.com/xyz/info/refs?service=git-upload-pack
at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:466)
at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:276)
at jetbrains.buildServer.buildTriggers.vcs.git.GitVcsSupport.getRemoteRefs(GitVcsSupport.java:523)
at jetbrains.buildServer.buildTriggers.vcs.git.GitVcsSupport.getRemoteRefs(GitVcsSupport.java:503)
... 44 more

Caused by: java.net.ConnectException: Cannot determine proxy for https:/domain\user@mydomain.com/xyz/info/refs?service=git-upload-pack
at org.eclipse.jgit.util.HttpSupport.proxyFor(HttpSupport.java:196)
at org.eclipse.jgit.transport.TransportHttp.httpOpen(TransportHttp.java:475)
at org.eclipse.jgit.transport.TransportHttp.httpOpen(TransportHttp.java:471)
at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:422)
... 47 more

**Caused by: java.net.URISyntaxException: Illegal character in authority at index 8: https:/domain\user@mydomain.com/xyz/info/refs?service=git-upload-pack**
at java.net.URI$Parser.fail(Unknown Source)
at java.net.URI$Parser.parseAuthority(Unknown Source)
at java.net.URI$Parser.parseHierarchical(Unknown Source)
at java.net.URI$Parser.parse(Unknown Source)
at java.net.URI.<init>(Unknown Source)
at java.net.URL.toURI(Unknown Source)
at org.eclipse.jgit.util.HttpSupport.proxyFor(HttpSupport.java:193)
4

1 回答 1

0

您的网址中似乎有错字。

你有

https:/domain\user@mydomain.com/xyz/

代替

https://domain\user@mydomain.com/xyz/
于 2012-10-10T19:36:18.400 回答