I spent some time troubleshooting this today, related to the following issue I noticed with the Home Assistant Integration that mattkhan has published (
https://yabb.jriver.com/interact/index.php/topic,137808.msg958051.html#msg958051). This only seems to happen if I have MC open on a client on my network. My setup is MC Server running on Windows 11, and MC Client running on Mac. I also have an Amplipi (
https://www.micro-nova.com/amplipi) as a DLNA zone.
If I have my client Mac running, the GUI on the Mac will "freeze". I notice this because the Spectrum Analyzer will sit still mid-song. The music keeps playing though. This is also when the HA Integration reports that my MC server becomes unavailable. To be clear, the MC Integration is pointed at my Windows server, not my Mac MC instance. On the Windows server, I have the following that pop up in the log related to these timepoints (192.168.6.227 is my Mac IP):
0044325: 10128: Reader: CWinINetReader::Open: ConnectToURL failed, timed out (6000 ms), URL=http://192.168.6.227:52101/AVTransport/control
0044325: 10128: Reader: CWinINetReader::Close: Start
0044325: 2844: Reader: CWinINetReader::DownloadFromHTTPURL: Canceled (checked after HttpSendRequest)
0044325: 2844: Reader: CWinINetReader::DownloadFromHTTPURL: Finish (6048 ms)
0044325: 2844: Reader: CWinINetReader::Thread: Finish (6048 ms)
0044356: 10128: Reader: CWinINetReader::Close: Finish (31 ms)
0044356: 10128: Reader: CWinINetReader::Open: Finish (6079 ms)
0044356: 10128: General: CDLNADeviceServiceCaller::CallServiceFunction: DLNA function call failed or timeout! url = http://192.168.6.227:52101/AVTransport/control function = GetPositionInfo execution time = 6079.42 ms of 6000 ms.
0044356: 10128: Playback: CDLNADeviceControl::GetPosition: GetPosition returned NOT_IMPLEMENTED for RelTime
0044356: 10128: Sharing Plugins: JRWebService::Process: Finish (6079 ms)
0044356: 10128: Sharing Plugins: VHTTPMessage::Write: Wrote 393 bytes
0044356: 10128: Sharing Plugins: CHTTPListenerWorker::HandleConnection: Finish (7377810 ms)
When this happens, the Windows server GUI does not hang (I've had music playing on that so I can watch the Spectrum Analyzer as well). If I close the MC client and output to Player on the Windows 11 device, I see none of this behavior. I'm not sure what's happening, and not sure I totally would understand it, but it seems like my MC server gets pissed off that one client isn't acting like it should and this causes the HA Integration to report that my MC server is unavailable.
I set the DLA Controller to "Ignore Get Position Failures (for broken renderers)", but the problem remains (even after restarting MC on the Mac).
EDIT: I should also add that when this is happening, I have had a ping loop to google.com going on the Mac client. When the "hang" occurs, the pings continue successfully, so I don't think it's a network issue with the Mac.