Bridge for Git - Resource not available for anonymous access
search cancel

Bridge for Git - Resource not available for anonymous access

book

Article ID: 221284

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

Failed to update the credentials in Bridge for Git.
And failed to refresh Bridge for Git.

Bridge for Git log shows:

2021-08-02 17:24:00.720 ERROR 3472 --- [           main] c.c.e.i.connector.rest.SpringRestClient  : Request: GET HTTPS://host:port/tfs/tfs?api-version=5.0 (headers=[Content-Type:"application/json", Accept:"application/json"])
2021-08-02 17:24:00.736 ERROR 3472 --- [           main] c.c.e.i.connector.rest.SpringRestClient  : Response: ´╗┐{"$id":"1","innerException":null,"message":"TF400813: Resource not available for anonymous access. Client authentication required.","typeName":"Microsoft.TeamFoundation.Framework.Server.UnauthorizedRequestException, Microsoft.TeamFoundation.Framework.Server","typeKey":"UnauthorizedRequestException","errorCode":0,"eventId":3000}

...
org.springframework.web.client.ResourceAccessException: I/O error on GET request for "https://host:port/EndevorService/rest/ENDEVOR/env/*/stgnum/*": sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target; nested exception is javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Environment

Release : 18.1

Component : BRIDGE FOR GIT 2.8

Resolution

Endevor web services is configured with SSL. 

Upload the SSL certificate for Web Services to the truststore used with Bridge for Git.