Avoid unexpected error displays from web gui

Unexpected error is seen from the web gui due to the connection
loss during below known scenarios:
1. Initiating Reboot BMC from web gui
2. Restart of the nginx service
3. Trying to login to the web gui after a long idle time
Fix avoids unexpected error display from web gui.

Resolves openbmc/openbmc#3211

Tested: Running GUI locally and verified that unexpected error is not
coming when BMC reboots

Change-Id: I93974c53ab4fb414b938229d39fdf872b45a3e2c
Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com>
1 file changed
tree: 136101dd415a4a78fbad973fe1d19a01551cee9f
  1. app/
  2. gulp_tasks/
  3. .babelrc
  4. .clang-format
  5. .gitignore
  6. bower.json
  7. format-code.sh
  8. gulp-options.js
  9. gulpfile.js
  10. karma.conf.js
  11. LICENSE
  12. MAINTAINERS
  13. package.json
  14. postcss.config.js
  15. README.md
  16. sonar-project.properties
  17. webpack.config.js
README.md

openbmc

UX Design repo for OpenBMC

OpenBMC

TODO: Write a project description

Requirement

nodejs npm

Installation

npm install

Running

npm run-script server

This will run it locally in http://localhost:8080.

Example Usage with OpenBMC

  1. Browse to https://<bmc-ip> and bypass the secure warning. You will see a JSON response with Login required message.
  2. In the same session, navigate to http://localhost:8080. Enter the BMC IP, Username and Password (defaults: root/0penBmc).

Now you are logged in.