Postby stationcake » 21 Feb 2024 23:28
I also have this issue and it also started with version 3.5.0. It happens on both my iPad and iPhone running the iOS 17.3.1.
However, I have found a work-around that works *for me*. In my case I'm connecting to a Samba server that is hosted on an ubuntu server. This same ubuntu server also hosts a few other services, but I have firewalled them off because I do not want my iPhone or iPad to be able to access them. But what seems to be happening is that that VLC can somehow discover these services through bonjour or avahi directory service, but then is upset that it can't actually reach them even if I never pick them from the menu. It's as part of the listing of the servers in the Network tab that it goes ahead and tries to connect to the servers on the expected tcp ports and hangs because the firewall is not allowing it.
I discovered this because if I turn off the firewall on the server *completely*, VLC works just fine. When I re-enable the firewall to only allow the Samba ports, it doesn't work; VLC locks up upon listing the services. However, what I did discover is that if I unblock the ports of the services which are alphabetically just above the Samba services, in the order they are listed in the VLC network screen, VLC will not lock up and you can then access the Samba services just fine. The way I discovered this was I turned on verbose logging at my firewall and noticed that my iPhone was systematically trying to access the TCP ports of the services that were advertised by uPNP and bonjour whenever I click on the Network tab in VLC.
Similarly, if leave my firewall rules up and completely shutdown all the other network services on the Ubuntu server, things work fine as far as VLC is concerned, because those services are no longer being advertised as being available so it never tries to access the blocked-off firewalled ports.
So for now, my work-around (which I do not like) is I opened the firewall ports of the one service that is alphabetically higher than my Samba server to my iPhone. It's a "meh" work-around because I trust my iPhone not to do anything bad to this service, but there's no reason I should have to do this.
Hopefully this is helpful to the developers. I'd prefer the old behavior, or at least checkbox that allows me to force VLC to not investigate these other services unless I actually click on one.