none
使用jenkins请求TFS2013出现HTTP 503错误 RRS feed

  • 问题

  • 在使用jenkins对TFS中的代码进行拉取时,服务器报出以下错误

    FATAL: com.microsoft.tfs.core.exceptions.TECoreException: The SOAP endpoint http://ithktfssvr1:8080/tfs/Services/v1.0/Registration.asmx could not be contacted.  HTTP status: 503
    com.microsoft.tfs.core.ws.runtime.exceptions.EndpointNotFoundException: The SOAP endpoint http://ithktfssvr1:8080/tfs/Services/v1.0/Registration.asmx could not be contacted.  HTTP status: 503

    在使用的账号可以正常登录TFS 的web portal,也可以使用VS2013进行登录

    对于此错误是账号是否需求额外的权限?

    2017年3月20日 10:24

答案

  • Hi Cyril_Chan,

    我对于JENKINS里的设置不熟悉,请你查看一下这个帖子里面其他成员的回复是否对你有帮助:

    https://issues.jenkins-ci.org/browse/JENKINS-33639

    “I had the same issue....Hope this helps.”

    Best Regards

    Limitxiao Gao


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • 已标记为答案 Cyril_Chan 2017年3月21日 10:58
    2017年3月21日 8:39

全部回复

  • Hi Cyril_Chan,

    根据你的错误日志,你的情况和下面这个链接相似:

    https://issues.jenkins-ci.org/browse/JENKINS-31233

    所以请检查在server URL中是否包括了collection的名字。

    Best Regards

    Limitxiao Gao


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    2017年3月21日 5:49
  • Dear Gao,

    十分感谢你的帮助,但是在包括了collection的名字后也同样出现503错误,而且我在TFS的debug 日志中也没有发现关于这个错误的记录,看来只能通过使用API重新实现这个功能了

    Deleting workspace as the configuration has changed since a build was performed on this computer.
    FATAL: com.microsoft.tfs.core.exceptions.TECoreException: The SOAP endpoint http://ithktfssvr1:8080/tfs/DefaultCollection/Services/v1.0/Registration.asmx could not be contacted.  HTTP status: 503
    com.microsoft.tfs.core.ws.runtime.exceptions.EndpointNotFoundException: The SOAP endpoint http://ithktfssvr1:8080/tfs/DefaultCollection/Services/v1.0/Registration.asmx could not be contacted.  HTTP status: 503
    	at com.microsoft.tfs.core.ws.runtime.client.SOAPService.examineHeadersForErrorMessage(SOAPService.java:1101)
    	at com.microsoft.tfs.core.ws.runtime.client.SOAPService.executeSOAPRequestInternal(SOAPService.java:660)
    	at com.microsoft.tfs.core.ws.runtime.client.SOAPService.executeSOAPRequest(SOAPService.java:444)
    	at ms.tfs.services.registration._03._RegistrationSoap12Service.getRegistrationEntries(_RegistrationSoap12Service.java:106)
    	at com.microsoft.tfs.core.clients.registration.RegistrationData.newFromServer(RegistrationData.java:58)
    

    2017年3月21日 8:15
  • Hi Cyril_Chan,

    我对于JENKINS里的设置不熟悉,请你查看一下这个帖子里面其他成员的回复是否对你有帮助:

    https://issues.jenkins-ci.org/browse/JENKINS-33639

    “I had the same issue....Hope this helps.”

    Best Regards

    Limitxiao Gao


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • 已标记为答案 Cyril_Chan 2017年3月21日 10:58
    2017年3月21日 8:39
  • Dear Gao,

    谢谢你的答复啊,居然是代理的问题,根据jenkins里面的指引更改后就可以了,可不知道为什么不能用邮箱地址必须要用域\用户名来登录,但是也没有太大影响,十分感谢!

    2017年3月21日 10:57
  • 楼主怎么解决的,我现在也碰到这个问题~~~
    2017年12月18日 6:54
  • 楼主如何解决的呢?
    2019年3月11日 8:36