I migrated my Raspberry Pi setup from 3 to 4 and now my TV is losing the minidlna connection after about 10 minutes every time. This results in a movie replay beeing stopped. I can then instantly find the Pi again on the TVs menu and browse the files to resume watching. Sometimes, I am even still in the menu.
I tried to find out the reason for this, setting up a second SD-card, mounting the USB share over CIFS additionally, changing the notify time of minidlna and installing a brand new config file by re-installing minidlna.
Nothing solved the problem.
I had the impression that reducing the notification time resulted in earlier disconnections.
When I use my old Pi 3 on parallel to mount the drive hosted by the new Pi 4 with CIFS it will play with no problems. Meaning I use the same source of files with another physical Pi.
upnphttp.c:922: error: DNS rebinding attack suspected. But this is not connected to the disconnections, meaning, the message does not coincide with a disconnection.
I also saw messages like
upnp client disconnected but I can not find them any more.
nginx running, listening on some outside on ports but I can not relate them to the DNS rebinding attack stuff coming from minidlna.
Worth noting is maybe that I have several Pi's and I switched the SD-cards during the migration and I also setup some virtual lan hosts on the Pi with a script. I had the impression that this resulted in a virtual MAC address having the same IP as the physical MAC address on the other PI. I eventually reset everything and it works fine now but maybe the switches/router in my house did take some time to recognise this. I had troubles logging in via
ssh because of that. But it is all soved and there are no virtual MACs currently and there have not been for several days now.
Does anybody have an ideas?