Skip to content

Bug: frequent 5xx in get resource tree api and cd-trigger api #5060

Closed
@prakash100198

Description

@prakash100198

📜 Description

We are able to see 500 http status code in fetch resource tree api and cd trigger api with error msg as context cancelled and context deadline exceeded respectively.

👟 Reproduction steps

for reproducing context deadline exceeded in fetch resource tree api, just change the value of TIMEOUT_IN_SECONDS in orch cm as 0.1 or very less sec, this will throw context deadline exceeded error(similar to context cancelled err)

👍 Expected behavior

Proper 4xx status code should be sent in these responses

👎 Actual Behavior

Internal server error status code coming in the response

☸ Kubernetes version

1.26

Cloud provider

🌍 Browser

Chrome

🧱 Your Environment

No response

✅ Proposed Solution

No response

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find any similar issue

🏢 Have you read the Code of Conduct?

AB#9711

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions