Comments (4)
Two things:
First, HTTP expects carriage return and new lines (not just new lines), so each line will need \r\n
.
Second, I wouldn't expect the tool to echo the event data back to the service. However, I can understand why something needs to be sent back when a 200 OK is returned. Since we don't need to return anything, I think using 204 No Content would be cleaner.
Can you try with this?
res = "HTTP/1.1 204 No Content\r\n" \
"Connection: close\r\n" \
"\r\n"
from redfish-event-listener.
It's working fine with your change. Will this change add in tool?
from redfish-event-listener.
We can certainly make that change in the tool. Do you want to make the pull request?
from redfish-event-listener.
Thanks for providing solution and verified from our side
If possible to make changes in tool, please proceed, else we can raise PR
Thanks,
Mani
from redfish-event-listener.
Related Issues (18)
- Server subscription sends deprecated Property EventType deprecated in EventService v1_3_0+ HOT 3
- Does not support EventFormatType and therefore cannot subscribe to metric reports.
- Does not support IPv6 listening HOT 5
- "SubsciptionDetails" should be "SubscriptionDetails"
- Event listener fails to receive alternate events
- Unsubscribing and SSE Eventing HOT 1
- Event listener fails to receive redfish event immediately HOT 8
- StatusCode at RedfishEventListener_v1.py#L224 seems incorrect HOT 1
- Fail to create a subscription HOT 1
- need help for HPE server HOT 3
- Support for python3.11 HOT 16
- Need support for non-SSL Events HOT 1
- REST events not logged with HPE iLO -observed only with Latest available DMTF Listeners HOT 2
- Propose to add Redfish Event validation against Event schema
- Https receiving throwing error HOT 5
- pip3 install http_parser compile issue HOT 2
- subscribing more than one server HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redfish-event-listener.