openbmc / bmcweb

A do everything Redfish, KVM, GUI, and DBus webserver for OpenBMC
Apache License 2.0
148 stars 130 forks source link

Login Web Cant redirect #279

Closed Xxfore closed 1 month ago

Xxfore commented 1 month ago

Is this the right place to submit this?

Bug Description

Clone and build Openbmc for board evb-ast2600 , then use chrome or firefox cant access https://127.0.0.1:2443

  1. clone git@github.com:openbmc/openbmc.git with master branch
  2. . setup evb-ast2600
  3. bitbake obmc-phosphor-image
  4. runqemu nographic slirp (Add hostfwd like : hostfwd=:127.0.0.1:2443-:443 hostfwd=udp:127.0.0.1:2623-:623 )
  5. Open Chrome or Firefox to access https://127.0.0.1:2443 , then it will redirect to https://127.0.0.1:2443/?next=/#/login and shows "This site cant be reached" (From chrome develop tools, seems it has so many 307 redirect request)

https://127.0.0.1:2443/redfish/v1 can be access, each sub links can not be access in redfish ipmitools and ssh can connect normally.

More details please refer attached capture. image

Version

root@evb-ast2600:~# cat /etc/os-release 
ID=openbmc-phosphor
NAME="Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro)"
VERSION="2.16.0-dev"
VERSION_ID=2.16.0-dev-1105-gab31aaff7a
VERSION_CODENAME="scarthgap"
PRETTY_NAME="Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro) 2.16.0-dev"
CPE_NAME="cpe:/o:openembedded:openbmc-phosphor:2.16.0-dev-1105-gab31aaff7a"
BUILD_ID="20240611080038"
OPENBMC_TARGET_MACHINE="evb-ast2600"
EXTENDED_VERSION="2.16.0-dev-1105-gab31aaff7a"

Additional Information

No response

jtru commented 4 weeks ago

FTR, I can confirm this commit fixes the reported problem :) Thanks!