Redfish Event Listener is throwing Error while receiving events using sockets
Latest DMTF Redfish event listener is being ran on local machine. Below mentioned Issue Observed.
Issue:
When Redfish server sent events to the Redfish Event Listener below error is coming in the listener.
Below are my Observations:
When Redfish server sent the events to Listener few content of events are getting received and because of that json.loads(response_array[-1]) is getting failed in listener. Below are the contents received in the listener.
Note: When earlier version**(version<= 1.1.3)** of Redfish Event Listener is used, it is working fine and getting events in the listener. And in that versions http_parser module is used for receiving the events.
So please let me know whether this is Redfish Event Listener Tool issue or redfish server needs to do any changes.
Thanks, Mani P K
Do you have a sample HTTP payload for what the Redfish service sent to the event listener? That would help us to debug the issue further.
At least based on snippet of data you provided, it seems like the Redfish service is only sending POST / HTTP/1.1 with no request body, which is not what I would expect from any Redfish service. I can certainly see us hardening the listener to not throw an exception when this happens, but I'd also like to ensure this is really the issue at hand.