java.lang.RuntimeException: com.microsoft.tfs.core.exceptions.HTTPProxyUnauthorizedException: Access denied connecting to HTTP proxy XXX:3128 (no credentials were supplied)

Jenkins JIRA | florent laville | 7 months ago
  1. 0

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

    Google Groups | 7 months ago | florent...@outlook.fr (JIRA)
    java.lang.RuntimeException: com.microsoft.tfs.core.exceptions.HTTPProxyUnauthorizedException: Access denied connecting to HTTP proxy XXX:3128 (no credentials were supplied)
  2. 0

    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

    Jenkins JIRA | 7 months ago | florent laville
    java.lang.RuntimeException: com.microsoft.tfs.core.exceptions.HTTPProxyUnauthorizedException: Access denied connecting to HTTP proxy XXX:3128 (no credentials were supplied)
  3. 0

    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

    Jenkins JIRA | 7 months ago | florent laville
    java.lang.RuntimeException: com.microsoft.tfs.core.exceptions.HTTPProxyUnauthorizedException: Access denied connecting to HTTP proxy XXX:3128 (no credentials were supplied)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. com.microsoft.tfs
      SOAPService.executeSOAPRequest
      1. com.microsoft.tfs.core.ws.runtime.client.SOAPService.executeSOAPRequestInternal(SOAPService.java:718)
      2. com.microsoft.tfs.core.ws.runtime.client.SOAPService.executeSOAPRequest(SOAPService.java:475)
      2 frames
    3. ms.tfs.services
      _RegistrationSoap12Service.getRegistrationEntries
      1. ms.tfs.services.registration._03._RegistrationSoap12Service.getRegistrationEntries(_RegistrationSoap12Service.java:105)
      1 frame
    4. com.microsoft.tfs
      TFSTeamProjectCollection.getVersionControlClient
      1. com.microsoft.tfs.core.clients.registration.RegistrationData.newFromServer(RegistrationData.java:65)
      2. com.microsoft.tfs.core.clients.registration.RegistrationClient.getRegistrationData(RegistrationClient.java:645)
      3. com.microsoft.tfs.core.clients.registration.RegistrationClient.getRegistrationEntries(RegistrationClient.java:151)
      4. com.microsoft.tfs.core.clients.registration.RegistrationClient.getRegistrationEntries(RegistrationClient.java:135)
      5. com.microsoft.tfs.core.PreFrameworkServerDataProvider.findServiceLocation(PreFrameworkServerDataProvider.java:289)
      6. com.microsoft.tfs.core.PreFrameworkServerDataProvider.locationForCurrentConnection(PreFrameworkServerDataProvider.java:264)
      7. com.microsoft.tfs.core.TFSTeamProjectCollection.getServerDataProvider(TFSTeamProjectCollection.java:177)
      8. com.microsoft.tfs.core.TFSConnection.getWebService(TFSConnection.java:894)
      9. com.microsoft.tfs.core.config.client.DefaultClientFactory$7.newClient(DefaultClientFactory.java:239)
      10. com.microsoft.tfs.core.config.client.DefaultClientFactory.newClient(DefaultClientFactory.java:98)
      11. com.microsoft.tfs.core.TFSConnection.getClient(TFSConnection.java:1508)
      12. com.microsoft.tfs.core.TFSTeamProjectCollection.getVersionControlClient(TFSTeamProjectCollection.java:377)
      12 frames
    5. hudson.plugins.tfs
      RemoteChangesetVersionCommand.call
      1. hudson.plugins.tfs.model.Server.getVersionControlClient(Server.java:142)
      2. hudson.plugins.tfs.commands.RemoteChangesetVersionCommand.call(RemoteChangesetVersionCommand.java:56)
      3. hudson.plugins.tfs.commands.RemoteChangesetVersionCommand.call(RemoteChangesetVersionCommand.java:33)
      3 frames
    6. Hudson :: Remoting Layer
      LocalChannel.call
      1. hudson.remoting.LocalChannel.call(LocalChannel.java:45)
      1 frame
    7. hudson.plugins.tfs
      TeamFoundationServerScm.checkout
      1. hudson.plugins.tfs.model.Server.execute(Server.java:153)
      2. hudson.plugins.tfs.model.Project.extractChangesetNumber(Project.java:272)
      3. hudson.plugins.tfs.model.Project.getRemoteChangesetVersion(Project.java:268)
      4. hudson.plugins.tfs.model.Project.getRemoteChangesetVersion(Project.java:284)
      5. hudson.plugins.tfs.TeamFoundationServerScm.recordWorkspaceChangesetVersion(TeamFoundationServerScm.java:311)
      6. hudson.plugins.tfs.TeamFoundationServerScm.checkout(TeamFoundationServerScm.java:260)
      6 frames
    8. Hudson
      AbstractBuild$AbstractBuildExecution.defaultCheckout
      1. hudson.model.AbstractProject.checkout(AbstractProject.java:1269)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:607)
      2 frames
    9. jenkins.scm
      SCMCheckoutStrategy.checkout
      1. jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      1 frame
    10. Hudson
      Executor.run
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
      2. hudson.model.Run.execute(Run.java:1738)
      3. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      4. hudson.model.ResourceController.execute(ResourceController.java:98)
      5. hudson.model.Executor.run(Executor.java:410)
      5 frames