openbmc / phosphor-webui

Web-based user interface for managing OpenBMC systems
Apache License 2.0
37 stars 25 forks source link

After several hours of page silence ,the function of getFirmwares in api-utils.js is unable to access the interface #96

Open luowangwang opened 5 years ago

luowangwang commented 5 years ago

Such as the title

gtmills commented 4 years ago

@luowangwang did the session timeout? bmcweb times out after 60 mins of inactivity. https://github.com/openbmc/bmcweb/blob/cac94c55c59a397524a04786f4d699e2bd7f21bf/include/sessions.hpp#L294

The webui should have redirected you to the login page though.. https://github.com/openbmc/phosphor-webui/blob/c652ed1889599da3ca2a0e0d36979e099f9b3b8c/app/common/services/apiInterceptor.js#L50