Cannot retrieve interfaces from /_/proxy/tenants/<tenant>/interfaces (400 status code)

Description

Steps to reproduce:

  1. Authorize by running the following request in Postman:
    POST <<Kong base URL>>/authn/login-with-expiry
    Body:
    {
    "username": "<<admin username>>",
    "password": "<<admin password>>"
    }
    "x-okapi-tenant" header: "diku4"

  2. Run the following request:

GET <<Kong base URL>>/_/proxy/tenants/<<same tenant name/id>>/interfaces

Expected result:
Response with "200" status returned. The interfaces can be retrieved.

Actual result:
Response with “400” status is returned:

{
"errors": [
{
"message": "Expected URL scheme 'http' or 'https' but no scheme was found for /mgr-t...",
"type": "IllegalArgumentException",
"code": "validation_error"
}
],
"total_records": 1
}

Environment

None

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Estimation Notes and Assumptions

None

RCA Group Details

None

Attachments

4
  • 27 Sep 2024, 06:54 AM
  • 27 Sep 2024, 06:54 AM
  • 26 Sep 2024, 07:13 PM
  • 10 Sep 2024, 07:50 AM

Checklist

hide

Activity

Show:

Yauhen Viazau September 27, 2024 at 6:54 AM


Tested on diku4.int.aws.folio.org - works as expected Check Mark

Request is passing as expected:

image-20240927-064915.png

Corresponding test for C546774 is also passing (testing with different parameters/values):

image-20240927-065205.png

Dima Tkachenko September 26, 2024 at 7:13 PM

works on evrk2

image-20240926-191331.png

Craig McNally September 10, 2024 at 7:01 PM

This looks to me like the okapi facade doesn’t know where to find the mgr services, which might indicate a configuration issue.

Looking at the task definition and the code, I see a discrepancy…

TE_CLIENT_URL / AM_CLIENT_URL / TM_CLIENT_URL are specified in the task definition, while the code and readme refer to TE_URL / AM_URL TM_URL

Done

Details

Assignee

Reporter

Development Team

Eureka

RCA Group

Implementation coding issue

Story Points

Sprint

Priority

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created September 10, 2024 at 7:26 AM
Updated October 10, 2024 at 3:23 PM
Resolved September 27, 2024 at 6:55 AM
TestRail: Cases
TestRail: Runs

Flag notifications