Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APIML login fails due to timing #3945

Open
struga0258 opened this issue Jan 14, 2025 · 2 comments
Open

APIML login fails due to timing #3945

struga0258 opened this issue Jan 14, 2025 · 2 comments
Assignees
Labels
bug Verified defect in functionality Priority: High size/M

Comments

@struga0258
Copy link

We have noticed during some api test that we keep getting login failures due to the APIML. We believe its a timing issue but its happening frequently. We keep getting the following errors:
"ZWEAG121E - Authorization header is missing, or the request body is missing or invalid for URL '/gateway/api/v1/auth/login'"
"Authentication credentials not found"

Steps to Reproduce

To reproduce this issue we have created a python script that just loops and sends a post request to the following url path '/gateway/api/v1/auth/login'. We noticed that if you increase the wait before the request this issue goes away so it seems to be a timing issue.

@struga0258 struga0258 added bug Verified defect in functionality new New issue that has not been worked on yet labels Jan 14, 2025
@balhar-jakub balhar-jakub added Priority: High and removed new New issue that has not been worked on yet labels Jan 15, 2025
@balhar-jakub
Copy link
Member

@struga0258 What version of z/OSMF and API Mediation Layer is being used in this test?

@struga0258
Copy link
Author

We used both latest v2 and v3 Zowe to test this, I believe the z/OSMF version is 29.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Verified defect in functionality Priority: High size/M
Projects
Status: In Progress
Development

No branches or pull requests

4 participants