B4G - Endevor connection Error
search cancel

B4G - Endevor connection Error

book

Article ID: 382309

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

Failure occurs when attempting a Global Sync or a Webhook Synchronisation between GitHub and Endevor via Bridge For Git (B4G).

The log shows;

YYYY-MM-DD hh.mm.ss.sss ERROR 50667966 --- [pool-2-thread-20] c.c.e.i.c.e.r.i.s.EndevorInstance        : 
Endevor connection status for 'INSTID (https://Your.WebService-Instance.domain:port/EndevorService/api/v2, INSTID)' changed to 'CONNECTION_TIMEOUT'
YYYY-MM-DD hh.mm.ss.sss INFO  50667966 --- [pool-1-thread-3] c.c.e.i.m.b.j.i.s.WorkflowService        : 
| Operation: Refresh elements
| Mapping: MY-MAPPING / xxx_xxxx - xxxxx
| Result: FAILED - ENDEVOR_CONNECTION_ERROR
| User: userid
| Summary: Endevor Connection is not available
| Messages:
|  - Response invalid: 
| Return code: 0020
| Reason code: 0003
| Exception:
| com.ca.endevor.integration.connector.endevor.rest.exception.EndevorConnectionException: Response invalid: 
| Return code: 0020
| Reason code: 0003

Environment

Release : All from 18.1

Component : BRIDGE FOR GIT

Cause

There was en issue during shutdown process of Bridge or recycle of Tomcat.  

Resolution

The timing of the shutdown and IPLs of services pushed all the processing back. 
To investigate this and confirm the root cause of issue, gets information from the sysprog about how the shutdown of Bridge was done and any other information about performed IPLs.

Adding the following to YML file should resolve the issue;
refresh-tokens:
       enabled: true
       at-shutdown: true

For further information on the tokens expiration and token refresh, see chapter "Refresh Tokens"