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

Whole Feishin client refuses to load anything for about 30 seconds when playing a new song #681

Closed
llek1000 opened this issue Jul 27, 2024 · 9 comments
Labels
bug Something isn't working

Comments

@llek1000
Copy link

llek1000 commented Jul 27, 2024

Expected Behavior

Play a song and be able to use the app (pull other data from the server) immediately.

Current Behavior

After playing a song, I have to wait about 30 seconds before I can load anything else (including playing another song, listing songs, opening lyrics - anything to do with the server). I do not think this has something to do with the navidrome server as the navidrome web interface is usable even during the "freeze" of the Feishin client.
image
image

Steps to Reproduce

  1. Play a song
  2. Try to play another song, or try to load anything from the server
  3. The client cannot load anything for about 30 seconds
  4. Wait for the client to unfreeze

Possible Solution

No response

Context

No response

Application version

0.7.1

Operating System and version

Windows 11

Server and Version

Navidrome v0.52.5

Node Version (if developing locally)

No response

@llek1000 llek1000 added the bug Something isn't working label Jul 27, 2024
@jeffvli
Copy link
Owner

jeffvli commented Jul 30, 2024

Unfortunately I haven't encountered this issue before which makes it hard for me to debug. If you have experience with React, you could try running the dev version and try to check exactly where the app is hitching.

Also, if you're connecting to your Navidrome server behind a reverse proxy, also try it using the local/private address.

@Gecksy
Copy link

Gecksy commented Aug 2, 2024

I'm also experiencing the same issue. I'm not sure what further information I can provide to help troubleshoot further.

It isn't all the time but it's enough to be annoying. I'm talking maybe 8 times/hour.
Randomly if I open a playlist or play a song it'll hang for ages and I'll get the 'this is taking awhile' message.

No playlists will load during this and it takes a good 30ish seconds for the media to start playing. Everything goes back to normal after the track starts playing but it's a bit jarring when it happens. I've cleared the app cache. I'm using the portable zip if that helps.

I'm using Feishin 0.7.3 on Win 11 if that helps.

Also thank you for developing such a great player. :)

@jeffvli
Copy link
Owner

jeffvli commented Aug 2, 2024

If you're on Navidrome and you double click a song on the Song page, it queues up the entire library (which if you have a large library it will take a while). You want to select the songs you want to play, right click, and use the play options from the context menu.

@Gecksy
Copy link

Gecksy commented Aug 2, 2024 via email

@llek1000
Copy link
Author

llek1000 commented Aug 2, 2024

Also, if you're connecting to your Navidrome server behind a reverse proxy, also try it using the local/private address.

Sorry for the late reply. You are correct, this was caused by my reverse proxy. I somehow did not try to access it directly via a private IP. Thank you very much for pointing this out! I am sorry for reporting this as a bug as it is not.

If anyone stumbles upon this, you have to have proxy_buffering off - now I was confused at first, because I thought that if the web app is working fine, that the reverse proxy config is fine as well - this is apparently not the case.

Oh, and of course, thank you very much for developing and maintaining such an amazing app!

Edit: Issue was not fixed by editing the buffers of the reverse proxy, and still persists, the freezing only happens when using the "Web Player", it works fine with MPV. See #608 for more.

@llek1000
Copy link
Author

This could maybe, possibly have something to do with the freezes?
image
It apparently has trouble loading the actual player?

image
The "stream.view?...." is the same as the one the player is deffering.

But I really do not know what I'm doing :)), so please correct me if I'm wrong.
I am posting this here, since I am connecting to Navidrome and not Jellyfin, but the issue seems to be the same.

@kgarner7
Copy link
Collaborator

My guess is that it's a problem with the server? Your errors do point to another issue resolved by 4c49e40. Please try https://feishin.vercel.app (or do a build yourself) to see if that is resolved.

@llek1000
Copy link
Author

The updated build on https://feishin.vercel.app/ seems to work fine. I am no longer getting any errors, I will continue to test this build today and post an update if the issue has been resolved.

@llek1000
Copy link
Author

llek1000 commented Sep 17, 2024

Okay, so after about 6 hours of testing, I have not encountered the freezing using the build on https://feishin.vercel.app/, so the issue seems to be fixed - hopefully this time for real! Thank you very much!

I will build the feishin client with the fix, and I will be using that for now, until this fix makes it into the next release.

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