[JIRA] [tfs-plugin] (JENKINS-34679) com.microsoft.tfs.core.exceptions.HTTPProxyUnauthorizedException: Access denied connecting to HTTP proxy XXX:3128 (no credentials were supplied)

16 views
Skip to first unread message

florent.laville@outlook.fr (JIRA)

unread,
May 9, 2016, 6:05:01 AM5/9/16
to jenkinsc...@googlegroups.com
florent laville updated an issue
 
Jenkins / Bug JENKINS-34679
com.microsoft.tfs.core.exceptions.HTTPProxyUnauthorizedException: Access denied connecting to HTTP proxy XXX:3128 (no credentials were supplied)
Change By: florent laville
Hi,

Jenkins version : 2.1
TFS plugin version : 4.1

I'm using TFS plugin in order to manage Git reposiroty hosted into VSTS.

I've configured Jenkins proxy into advanced panel from plugin management but it seems than proxy credentials are not tooked in consideration.

Full error message:
~ ?? FATAL: com.microsoft.tfs.core.exceptions.HTTPProxyUnauthorizedException: Access denied connecting to HTTP proxy XXX:3128 (no credentials were supplied)
java.lang.RuntimeException: com.microsoft.tfs.core.exceptions.HTTPProxyUnauthorizedException: Access denied connecting to HTTP proxy XXX:3128 (no credentials were supplied)
at hudson.plugins.tfs.model.Server.execute(Server.java:157)
at hudson.plugins.tfs.model.Project.extractChangesetNumber(Project.java:272)
at hudson.plugins.tfs.model.Project.getRemoteChangesetVersion(Project.java:268)
at hudson.plugins.tfs.model.Project.getRemoteChangesetVersion(Project.java:284)
at hudson.plugins.tfs.TeamFoundationServerScm.recordWorkspaceChangesetVersion(TeamFoundationServerScm.java:311)
at hudson.plugins.tfs.TeamFoundationServerScm.checkout(TeamFoundationServerScm.java:260)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1269)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:607)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
at hudson.model.Run.execute(Run.java:1738)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:410)
Caused by: com.microsoft.tfs.core.exceptions.HTTPProxyUnauthorizedException: Access denied connecting to HTTP proxy XXX:3128 (no credentials were supplied)
at com.microsoft.tfs.core.exceptions.mappers.TECoreExceptionMapper.map(TECoreExceptionMapper.java:81)
at com.microsoft.tfs.core.exceptions.mappers.RegistrationExceptionMapper.map(RegistrationExceptionMapper.java:23)
at com.microsoft.tfs.core.clients.registration.RegistrationData.newFromServer(RegistrationData.java:70)
at com.microsoft.tfs.core.clients.registration.RegistrationClient.getRegistrationData(RegistrationClient.java:645)
at com.microsoft.tfs.core.clients.registration.RegistrationClient.getRegistrationEntries(RegistrationClient.java:151)
at com.microsoft.tfs.core.clients.registration.RegistrationClient.getRegistrationEntries(RegistrationClient.java:135)
at com.microsoft.tfs.core.PreFrameworkServerDataProvider.findServiceLocation(PreFrameworkServerDataProvider.java:289)
at com.microsoft.tfs.core.PreFrameworkServerDataProvider.locationForCurrentConnection(PreFrameworkServerDataProvider.java:264)
at com.microsoft.tfs.core.TFSTeamProjectCollection.getServerDataProvider(TFSTeamProjectCollection.java:177)
at com.microsoft.tfs.core.TFSConnection.getWebService(TFSConnection.java:894)
at com.microsoft.tfs.core.config.client.DefaultClientFactory$7.newClient(DefaultClientFactory.java:239)
at com.microsoft.tfs.core.config.client.DefaultClientFactory.newClient(DefaultClientFactory.java:98)
at com.microsoft.tfs.core.TFSConnection.getClient(TFSConnection.java:1508)
at com.microsoft.tfs.core.TFSTeamProjectCollection.getVersionControlClient(TFSTeamProjectCollection.java:377)
at hudson.plugins.tfs.model.Server.getVersionControlClient(Server.java:142)
at hudson.plugins.tfs.commands.RemoteChangesetVersionCommand.call(RemoteChangesetVersionCommand.java:56)
at hudson.plugins.tfs.commands.RemoteChangesetVersionCommand.call(RemoteChangesetVersionCommand.java:33)
at hudson.remoting.LocalChannel.call(LocalChannel.java:45)
at hudson.plugins.tfs.model.Server.execute(Server.java:153)
... 13 more
Caused by: com.microsoft.tfs.core.ws.runtime.exceptions.ProxyUnauthorizedException: Authorization failure connecting to proxy server 'XXX:3128' (no credentials were supplied)
at com.microsoft.tfs.core.ws.runtime.client.SOAPService.executeSOAPRequestInternal(SOAPService.java:718)
at com.microsoft.tfs.core.ws.runtime.client.SOAPService.executeSOAPRequest(SOAPService.java:475)
at ms.tfs.services.registration._03._RegistrationSoap12Service.getRegistrationEntries(_RegistrationSoap12Service.java:105)
at com.microsoft.tfs.core.clients.registration.RegistrationData.newFromServer(RegistrationData.java:65)
... 29 more
Finished: FAILURE
~ ??  

NB: i tried to deactivate the proxy with server URL to * but TFS tried to use the proxy anyway.
Ty a lot for your feedback
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

florent.laville@outlook.fr (JIRA)

unread,
May 9, 2016, 6:05:01 AM5/9/16
to jenkinsc...@googlegroups.com
florent laville created an issue
Issue Type: Bug Bug
Assignee: redsolo
Components: tfs-plugin
Created: 2016/May/09 10:04 AM
Priority: Minor Minor
Reporter: florent laville

Hi,

Jenkins version : 2.1
TFS plugin version : 4.1

I'm using TFS plugin in order to manage Git reposiroty hosted into VSTS.

I've configured Jenkins proxy into advanced panel from plugin management but it seems than proxy credentials are not tooked in consideration.

Full error message:
~FATAL: com.microsoft.tfs.core.exceptions.HTTPProxyUnauthorizedException: Access denied connecting to HTTP proxy XXX:3128 (no credentials were supplied)

NB: i tried to deactivate the proxy with server URL to * but TFS tried to use the proxy anyway.


Ty a lot for your feedback

olivier.dagenais@gmail.com (JIRA)

unread,
Sep 14, 2016, 10:48:04 PM9/14/16
to jenkinsc...@googlegroups.com
Olivier Dagenais resolved as Not A Defect
 

The TFS plugin provides the Team Foundation Version Control (TFVC) SCM, which is not intended for accessing Git repositories. I've attempted to make this clearer with the labels in recent versions, so if you have any suggestions for improvements, they would be appreciated.

As for proxy servers, they should also be much better supported in recent versions, including proxy servers that require authentication. Please open an issue if you find that's not the case.

Change By: Olivier Dagenais
Status: Open Resolved
Assignee: redsolo florent laville
Resolution: Not A Defect
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages