Erpnext header no loading on dashboard

I just did a fresh installation of frappe erpnext and somehow the header is not loading and just showing white space. (See attached.)

Environement version;
frappe 15.73.0 version-15
erpnext 15.69.2 version-15
payments 0.0.1 version-15
hrms 15.47.6 version-15

I tried to do bench build --app frappe --app erpnext --app hrms --force but still not luck. This is what my console log is showing below;

Failed to load resource: the server responded with a status of 502 (Bad Gateway)Understand this error
hook.js:608 Error connecting to socket.io: xhr poll error
overrideMethod @ hook.js:608Understand this error
/socket.io/?EIO=4&transport=polling&t=PW4DLW5:1  Failed to load resource: the server responded with a status of 502 (Bad Gateway)Understand this error
hook.js:608 Error connecting to socket.io: xhr poll error
overrideMethod @ hook.js:608Understand this error
/socket.io/?EIO=4&transport=polling&t=PW4DMTZ:1  Failed to load resource: the server responded with a status of 502 (Bad Gateway)Understand this error
hook.js:608 Error connecting to socket.io: xhr poll error
overrideMethod @ hook.js:608Understand this error
/socket.io/?EIO=4&transport=polling&t=PW4DNmJ:1  Failed to load resource: the server responded with a status of 502 (Bad Gateway)Understand this error
hook.js:608 Error connecting to socket.io: xhr poll error
overrideMethod @ hook.js:608Understand this error
hook.js:608 "" is not a valid color.
overrideMethod @ hook.js:608Understand this warning
home:1 The resource https://axis.verbosec.com/assets/frappe/icons/espresso/icons.svg?v=1752416708.333429 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.Understand this warning
home:1 The resource https://axis.verbosec.com/assets/frappe/icons/timeless/icons.svg?v=1752416708.333429 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
1 Like

Managed to fix it by dropping site since it was new and creating it again. I had faced an error on initialization which I did fix but continued to cause this problem. For anyone facing this issue on initialization try this solution if possible.

1 Like