Vscode/ Endevor Explore connection to Endevor REST API failed with error code 502
search cancel

Vscode/ Endevor Explore connection to Endevor REST API failed with error code 502

book

Article ID: 400409

calendar_today

Updated On:

Products

Brightside

Issue/Introduction

One user installed Code4Z and started to connect to Endevor using the URL "http://host:port/EndevorService/rest", and got error code 502, see the explorer for Endevor log as below:

2025-06-03T08:07:22.840Z - [Dev1(I)] Modify Endevor connection command was called.
2025-06-03T08:07:22.840Z - Prompt for URL.
2025-06-03T08:07:28.415Z - Unable to connect to Endevor Web Services.
2025-06-03T08:07:28.415Z - Unable to fetch Endevor Web Services API version because of error:
Rest API failure with HTTP(S) status 502.

The other users on the same site can use same connection URL, same explorer for Endevor version,  and can connect to Endevor without any issue. 

Environment

Endevor V19

Exploere for Endevor v1.10

Cause

This user who got 502 error is running an outdated vscode version. 

Resolution

Upgrade vscode to the latest version.