Closed khanjyan closed 7 months ago
You’re running bmcweb outside the intended environment (on a bmc) so this amounts to a support request question that should be asked on discord (and I or others are likely happy to help you triage). If you find the same behavior on a real bmc, or in qemu simulation, feel free to reopen this bug.
The bug template asks for a specific openbmc version for this reason. “Bmcweb master” isn’t the full version info.
Is this the right place to submit this?
Bug Description
I am using VirtualBox and latest version of Ubuntu (Ubuntu 22.04.3 LTS 64bit) I have checked out the latest bmcweb repository (master branch). I have built it ( seems successfully ) as stated in readme file: meson setup builddir (my meson version is : 1.3.0) ninja -C builddir (my ninja version is : 1.10.1) my gcc version is : 13.1.0 boost version - boost-1.83.0 all other dependencies seems to be ok, at least no issue during compilation. I have built it with default options.
After successful compilation I run : ninja install (on the same local environment - Ubuntu 22.04.3 LTS 64bit) installation finished without any error. seems everything is ok again.
Now I DON'T see bmcweb started(running) and when I try to run this: curl -k https://localhost:18080/redfish/v1 I get: curl: (7) Failed to connect to localhost port 18080 after 0 ms: Couldn't connect to server
I also tried to run it manually, like this :
cd builddir/ sudo ./bmcweb
I get this: [CRITICAL boost_asio.cpp:18] Boost exception thrown assign: Bad file descriptor [system:9 at ../subprojects/boost-1.83.0/libs/asio/include/boost/asio/detail/impl/reactive_descriptor_service.ipp:120:5 in function 'boost::system::error_code boost::asio::detail::reactive_descriptor_service::assign(implementation_type&, const native_handle_type&, boost::system::error_code&)'] from ../subprojects/boost-1.83.0/libs/asio/include/boost/asio/posix/basic_descriptor.hpp:142 terminate called without an active exception Aborted
I'm new to OpenBMC and bmcweb, just trying to learn, so could you please provide any feedback on this ? I understand that I do not have a correct BMC environment and running bmcweb locally will not give me full functionality, but I just need to try some redfish requests to see if webserver and redfish service are working as expected.
Thanks for your support.
Version
Additional Information
No response