hyperblast / beefweb

Web interface plugin for DeaDBeeF and foobar2000 players
MIT License
247 stars 30 forks source link

Slow when loading playlist on remote machines #211

Open Bouby308 opened 2 years ago

Bouby308 commented 2 years ago

It takes about 5 seconds to load the playlist on remote machines when loading the playlist for the first time or changing the playlist.

I have checked the log of foobar2000 and I saw "beefweb: handleWriteResponseBody: An established connection was aborted by the software in your host machine" when I change the playlist on remote machines.

This does not happen when I am using it on the local machine.

hyperblast commented 2 years ago

Hi, I need some info on your environment.

What is type of your network? Ethernet or Wi-Fi? Does the ping goes well? E.g. ping server_ip from client side. Is there a chance you are using some firewall (on either client or server)? Try disabling it and check if behavior changes.

Bouby308 commented 2 years ago

My PC is running windows 10, foobar2000 1.6.11 connected via ethernet. The clients are MacBook using Chrome connected via wifi and iPad using safari connected via wifi.

I tried pinging to the host PC from my Mac. The results seem good.

螢幕截圖 2022-07-24 下午7 01 54

I tired disabling the firewall but there is no performance improvements. I also tried reinstalling foobar2000 and the beefweb component but it doesn't help.

Chrome dev tools show it takes more than 5 seconds to wait for the server response.

螢幕截圖 2022-07-24 下午6 59 13