Does SSE Notification on OpenBMC/BMCWEB work?
Carlos Mazieri
cmazieri at nvidia.com
Sat Jan 27 01:28:28 AEDT 2024
Hello,
I am trying to test SSE using the machine Romulus on QEMU.
What I did to start is just point my browser to a such URL like https://localhost:18080/redfish/v1/EventService/SSE and I got "Not Found".
What I found interesting is, in the file "http/routing/sserule.hpp", the method handle() just sets the result as not found.
Here is the piece of the code:
class SseSocketRule : public BaseRule
{
using self_t = SseSocketRule;
public:
explicit SseSocketRule(const std::string& ruleIn) : BaseRule(ruleIn) {}
void validate() override {}
void handle(const Request& /*req*/,
const std::shared_ptr<bmcweb::AsyncResp>& asyncResp,
const std::vector<std::string>& /*params*/) override
{
asyncResp->res.result(boost::beast::http::status::not_found);
}
...
};
Can you guys confirm if SSE currently works on OpenBMC and if so how can I test it properly?
Thanks in advance ,
Carlos Mazieri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20240126/9e5c5478/attachment-0001.htm>
More information about the openbmc
mailing list