New Web UI failed to register resource: generated/xyz maps, graphs and dashboard

Started by Hanfelt, December 05, 2023, 09:33:14 AM

Previous topic - Next topic

Hanfelt

Is this a known problem, when this is triggered it seems that the website slowly starts to throw more and more error

SCR-20231205-hzui.png

maredcz

Hello, have the same question, the same error.

The error ist there in new web gui when display the map. 
Failed to register resource: generated/6b33fe9d.png
Cannot tell since is occuring, but it is there in 4.4.4, 4.4.3 and earlier versions. I tried make clean fresh test server installation and there is the same error.

Martin

Filipp Sudanov

Please check if there is anything in web ui log. E.g. for tomcat you can run

journalctl -u tomcat9.service -f

and then open a map to trigger the error. Also it would be beneficial if you can show screenshot of your map to see what elements are present on it.

maredcz

Hello Filipp,
I forgot to mention, it is MS windows server based installation. For testing have installed a new NetXMS server with sqlite DB and with webui. There is nothing configured, empty. Created the new map, then entered in the map .. and the error message arise. Jetty logs are attached.
The same bahaviour have in production installation NetXMS 4.4.4 + MariaDB + webui. When try open the map, error message appear and map is not displayed.


Martin

Filipp Sudanov

Hi!
This bug is specific for web UI on Windows. If you open C:\NetXMS-WebUI\jetty-home\etc\webdefault.xml file and change
    <init-param>
      <param-name>useFileMappedBuffer</param-name>
      <param-value>true</param-value>
    </init-param>
to
    <init-param>
      <param-name>useFileMappedBuffer</param-name>
      <param-value>false</param-value>
    </init-param>
this should solve the issue. This setting will be set to false in next releases.