Skip to content
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

Loading animation (load bar and spinning circle) stay infinitely on #3791

Closed
3 tasks done
jfhautenauven opened this issue Jul 2, 2024 · 11 comments
Closed
3 tasks done
Labels
bug Something isn't working

Comments

@jfhautenauven
Copy link

Checklist

  • I am not using Home Assistant. Or: a developer has told me to come here.
  • I have checked the troubleshooting section and my problem is not described there.
  • I have read the changelog and my problem is not mentioned there.

Deploy method

Snap

Z-Wave JS UI version

9.14.4

ZwaveJS version

12.12.1

Describe the bug

I noticed since a few days that the load animation on ZW JS UI stays there indefinitely and doesnt go away anymore.

image

It is not a blocking issue but I'm pretty sure it's a regression.

To Reproduce

Have ZW JS UI run a couple of hours.
Use Chrome navigator
Navigate to ZW JS UI
The loading is done. The load animation goes away for one second, then comes back until the end of times :)

Expected behavior

The load animation goes away when the page is loaded

Additional context

No response

@jfhautenauven jfhautenauven added the bug Something isn't working label Jul 2, 2024
@robertsLando
Copy link
Member

@jfhautenauven Could you show me what's on chrome network tab? Just to understand what's the outgoing request that causes that

@goofball222
Copy link

Also seeing this behavior. Nothing going as far as active connections in the Chrome dev tools network tab after the initial page load.

@robertsLando
Copy link
Member

robertsLando commented Jul 15, 2024

Do you have an easy way to reproduce this apart from having the tab inactive for a couple of hours?

@rcode6
Copy link

rcode6 commented Jul 18, 2024

Also having this happen in Firefox. Nothing noteworthy in the network requests (nothing hanging or errored).

This happens every page load for me. I don't even need to wait.

@robertsLando
Copy link
Member

robertsLando commented Jul 22, 2024

Do you guys have authentication enabled or not? https?

@rcode6
Copy link

rcode6 commented Jul 22, 2024

No authentication for me. Using a reverse proxy, https to nginx, then http to zwave-js-ui.

@rcode6
Copy link

rcode6 commented Jul 22, 2024

Tested a couple more scenarios.

Firefox Windows, Firefox IOS, Safari IOS all give me the infinite loading circle right on page load, but only if I access it through my reverse proxy (https to nginx, http to zwave js ui). If I skip the reverse proxy and go to zwave-js-ui via http to the IP, then the issue goes away.

Microsoft Edge is fine, with or without the reverse proxy.

@robertsLando
Copy link
Member

this could explain why I'm not able to reproduce this, I'm not running it behind a proxy. I will try to find out why this happens.

If others having this bug confirms me they are using a proxy too would be helpful

@robertsLando
Copy link
Member

I have been able to reproduce this only on firefox behind a reverse proxy with auth disabled. Seems that for some reason (axios or browser bug?) I get an axios event that tells me there is a download progress AFTER the request is done. This so spawns a new progress that remains there indeterminately.

Fixed on master now

@rcode6
Copy link

rcode6 commented Jul 22, 2024

Updated to 9.16.2, issue is fixed for me. Thanks!

@robertsLando
Copy link
Member

Thanks to you for providing me the informations to reproduce the issue :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants