ClientOriginIPAddress is 0.0.0.0 or ""

Jun-Lin Chen (陳俊霖) Jun-Lin.Chen at quantatw.com
Fri Mar 5 19:05:10 AEDT 2021


Hi Sunitha,

I found some problem when I create session.
The property “ClientOriginIPAddress” is “” after POST https://${bmc}/login<https://$%7bbmc%7d/login> -d '{"username": <>,"password": <>}
And it is 0.0.0.0 after POST https://${bmc}/redfish/v1/SessionService/Sessions<https://$%7bbmc%7d/redfish/v1/SessionService/Sessions> -d '{"username": <>,"password": <>}'
Both of them looked like something wrong. And I also look for source code in bmcweb repository.
There only defined the default value: “” in generateUserSession() and not found fetch user ip in elsewhere.
I think it is why ClientOriginIPAddress is strange.

May I ask what step or something I lack in creation session so this property is abnormal?


Best regards,
Jun-Lin Chen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20210305/d0b6fb4c/attachment.htm>


More information about the openbmc mailing list