Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redfish Event Listener is throwing Error while receiving events using sockets #37

Open
manipk01 opened this issue Sep 4, 2024 · 2 comments

Comments

@manipk01
Copy link

manipk01 commented Sep 4, 2024

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.

image

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.

image

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

@mraineri
Copy link
Contributor

mraineri commented Sep 4, 2024

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.

@mraineri
Copy link
Contributor

mraineri commented Sep 4, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants