Article - CS400461

URL in the "Servers" list shows an alphanumeric code instead of the actual server domain when using a Docker environment on Codebeamer Swagger REST API UI

Modified: 30-Oct-2024   


Applies To

  • Codebeamer 2.0
  • Docker
  • Server

Description

Warning!
  • This article covers the simplest use-case, observed in Docker environments only
Symptoms:
  1. When opening the Swagger UI page at <server>/<context>/api/v3/swagger/editor.spr:
    1. The URL in the address bar won't match the URL in the Servers dropdown list
    2. The URL will have an alphanumeric code instead of the domain:
      • image.png
  2. Users attempting to send REST API calls through Swagger V3 may receive the error "TypeError: NetworkError when attempting to fetch resource" from the server:
    • image.png
This is a printer-friendly version of Article 400461 and may be out of date. For the latest version click CS400461