openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* ClientOriginIPAddress is 0.0.0.0 or ""
@ 2021-03-05  8:05 Jun-Lin Chen (陳俊霖)
  2021-03-18  6:23 ` Jun-Lin Chen (陳俊霖)
  0 siblings, 1 reply; 7+ messages in thread
From: Jun-Lin Chen (陳俊霖) @ 2021-03-05  8:05 UTC (permalink / raw)
  To: sunharis; +Cc: openbmc

[-- Attachment #1: Type: text/plain, Size: 763 bytes --]

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


[-- Attachment #2: Type: text/html, Size: 3729 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-04-16 14:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-05  8:05 ClientOriginIPAddress is 0.0.0.0 or "" Jun-Lin Chen (陳俊霖)
2021-03-18  6:23 ` Jun-Lin Chen (陳俊霖)
2021-04-06 16:51   ` Ed Tanous
2021-04-09  5:51     ` Sunitha Harish
2021-04-09 14:58       ` Ed Tanous
2021-04-16 13:42         ` Ivan Mikhaylov
2021-04-16 14:57           ` Ed Tanous

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).