The jist of it is I have headphones and speakers that I try to switch between using a zigbee button, but sometimes until I restart hassagent this won't work at all
I think something is crashing and not recovering properly. Here's the -only- logs during this time
2025-01-24 17:24:46.891 +02:00 [INF] [MEDIA] New state: Paused2025-01-24 17:24:54.969 +02:00 [INF] [MEDIA] New state: Playing2025-01-24 17:28:57.860 +02:00 [INF] [MEDIA] New state: Paused2025-01-24 18:27:53.691 +02:00 [WRN] [MEDIA] No MediaSession active2025-01-24 18:27:54.797 +02:00 [ERR] [NET] [ConnectionRefused] No connection could be made because the target machine actively refused it.2025-01-24 18:28:40.049 +02:00 [INF] [HASS_API] Server recovered from failed state2025-01-24 18:59:45.782 +02:00 [FTL] [PROGRAM] FirstChanceException: Unable to read data from the transport connection: The I/O operation has been aborted because of either a thread exit or an application request..System.IO.IOException: Unable to read data from the transport connection: The I/O operation has been aborted because of either a thread exit or an application request.. ---> System.Net.Sockets.SocketException (995): The I/O operation has been aborted because of either a thread exit or an application request. --- End of inner exception stack trace --- at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token) at System.Net.Http.HttpConnection.<CheckUsabilityOnScavenge>g__ReadAheadWithZeroByteReadAsync|45_0()
2025-01-24 17:24:46.891 +02:00 [INF] [MEDIA] New state: Paused2025-01-24 17:24:54.969 +02:00 [INF] [MEDIA] New state: Playing2025-01-24 17:28:57.860 +02:00 [INF] [MEDIA] New state: Paused2025-01-24 18:27:53.691 +02:00 [WRN] [MEDIA] No MediaSession active2025-01-24 18:27:54.797 +02:00 [ERR] [NET] [ConnectionRefused] No connection could be made because the target machine actively refused it.2025-01-24 18:28:40.049 +02:00 [INF] [HASS_API] Server recovered from failed state2025-01-24 18:59:45.782 +02:00 [FTL] [PROGRAM] FirstChanceException: Unable to read data from the transport connection: The I/O operation has been aborted because of either a thread exit or an application request..System.IO.IOException: Unable to read data from the transport connection: The I/O operation has been aborted because of either a thread exit or an application request.. ---> System.Net.Sockets.SocketException (995): The I/O operation has been aborted because of either a thread exit or an application request. --- End of inner exception stack trace --- at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token) at System.Net.Http.HttpConnection.<CheckUsabilityOnScavenge>g__ReadAheadWithZeroByteReadAsync|45_0()
After it's just other "new state playing" or paused or etc
Recent Announcements
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
H
HASS.Agent
HASS.Agent's discord community server for getting help and chatting with other users.