You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Entity Feedback plugin is experiencing inconsistent behavior in our production environment (EKS cluster behind a proxy). GET requests using query parameters work as expected, but requests using path parameters for entity references return a 404 error.
Request URL:
https://developer.ec1.aws.aztec.cloud/api/entity-feedback/ratings/component%3Adefault%2Fbuildon
Request Method:
GET
Status Code:
404 Not Found
Remote Address:
44.***.109.***:443
Request URL:
https://developer.ec1.aws.aztec.cloud/api/entity-feedback/ratings?ownerRef=group%3Adefault%2Fcore
Request Method:
GET
Status Code:
200 OK
Remote Address:
44.***.109.***:443
👍 Expected behavior
Both requests should return 200 OK with the appropriate data.
👎 Actual Behavior with Screenshots
The request with the entity reference in the path returns a 404 Not Found, while the request with the ownerRef query parameter works correctly.
👟 Reproduction steps
Deploy Backstage with Entity Feedback plugin to production environment
Make a GET request to /api/entity-feedback/ratings?ownerRef=group:default/core
Result: Returns 200 OK with expected data
Make a GET request to /api/entity-feedback/ratings/component:default/buildon-sandbox
Result: Returns 404 Not Found
📃 Provide the context for the Bug.
This issue only occurs in our production environment. Local development setup works as expected for both types of requests.
Other Backstage plugins and backend API endpoints are functioning correctly in the same environment.
No custom modifications have been made to the Entity Feedback plugin code.
👀 Have you spent some time to check if this bug has been raised before?
Hmm going to need a bit more info to try to debug this - do you see any log messages in the backend that corresponds to that 404 request? can you also provide what Backstage and plugin versions you're on?
Sorry forgot the plugins versions:
The frontend is on : @backstage-community/plugin-entity-feedback": "^0.3.5
And the backend: @backstage-community/plugin-entity-feedback-backend": "^0.3.1
Plugin Name
Entity-feedback
📜 Description
The Entity Feedback plugin is experiencing inconsistent behavior in our production environment (EKS cluster behind a proxy). GET requests using query parameters work as expected, but requests using path parameters for entity references return a 404 error.
👍 Expected behavior
Both requests should return 200 OK with the appropriate data.
👎 Actual Behavior with Screenshots
The request with the entity reference in the path returns a 404 Not Found, while the request with the ownerRef query parameter works correctly.
👟 Reproduction steps
/api/entity-feedback/ratings?ownerRef=group:default/core
/api/entity-feedback/ratings/component:default/buildon-sandbox
📃 Provide the context for the Bug.
👀 Have you spent some time to check if this bug has been raised before?
🏢 Have you read the Code of Conduct?
Are you willing to submit PR?
None
The text was updated successfully, but these errors were encountered: