Announcement
Collapse
No announcement yet.
[Announce] Squeezelite-X
Collapse
X
-
Still hangs
Well, it's still hanging for me. I guess I'm done with this app. It's a really nice app when it works for me. I'll stick with logging in with my browser.Comment
-
R Greg DawsonSqueezelite-XComment
-
I guess you are. Seriously, though, as this is a community supported ecosystem and everyone that supports it is putting their own time into it on a voluntary basis and for free, I think a better attitude would be to help characterize and identify the problem so that it can be solved. Occasionally there are issues that I cannot test for and I cannot reproduce as I do not have the hardware and so on. So we rely on the community to help. Helping solve the problem is a way you can contribute to the effort, if you are so inclined. If not, that's fine too.
R Greg DawsonComment
-
R Greg DawsonSqueezelite-XComment
-
For this popup error I try with 2 ways : I shutdown the server and after I just stop the lms service with the same result. It is really necessary to be currently in playing mode and then shutdown the server to get this error. Don't hesitate if I can help you to test or to give some logs.
And don't be disappointed by the comments of some users, sometimes it is just assholes, sometime it is just a misunderstood due to hand writing.
Your software is awesome, it is really nice to have a good gui for the old squeezebox, it change from the old black screen of squeezelite and it saves hours of setup time ! Again, thank you !Comment
-
May be You could disable all the useless sound cards in Windows device manager, just let one, reboot and try again. Like this you will be able to know if a particular card trigger the problem.Comment
-
My server is running on Ubuntu (it is a VM but I don't think that it differs from a physical machine). Like you I didn't know for the different socket errors...stange
For this popup error I try with 2 ways : I shutdown the server and after I just stop the lms service with the same result. It is really necessary to be currently in playing mode and then shutdown the server to get this error. Don't hesitate if I can help you to test or to give some logs.
And don't be disappointed by the comments of some users, sometimes it is just assholes, sometime it is just a misunderstood due to hand writing.
Your software is awesome, it is really nice to have a good gui for the old squeezebox, it change from the old black screen of squeezelite and it saves hours of setup time ! Again, thank you !
R Greg DawsonSqueezelite-XComment
-
While I was looking at it, I noticed my Windows server gave a different reason and my code would stop retrying thinking it is the type of error it might as well stop on. But yours is actually continuing to try, which is why you are seeing the popup every 8 seconds. The only code that could cause those errors (I think) is a line of code where I tell the socket to "keep alive", but that happens immediately after I test that the connection is OK. But apparently there is something wrong with the socket. Yesterday, I made some changes to at least prevent those popups and I fixed that other issue. I uploaded that to the store yesterday, so you should get it in a day or two. I have been unable to reproduce it, so I'm not sure what is going on. Does what you are playing matter (e.g. streamed vs local file vs Podcast, etc)? Also, yes, lets look at the log (Ctrl-Shift-D in settings to enable).
R Greg Dawson
No more popups !Also it reconnects !
But the yellow warning icon at the top left doesn't refresh correctly. It stays after reconnecting. The red warning at the top right is working correctly.
To reproduce the problem :- play something on slx
- stop the lms server
- wait the disconnection on slx
- then start the server again -> after few seconds the red spot at the top right disappears but not the yellow warning at the top left.
- Funny thing : if you try again you won't have the same behavior : you have to close slx and restart it to reproduce the bug.
For the other issue, if you start slx before the lms server, the UI stay on the "squeezelite-x settings" page with "connection refused" at the bottom : it doesn't try to reconnect continuously.
I hope this helpsLast edited by schmurtz; 2020-08-13, 20:45.Comment
-
I know, me neither (but I was, so I apologize). Here is what would be helpful. When you get SLX to run, go into settings. Press Ctrl-Shift-D. This will enable the Debug settings. Enable Log File and set debug level to debug. This will create a debug file on your desktop when SLX is restarted. Then, when it does fail to start, lets look at the debug file and I will be able to see where and maybe why it hangs. That would be very helpful, if you could, thanks. I am suspecting something in either audio device enumeration or network interface enumeration. I know there are certain audio devices (like a certain capture card) that can cause the port audio library to hang. (The port Audio library is an open source portable audio library (used by squeezelite)), so I didn't write it, but I use it. Or it could be network related, for example a computer that has both wired and wifi network cards, and maybe some others, or virtual network cards that are messing things up. Sometimes it is hard to tell which network card is being used. Or if you switch from wired to wifi (switching cards), then this could cause an issue. I have code to handle stuff like this, but I may not be handling something right in your circumstance. Anyway, I'm eager to work with you on this, thanks.
R Greg Dawson
Roger that! I'll keep you posted.Comment
-
I know, me neither (but I was, so I apologize). Here is what would be helpful. When you get SLX to run, go into settings. Press Ctrl-Shift-D. This will enable the Debug settings. Enable Log File and set debug level to debug. This will create a debug file on your desktop when SLX is restarted. Then, when it does fail to start, lets look at the debug file and I will be able to see where and maybe why it hangs. That would be very helpful, if you could, thanks. I am suspecting something in either audio device enumeration or network interface enumeration. I know there are certain audio devices (like a certain capture card) that can cause the port audio library to hang. (The port Audio library is an open source portable audio library (used by squeezelite)), so I didn't write it, but I use it. Or it could be network related, for example a computer that has both wired and wifi network cards, and maybe some others, or virtual network cards that are messing things up. Sometimes it is hard to tell which network card is being used. Or if you switch from wired to wifi (switching cards), then this could cause an issue. I have code to handle stuff like this, but I may not be handling something right in your circumstance. Anyway, I'm eager to work with you on this, thanks.
R Greg Dawson
================================================== ===
INFO 16:01:44.464 ----------------------------------------------------------------------------------------------------
Program Start (8/13/2020)
----------------------------------------------------------------------------------------------------
INFO 16:01:44.466 Squeezelite-X (Legacy Build) (x64), Version: 2.6.32.0
Windows Version: Windows 10 (Version 10.0, Build 18363, 64-bit Edition)
CEF Version: 84.3.10.0 (Chrome: 84.0.4147.105)
CEF Cache Location: C:\Users\labballe\AppData\Local\SqueezeliteX\cache
CEF Cache Size: 7,961,125 bytes
INFO 16:01:44.466 ----------------------------------------------------------------------------------------------------
Main Form Create
----------------------------------------------------------------------------------------------------
INFO 16:01:44.517 Creating Main Browser
INFO 16:01:44.530 Log Window Created
INFO *16:01:44.553 Chromium Browser Created
INFO 16:01:44.602 ----------------------------------------------------------------------------------------------------
Start InitProgram
----------------------------------------------------------------------------------------------------
INFO 16:01:44.672 Server Discovery: [Deadwing] [69 ms]
INFO 16:01:44.672 Read Settings From Registry
INFO 16:01:44.676 Setting Lms.Host (HostName=Deadwing, Host=192.168.1.150)
INFO 16:01:44.677 ----------------------------------------------------------------------------------------------------
ConnectAll
----------------------------------------------------------------------------------------------------
DBUG *16:01:44.677 PaInfoGetOutputDeviceList - Start
INFO 16:01:44.680 Lms.ConnectTelnet called (Host=192.168.1.150:9090)
DBUG 16:01:44.680 DisconnectTelnet Called
INFO 16:01:44.681 Telnet.Status: Connecting to 192.168.1.150.
INFO 16:01:44.681 Telnet.Status: Connected.
DBUG 16:01:44.682 TelNet.Connect succeeded [1 ms]
INFO 16:01:44.688 SND (CLI): login moonloop ******
DBUG 16:01:44.688 ...Wait for login response
INFO 16:01:44.689 RCV (CLI): login moonloop ******
INFO 16:01:44.700 Authentication Succeeded. [12 ms]
INFO 16:01:44.701 SND (CLI): subscribe power,client,name,playlist,mixer
INFO 16:01:44.702 RCV (CLI): subscribe power,client,name,playlist,mixer
INFO 16:08:15.595 RCV (CLI): 00:04:20:2d:a3:2c client disconnect
INFO 16:08:37.726 RCV (CLI): 00:04:20:2d:a3:2c client reconnect
================================================== ===Attached FilesComment
-
I use the non-store installer so I can give you the result of the 2.6.33.0 now
No more popups !Also it reconnects !
But the yellow warning icon at the top left doesn't refresh correctly. It stays after reconnecting. The red warning at the top right is working correctly.
To reproduce the problem :- play something on slx
- stop the lms server
- wait the disconnection on slx
- then start the server again -> after few seconds the red spot at the top right disappears but not the yellow warning at the top left.
- Funny thing : if you try again you won't have the same behavior : you have to close slx and restart it to reproduce the bug.
For the other issue, if you start slx before the lms server, the UI stay on the "squeezelite-x settings" page with "connection refused" at the bottom : it doesn't try to reconnect continuously.
I hope this helps
R Greg DawsonSqueezelite-XComment
-
I wish I could reproduce that. It works fine here. If you are seeing that warning icon, then I'm not sure that the CLI interface actually reconnected, so you may be seeing the web interface (http), but the CLI interface may not be connected or something is wrong with it. Try this: After is reconnects with the warning icon showing, over over the taskbar icon and see if the taskbar icon buttons work (like pause/play or volume up/dn). Anything else on your server that might be responding to port 9090? Might try going into LMS settings and changing CLI port to something else like 9091.
R Greg Dawson
Code:INFO 00:16:31.310 SND (CLI): 94:c6:91:a4:7b:0a mixer volume +5 ERROR 00:16:31.310 Exception (EIdConnClosedGracefully): Connection Closed Gracefully.
---------------------------------------------------
For the other issue (start slx without server running), you're able to reproduce it ? (the UI stay on the "squeezelite-x settings" page with "connection refused" at the bottom : it doesn't try to reconnect continuously, may be it should show the spinner indefinitely instead..). .. I've got this logs in this case :
Code:INFO 00:22:15.650 ---------------------------------------------------------------------------------------------------- Program Start (14/08/2020) ---------------------------------------------------------------------------------------------------- INFO 00:22:15.652 Squeezelite-X (Legacy Build) (x64), Version: 2.6.33.0 Windows Version: Windows 10 (Version 10.0, Build 17763, 64-bit Edition) CEF Version: 84.3.10.0 (Chrome: 84.0.4147.105) CEF Cache Location: C:\Users\xxx\AppData\Local\SqueezeliteX\cache CEF Cache Size: 11 201 319 bytes INFO 00:22:15.652 ---------------------------------------------------------------------------------------------------- Main Form Create ---------------------------------------------------------------------------------------------------- INFO 00:22:15.706 Creating Main Browser INFO 00:22:15.717 Log Window Created INFO *00:22:15.726 Chromium Browser Created INFO 00:22:15.727 ---------------------------------------------------------------------------------------------------- Start InitProgram ---------------------------------------------------------------------------------------------------- INFO 00:22:15.884 Server Discovery: No Servers Discovered [158 ms] INFO 00:22:15.884 Read Settings From Registry INFO 00:22:16.062 Setting Lms.Host (HostName=ubuntu-server, Host=ubuntu-server) INFO 00:22:16.127 ---------------------------------------------------------------------------------------------------- ConnectAll ---------------------------------------------------------------------------------------------------- INFO *00:22:16.198 PaInfoGetOutputDeviceList - Complete [71 ms] INFO 00:22:16.304 Lms.ConnectTelnet called (Host=ubuntu-server:9096) INFO 00:22:16.304 Telnet.Status: Resolving hostname ubuntu-server. INFO 00:22:16.317 Telnet.Status: Connecting to 192.168.1.25. ERROR 00:22:17.322 Exception in ConnectTelnet: Socket Error # 10061 Connection refused.[1018] INFO 00:22:17.322 EIdSocketError INFO 00:22:17.322 ConnectAll Complete ERROR 00:22:17.332 Connection refused. INFO 00:22:17.342 ---------------------------------------------------------------------------------------------------- End InitProgram [InitProgram: 1616 ms, Total: 1692 ms] ----------------------------------------------------------------------------------------------------
Comment
-
You're right the CLI is not reconnected. I admit that I cannot reproduce it systematically but there's something strange in this telnet reconnection.... I've check that nothing was on my 9090 port and I've also changed my port CLI to 9096 to be sure. And after that I've got the same behavior : when I stop the lms service, if the UI doesn't show the circle "loading" logo (white spinner at the center of the black screen) I know that it will not reconnect correctly. I have to disconnect the server often more than one time to get this result. After this problem I see that in the logs :
Code:INFO 00:16:31.310 SND (CLI): 94:c6:91:a4:7b:0a mixer volume +5 ERROR 00:16:31.310 Exception (EIdConnClosedGracefully): Connection Closed Gracefully.
---------------------------------------------------
For the other issue (start slx without server running), you're able to reproduce it ? (the UI stay on the "squeezelite-x settings" page with "connection refused" at the bottom : it doesn't try to reconnect continuously, may be it should show the spinner indefinitely instead..). .. I've got this logs in this case :
Code:INFO 00:22:15.650 ---------------------------------------------------------------------------------------------------- Program Start (14/08/2020) ---------------------------------------------------------------------------------------------------- INFO 00:22:15.652 Squeezelite-X (Legacy Build) (x64), Version: 2.6.33.0 Windows Version: Windows 10 (Version 10.0, Build 17763, 64-bit Edition) CEF Version: 84.3.10.0 (Chrome: 84.0.4147.105) CEF Cache Location: C:\Users\xxx\AppData\Local\SqueezeliteX\cache CEF Cache Size: 11 201 319 bytes INFO 00:22:15.652 ---------------------------------------------------------------------------------------------------- Main Form Create ---------------------------------------------------------------------------------------------------- INFO 00:22:15.706 Creating Main Browser INFO 00:22:15.717 Log Window Created INFO *00:22:15.726 Chromium Browser Created INFO 00:22:15.727 ---------------------------------------------------------------------------------------------------- Start InitProgram ---------------------------------------------------------------------------------------------------- INFO 00:22:15.884 Server Discovery: No Servers Discovered [158 ms] INFO 00:22:15.884 Read Settings From Registry INFO 00:22:16.062 Setting Lms.Host (HostName=ubuntu-server, Host=ubuntu-server) INFO 00:22:16.127 ---------------------------------------------------------------------------------------------------- ConnectAll ---------------------------------------------------------------------------------------------------- INFO *00:22:16.198 PaInfoGetOutputDeviceList - Complete [71 ms] INFO 00:22:16.304 Lms.ConnectTelnet called (Host=ubuntu-server:9096) INFO 00:22:16.304 Telnet.Status: Resolving hostname ubuntu-server. INFO 00:22:16.317 Telnet.Status: Connecting to 192.168.1.25. ERROR 00:22:17.322 Exception in ConnectTelnet: Socket Error # 10061 Connection refused.[1018] INFO 00:22:17.322 EIdSocketError INFO 00:22:17.322 ConnectAll Complete ERROR 00:22:17.332 Connection refused. INFO 00:22:17.342 ---------------------------------------------------------------------------------------------------- End InitProgram [InitProgram: 1616 ms, Total: 1692 ms] ----------------------------------------------------------------------------------------------------
R Greg DawsonSqueezelite-XComment
-
SLX came up. I Enabled Log File and set debug level to debug. SLX prompted to restart, which I did. App closed but didn't restart. I started app and it hung. It created a log file:
================================================== ===
INFO 16:01:44.464 ----------------------------------------------------------------------------------------------------
Program Start (8/13/2020)
----------------------------------------------------------------------------------------------------
INFO 16:01:44.466 Squeezelite-X (Legacy Build) (x64), Version: 2.6.32.0
Windows Version: Windows 10 (Version 10.0, Build 18363, 64-bit Edition)
CEF Version: 84.3.10.0 (Chrome: 84.0.4147.105)
CEF Cache Location: C:\Users\labballe\AppData\Local\SqueezeliteX\cache
CEF Cache Size: 7,961,125 bytes
INFO 16:01:44.466 ----------------------------------------------------------------------------------------------------
Main Form Create
----------------------------------------------------------------------------------------------------
INFO 16:01:44.517 Creating Main Browser
INFO 16:01:44.530 Log Window Created
INFO *16:01:44.553 Chromium Browser Created
INFO 16:01:44.602 ----------------------------------------------------------------------------------------------------
Start InitProgram
----------------------------------------------------------------------------------------------------
INFO 16:01:44.672 Server Discovery: [Deadwing] [69 ms]
INFO 16:01:44.672 Read Settings From Registry
INFO 16:01:44.676 Setting Lms.Host (HostName=Deadwing, Host=192.168.1.150)
INFO 16:01:44.677 ----------------------------------------------------------------------------------------------------
ConnectAll
----------------------------------------------------------------------------------------------------
DBUG *16:01:44.677 PaInfoGetOutputDeviceList - Start
INFO 16:01:44.680 Lms.ConnectTelnet called (Host=192.168.1.150:9090)
DBUG 16:01:44.680 DisconnectTelnet Called
INFO 16:01:44.681 Telnet.Status: Connecting to 192.168.1.150.
INFO 16:01:44.681 Telnet.Status: Connected.
DBUG 16:01:44.682 TelNet.Connect succeeded [1 ms]
INFO 16:01:44.688 SND (CLI): login moonloop ******
DBUG 16:01:44.688 ...Wait for login response
INFO 16:01:44.689 RCV (CLI): login moonloop ******
INFO 16:01:44.700 Authentication Succeeded. [12 ms]
INFO 16:01:44.701 SND (CLI): subscribe power,client,name,playlist,mixer
INFO 16:01:44.702 RCV (CLI): subscribe power,client,name,playlist,mixer
INFO 16:08:15.595 RCV (CLI): 00:04:20:2d:a3:2c client disconnect
INFO 16:08:37.726 RCV (CLI): 00:04:20:2d:a3:2c client reconnect
================================================== ===
R Greg DawsonLast edited by rgdawson; 2020-08-14, 21:46.Squeezelite-XComment
Comment