MinimServer Forum
Connection to MinimServer takes >5 min - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: Support (/forumdisplay.php?fid=4)
+--- Thread: Connection to MinimServer takes >5 min (/showthread.php?tid=7779)

Pages: 1 2


Connection to MinimServer takes >5 min - PeterG - 07-04-2026 14:40

Since the last update 274 of MinimServer (running on Synology NAS) it takes more than 5 min to establish the connection to MinimWatch on my Win11 laptop or any media player. I did not change anything in any configuration. The server from AudioStation connects as before (< 120 sec).


RE: Connection to MinimServer takes >5 min - simoncn - 07-04-2026 19:57

This sounds like a problem with UPnP multicast discovery on your network. The long connection time for the AudioStation server appears to confirm this. If multicast discovery is working correctly, both devices should be discovered in a few seconds.

You can find more information about multicast discovery problems on this page. As a first step, try powering off all your network equipment (router, switch, access point, etc.) as well as your NAS and your audio equipment and then power everything on again. If this doesn't help, check your router configuration to make sure IGMP snooping is not enabled.


RE: Connection to MinimServer takes >5 min - PeterG - 07-04-2026 20:25

(07-04-2026 19:57)simoncn Wrote:  This sounds like a problem with UPnP multicast discovery on your network. The long connection time for the AudioStation server appears to confirm this. If multicast discovery is working correctly, both devices should be discovered in a few seconds.
Just switched on my T+A media player. Connection to AudioStation server in 15 to 20 sec, to MinimServer about 7 min. And quite sure this did not happen before update 274. So it is hard to believe that there is a general problem with UPnP/DLNA.
To make it a bit more complicated. On my Android tablet I run BubbleUPnP and both servers appeared in 10 to 15 sec at the same time as UPnP/DLNA libraries.
Then I opened MinimWatch on my laptop and it took 6+ min to connect. Tablet and laptop WLAN connected.
Huh


RE: Connection to MinimServer takes >5 min - simoncn - 07-04-2026 21:27

There are no changes in update 274 that could cause the problem you are seeing. Were you running a much older version of MinimServer before you installed update 274?

If you are running MinimWatch on Windows, you need to make sure the network type is set to private and your firewall settings aren't blocking inbound connections to MinimWatch. Your firewall configuration needs to allow inbound connections to Java(TM) Platform SE binary.

If this doesn't solve the problem, check the MinimWatch log for error or warning messages. To show the MinimWatch log, select Options > Show log (watch) from the Windows system tray MinimWatch icon.

The UPnP discovery protocol relies on the client and server obeying strict rules for how the discovery exchange of messages should work. Some servers break the UPnP rules in order to cope with clients that also break the UPnP rules. MinimServer does not break the UPnP rules, so it needs the client to also follow these rules. This might be the reason that the other server can be discovered by your media player but MinimServer cannot.

A simple solution for the T+A issue might be to power everything off and on as I suggested in my previous post. Sometimes the client and server get out of sync for some reason and powering everything off and on solves the problem.


RE: Connection to MinimServer takes >5 min - PeterG - 07-04-2026 22:07

(07-04-2026 21:27)simoncn Wrote:  If this doesn't solve the problem, check the MinimWatch log for error or warning messages.
The log from the last connection is attached, no errors nor warnings.
[attachment=3542]
Btw: MinimServer is detected by the player and everything works fine as soon as the connection is established like it did for quite a long time before.


RE: Connection to MinimServer takes >5 min - simoncn - 07-04-2026 22:18

If you are still seeing the problem with MinimWatch, open the MinimWatch log window and set the logging level to Debug, then exit and relaunch MinimWatch. Save the MinimWatch log file, compress it and attach the compressed file to a post here.


RE: Connection to MinimServer takes >5 min - PeterG - 07-04-2026 22:43

(07-04-2026 22:18)simoncn Wrote:  If you are still seeing the problem with MinimWatch, open the MinimWatch log window and set the logging level to Debug, then exit and relaunch MinimWatch. Save the MinimWatch log file, compress it and attach the compressed file to a post here.
Here it is.

[attachment=3543]


RE: Connection to MinimServer takes >5 min - simoncn - 08-04-2026 21:54

Thanks for this log. It shows that MinimWatch is starting normally. As part of startup, MinimWatch sends a UPnP M_SEARCH multicast request, asking any running MinimServer instances to respond. This request was not received by MinimServer, almost certainly because UPnP messages from your PC are being blocked by IGMP snooping on your router. After some considerable time, MinimServer sends a UPnP NOTIFY message which isn't blocked by the router and MinimWatch receives this message and establishes contact with MinimServer.

BubbleUPnP is able to find MinimServer immediately because the device running BubbleUPnP is not being blocked by IGMP snooping, so MinimServer receives the M_SEARCH request sent by BubbleUPnP and responds immediately.

Because of the way IGMP snooping operates, it is common for some devices to be blocked when other devices aren't blocked. The simplest way to solve this problem is to disable IGMP snooping (not IGMP proxy) on your router. Is there a setting in your router to do this? What router do you have?


RE: Connection to MinimServer takes >5 min - PeterG - 09-04-2026 10:37

Router is AVM Fritz!Box 7583, as you could see from the configuration attached to each of my posts.
I don't know where to look on it for IGMP snooping and its settings.

Hardly can believe it, but I think I found the reason and solution for the mess.
On my NAS I had a firewall entry for the IGMP protokoll allowed without restrictions and standing first. I replaced it by an entry for UPnP/DLNA and the according MinimServer services (4 in total) and both servers showed up in a second on my T+A, laptop and in MinimWatch.
I'm very sorry for the inconvenience I caused and thank you for the time you invested by looking for a solution.
I've learned new things (IGMP + other) and that leaves it positiv. All this reminds me of a version of "Murphy's Law" for IT-surroundings:
Complex systems tend to complex error behaviour,
simple systems tend to complex error behaviour.


RE: Connection to MinimServer takes >5 min - simoncn - 09-04-2026 20:19

I am pleased to hear that you have found the cause of the problem and have been able to solve it.

Unfortunately the UPnP/DLNA/IGMP protocol is complex and nothing can be done to change this. When it doesn't work correctly, it can be difficult to find the setting that is causing the problem.