spark icon indicating copy to clipboard operation
spark copied to clipboard

Statistics in live view do not update on Windows localhost server.

Open michal-luczak opened this issue 1 year ago • 3 comments

Description

When i run /spark profiler start and then /spark profiler open and go to web live profiler then the statistics and timings seems to not being updated. I have my server on localhost (Windows 11). Weird is that no error at browser console occure and also Latency in live profiler updates. image

Reproduction Steps

  1. Run Paper 1.21.1-77-master@4ff58c4 server at localhost.
  2. Execute command /spark profiler start
  3. Execute command /spark profiler open
  4. Go to given link

Expected Behaviour

Statistics should be updated through websocket every 10 seconds.

Platform Information

  • Minecraft Version: 1.21.1
  • Platform Type: Paper
  • Platform Brand: Paper
  • Platform Version: 1.21.1-77-master@4ff58c4

Spark Version

v1.10.105

Logs and Configs

No response

Extra Details

No response

michal-luczak avatar Sep 15 '24 18:09 michal-luczak

When I run server as docker container, statistics update correctly. Probably works properly on Linux and on Windows not.

michal-luczak avatar Sep 17 '24 21:09 michal-luczak

I believe I am having this problem on my server too (1.21.4 Fabric).

When you stop the profiler with /spark profiler stop, does the page differ at all from the live view provided before? For me, the information at the top of the page gets updated after stopping but the graph, and all other profiler information, appears unchanged.

TCAtrevor avatar Jan 05 '25 20:01 TCAtrevor

The profiler appears to work as long as /spark profiler open never gets executed. Nothing ever gets logged after the live viewer is opened.

TCAtrevor avatar Jan 06 '25 01:01 TCAtrevor