Closed awan119 closed 2 months ago
committed at Nov,16, 2023.
Please retest on master. your build is missing many fixes, some of which fixed bugs with identical reproductions as yours.
@edtanous Hi,
Thank you for response. What will cause this problem?
What will cause this problem?
Not using master. Please test the latest.
I see. Thank you.
did you retest on master?
@edtanous Hi, Because of team developing plan, I will try the lastest code afterwards. I close ticket first. If I have any update, I'll post here. Thank you very much.
Is this the right place to submit this?
Bug Description
Hi,
I have the problem that bmcweb.service would be core-dump when I want to GET /redfish/v1/EventService/SSE.
I tried 3 ways to GET SSE, but nothing works.
First is browser, google chrome and edge. Browser gets 404NotFound, owing to without having
Accept: text/text/event-stream
So second is using
curl
to GET SSE but no response from bmcweb.So the third method is using postman to send SSE. After few seconds, response is nothing and with socket hang up. I guess this is not Postman problem so I add some log inside bmcweb code to debug.
And the situation is below :
After writing newSub value in
addSubscription
function of event_service_manager.hpp, the core is dump.Jul 11 04:27:27 systemd[1]: bmcweb.service: Main process exited, code=dumped, status=11/SEGV Jul 11 04:27:27 systemd[1]: bmcweb.service: Failed with result 'core-dump'.
I am not sure about this situation. Hope someone could help. Thank you in advance.
Version
Additional Information
addSubscription
function works well if I use PUSH style subscription from postman.Below shows SSE is enabled under /redfish/v1/EventService node.