Closed adathatri closed 3 years ago
@adathatri Can you please retest with: https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/37230
And see if it resolves your issue?
@edtanous Retested with https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/37230. I am seeing 503 as the response code now. Thanks!
Method = POST, status = 503, expected status = [200, 201, 204]
{
"error": {
"@Message.ExtendedInfo": [
{
"@odata.type": "#Message.v1_0_0.Message",
"Message": "The event subscription failed due to the number of simultaneous subscriptions exceeding the limit of the implementation.",
"MessageArgs": [],
"MessageId": "Base.1.8.1.EventSubscriptionLimitExceeded",
"MessageSeverity": "Critical",
"Resolution": "Reduce the number of other subscriptions before trying to establish the event subscription or increase the limit of simultaneous subscriptions upported)."
}
],
"code": "Base.1.8.1.EventSubscriptionLimitExceeded",
"message": "The event subscription failed due to the number of simultaneous subscriptions exceeding the limit of the implementation."
}
}
After exceeding maximum subscription limit of 20, BMC server responds with 403 error code instead of the expected 503 error code.
Steps to reproduce:
Error response obtained for 21st subscription from RedfishEventListener_v1.py:
@apuli1 @feistjj @ratagupt