-
-
Notifications
You must be signed in to change notification settings - Fork 397
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chart with sensors is not displayed. Monitoring tools shows that the Chart SVG is updating, but SVG is not drawing #453
Comments
I've the same problem. Chart was displaying correctly and suddenly stopped showing anything (maybe it was after an update, but I don't remember). <g clip-path="url(#zr2323-clip-3754)">
<path d="" fill="none" stroke="#1fb0ff" stroke-width="1" paint-order="fill" stroke-opacity="0.8" stroke-dasharray="4,2" stroke-dashoffset="0" stroke-linecap="butt" stroke-linejoin="bevel" stroke-miterlimit="10"></path>
</g> Checked with Safari (15.3) and Firefox (96.0.3) on macOS 11.6.3 and iPadOS 15.3. |
I tried replicating this with the latest dev and couldn't manage to, so we might have already fixed it when we updated the dependencies as part of the Node 16 upgrade. |
@DizzyaKZ Is this still an issue or already solved? |
I've just tested fluidd f804925 with Arksine/moonraker@ed20223 in firefox and chromium and issue persists. |
Thanks for checking. I assume you're using Windows? What browser version(s) are you using? Can you confirm ithron's comment (empty SVG tags)? |
Just got confirmation from some users that this is still an issue. We will need to investigate this further. |
Archlinux, on host with klipper+moonraker+nginx and on client running browser.
Firefox 98.0b8 (64-bit), Chromium 98.0.4758.102
Yes, this behavior persists. |
I have a feeling this is an upstream issue... Our initial course of action here might be to check all echarts related dependencies for similar reported issues. |
I am totally unfamiliar with fluidd codebase, JS or web technologies in general, but for me I's suspicious, that system utilization charts are working fine. |
As @pedrolamas mentioned, I'm also having this same issue. Also as @diggit said, it was working on initial install, but since I pulled a lot of updates and was still configuring everything, it just stopped.
Broswer is on Windows 10 Chrome |
Odd. I can't reproduce this, even though I am running the exact same software versions as you are. |
To add - in parallel, Mainsail does work and shows charts. Same Pi, just dual system. |
I'm not sure because I can't reproduce the original issue at all, but I think it may be related to apache/echarts#15942 (at least I couldn't find anything else between echarts v5.1.2 and v5.2.2 (the version difference between Fluidd and Mainsail) that would prevent rendering completely). |
I can test it if needed? What to pull and where :) |
You will need to have both Git and NodeJS installed for this git clone https://github.com/fluidd-core/fluidd.git
cd fluidd
npm i
npm i --save [email protected]
npm run serve then wait until the build is done, navigate to |
Sorry, have issue and too dumb to resolve..
As this already has fluidd inside.
|
Ohh - you mean to install it on PC not same Pi that's running Fluidd ?! |
Yep! I don't think the build works on a Pi right now |
@matmen btw, seeing |
Same here. Had to stop print to test. Temperature chart is empty. |
The vulnerabilities are from dependencies, and to my knowledge none of them are exploitable in Fluidd (I checked them), so no worries there!
That's odd. We're currently double checking the code on our end, we'll let you know when we know more. Thanks for your testing! |
I don't believe it is, but that error I can reproduce. We are working on a fix, for tracking: |
Latest changes don't seem to fix the problem, and as we couldn't yet reproduce the issue, I'm now trying to establish some common pattern for the people who are experiencing this issue. Can people experiencing this problem share what Operating System, Browser (and browser extensions) they are using? I'm especially interested in knowing if you have any adblock/antivirus browser extension that could be causing this! |
Not sure if this is relevant, but I checked moonraker database and I see that I also have the same problem, macOS: tested on safari, iphone safari, and chrome moonraker: v0.7.1-445-g94c51c9 |
@majcn are you able to test using http:https://dev-app.fluidd.xyz please? This is the latest dev version, includes some of the dependency upgrades we pushed trying to fix this issue! |
I just cloned this repo and trying right now. does not work |
@majcn can you confirm that |
The problem (for me) was here: https://github.com/fluidd-core/fluidd/blob/develop/src/components/widgets/thermals/ThermalChart.vue#L208 Moonraker changed config some time ago and move it from I will create a PR |
Affected Version(s):
(The versions of fluidd this issue occurs on.)
Platform: Raspberry Pi 4 Model B Rev 1.4 on buster
Hardware Configuration:
MCU v0.10.0-122-gc179db3d
Reproduction Steps:
Actual Results:
The chart disappeared while the table part with sensors still exists and updating. The pressing CHART ON/OFF button is working but chart is not displayed while the container is appearing/disappearing. Have tried it in different browsers Edge,
Expected Results:
The chart suppose to be displayed
Log Files:
(The log files fluidd provides at Configure > System Control.)
klipper log:
.....
'webhooks: registering remote method 'shutdown_machine' for connection id: 3041919864
webhooks: registering remote method 'reboot_machine' for connection id: 3041919864
webhooks: registering remote method 'pause_job_queue' for connection id: 3041919864
webhooks: registering remote method 'start_job_queue' for connection id: 3041919864
Stats 1133.8: gcodein=0 mcu: mcu_awake=0.000 mcu_task_avg=0.000000 mcu_task_stddev=0.000000 bytes_write=3856 bytes_read=4110 bytes_retransmit=0 bytes_invalid=0 send_seq=168 receive_seq=168 retransmit_seq=0 srtt=0.004 rttvar=0.002 rto=0.025 ready_bytes=0 stalled_bytes=0 freq=72004070 heater_bed: target=0 temp=0.0 pwm=0.000 motherboard_temp: temp=0.0 raspberry_pi: temp=48.2 sysload=0.12 cputime=27.165 memavail=3655984 print_time=0.001 buffer_time=0.000 print_stall=0 extruder: target=0 temp=0.0 pwm=0.000
Stats 1134.8: gcodein=0 mcu: mcu_awake=0.000 mcu_task_avg=0.000000 mcu_task_stddev=0.000000 bytes_write=3903 bytes_read=4286 bytes_retransmit=0 bytes_invalid=0 send_seq=172 receive_seq=172 retransmit_seq=0 srtt=0.003 rttvar=0.001 rto=0.025 ready_bytes=0 stalled_bytes=0 freq=72002110 heater_bed: target=0 temp=26.8 pwm=0.000 motherboard_temp: temp=28.9 raspberry_pi: temp=47.7 sysload=0.12 cputime=27.192 memavail=3657264 print_time=0.001 buffer_time=0.000 print_stall=0 extruder: target=0 temp=27.1 pwm=0.000`
moonraker log:
...
'Klippy Host not connected
Traceback (most recent call last):
File "/home/pi/moonraker/moonraker/websockets.py", line 224, in execute_method
result = await method(conn, *args, **kwargs)
File "/home/pi/moonraker/moonraker/websockets.py", line 317, in func
user=ws.current_user))
File "/home/pi/moonraker/moonraker/moonraker.py", line 546, in make_request
return await self._request_standard(web_request)
File "/home/pi/moonraker/moonraker/moonraker.py", line 602, in _request_standard
return await base_request.wait()
File "/home/pi/moonraker/moonraker/moonraker.py", line 784, in wait
raise self.response
utils.ServerError: Klippy Host not connected
2021-11-29 15:22:57,073 [moonraker.py:connect()] - Klippy Connection Established
2021-11-29 15:22:57,631 [moonraker.py:_init_klippy_connection()] - Webhooks Subscribed
2021-11-29 15:22:57,633 [moonraker.py:_init_klippy_connection()] - GCode Output Subscribed
2021-11-29 15:22:58,906 [moonraker.py:_check_ready()] - Klippy ready
2021-11-29 15:22:59,389 [data_store.py:_init_sensors()] - Configuring available sensors: ['extruder']
2021-11-29 15:27:56,966 [moonraker.py:on_connection_closed()] - Klippy Connection Removed
2021-11-29 15:27:57,045 [websockets.py:build_error()] - JSON-RPC Request Error: 503
Klippy Host not connected
Traceback (most recent call last):
File "/home/pi/moonraker/moonraker/websockets.py", line 224, in execute_method
result = await method(conn, *args, **kwargs)
File "/home/pi/moonraker/moonraker/websockets.py", line 317, in func
user=ws.current_user))
File "/home/pi/moonraker/moonraker/moonraker.py", line 546, in make_request
return await self._request_standard(web_request)
File "/home/pi/moonraker/moonraker/moonraker.py", line 602, in _request_standard
return await base_request.wait()
File "/home/pi/moonraker/moonraker/moonraker.py", line 784, in wait
raise self.response
utils.ServerError: Klippy Host not connected
2021-11-29 15:27:58,227 [moonraker.py:connect()] - Klippy Connection Established
2021-11-29 15:27:58,792 [moonraker.py:_init_klippy_connection()] - Webhooks Subscribed
2021-11-29 15:27:58,794 [moonraker.py:_init_klippy_connection()] - GCode Output Subscribed
2021-11-29 15:28:00,055 [moonraker.py:_check_ready()] - Klippy ready
2021-11-29 15:28:00,556 [data_store.py:_init_sensors()] - Configuring available sensors: ['heater_bed', 'temperature_sensor motherboard_temp', 'temperature_sensor raspberry_pi', 'extruder']
2021-11-29 15:28:54,254 [websockets.py:remove_websocket()] - Websocket Removed: 2805303696
2021-11-29 15:28:55,013 [app.py:log_request()] - 101 GET /websocket?token=GX5AIIWGKJRTIBLEE5BKOVFY2OIUXQWP (192.168.1.13) [TRUSTED_USER] 3.49ms
2021-11-29 15:28:55,014 [websockets.py:add_websocket()] - New Websocket Added: 2805343888
2021-11-29 15:33:07,854 [websockets.py:remove_websocket()] - Websocket Removed: 2805343888
2021-11-29 15:34:20,873 [app.py:log_request()] - 101 GET /websocket?token=XSDCQ55FOBKFREJ562UMAY6LKMSRFVIT (192.168.1.13) [TRUSTED_USER] 3.33ms
2021-11-29 15:34:20,874 [websockets.py:add_websocket()] - New Websocket Added: 2805515760
2021-11-29 15:38:19,777 [websockets.py:remove_websocket()] - Websocket Removed: 2805515760
2021-11-29 15:41:28,392 [app.py:log_request()] - 101 GET /websocket?token=JAUBH6OFANDRTRCW4SVFYAB7YATO2CCN (192.168.1.13) [TRUSTED_USER] 3.89ms
2021-11-29 15:41:28,393 [websockets.py:add_websocket()] - New Websocket Added: 2805517712
2021-11-29 15:42:18,447 [websockets.py:remove_websocket()] - Websocket Removed: 2805517712
2021-11-29 15:42:19,959 [app.py:log_request()] - 101 GET /websocket?token=ZXF563PYDS4IK5UXDAQQU6EVVU2Z63K4 (192.168.1.13) [TRUSTED_USER] 5.33ms
2021-11-29 15:42:19,960 [websockets.py:add_websocket()] - New Websocket Added: 2804835472'
Additional information
The debugging tools shows the SVG is updating constantly
The text was updated successfully, but these errors were encountered: