libredfish icon indicating copy to clipboard operation
libredfish copied to clipboard

serviceDecRefAndWait is hanging while serviceDecRef() works, why?

Open pgondi7 opened this issue 3 years ago • 1 comments

Hi Team. We are using libredfish to create a program which is enumerating redfish service using createServiceEnumerator(). When function getPayloadByPath encounters an error with http response code 401 or 404, redfish service cleanup serviceDecRefAndWait() is hanging. But when we use serviceDecRef() our program terminate normally even though getPayloadbyPath gets an error like 401 or 404.

Question: What is the correct cleanup function for redfish service created using createServiceEnumerator()?

pgondi7 avatar May 09 '22 05:05 pgondi7

@pboyd04 do you have any guidance for this?

mraineri avatar May 22 '22 13:05 mraineri

Closing; there hasn't been enough info provided to debug this further... If this is still an issue, we'd need to see debug logs to help trace the flow...

mraineri avatar Jun 28 '24 19:06 mraineri