FAQ  •  Register  •  Login

Solution to 30 minute disconnect problem (v1.2.1)



Serviio newbie

Posts: 5

Joined: Mon Sep 07, 2015 4:33 am

Post Mon Sep 07, 2015 9:41 pm

Re: Solution to 30 minute disconnect problem (v1.2.1)

I have the same problem, exactly every 30 minutes serviio dissconects from my samsung tv.

However and this is driving me insane, it does not disconnect on a wired connection, only on a wireless one.

I use a Draytek 2850VN router which are extremely complicated to use, I've been using it for a few years now and I have a good understanding of the hundreds if not thousands of settings available to me, although most settings I just do not touch for fear of messing stuff up :lol:

Anyway, I use windows 10 and have eset smart security as my firewall and antivirus.
Serviio was working fine via wireless until friday, then all of a sudden it started to dissconnect exactly every half hour.

This is what I have done to try to and rectify the problem.

First I uninstalled serviio and then reinstalled, it still had the same problem, then I downgraded to version 1.5.1 and still the same, serviio would lose connection exactly every 30 minutes and although the TV was still physically signed into samsung and I could still go online with it and every other wireless device thats connected to my router, 14 in all, serviio just wouldnt reconnect. When it did disconnect, I opened up the console and pushed refresh and my tv was still there listed as green, I could press the button 20 times and it would remain green but in reality it was not connected to my tv, however if I deleted my tv from the list and then pushed refresh it would not appear in the list, only turning off the TV and turning it back on again would I get serviio to pick up the TV as green again, but as we all know it would bum out at the 30 min mark.

I have bound the TV to its own internal ip in my router, ( was already done when serviio was working ok for years and for weeks in windows 10 ) I have added serviio to the software firewall and my routers firewall, so that its allowed to travel through my internal network without any problems. IGMP snooping is enabled and always has been, UPNP is disabled and always has been, even when serviio was working ok via wireless .

Router firewall options that are enabled and always have been are;
Dos defence
Syn, udp and icmp flood and port scan defence are all enabled with a 200 packets a second threshold before kicking in and blocking the ip that is doing it.
Block; IP Options, Land, Smurf, Trace Route, Syn Fragment, Fraggle Attack, TCP Flag Scan, Tear Drop, Ping of Death, ICMP Fragment and also Block Unassigned Numbers, all those options are blocked.
Strict Security Firewall is enabled and Accept large incoming fragmented UDP or ICMP packets ( for some games, ex. CS )
is also enabled, also tried it with disabled, no go, but it was working ok previously with it enabled.

All the firewall options mentioned above have always been enabled even when serviio was working perfectly.
I also disabled both soft and hardware firewalls just to rule them out but to no avail.
Wireless freq is 5ghz and the TV gets the strongest signal possible according to the bars also long preamble is disabled since their is no need for it since the wireless connection is very good all throughout the house.

This is a very annoying problem, one that I've suffered from on and off for a number of years, when I say that its only happened a couple of times over the years but at the moment I am stuck using a wired connection to the tv, it works fine that way but its not a solution having a 5 metre cat6a cable crossing the living room floor.

Does anyone have any solutions ? As my next course of action is factory resetting the router yet again, but instead of loading up one of the different backup files to the router, I will do it all manually which I REALLY DONT wanna do as it will take a few hours in itself and then if it still doesnt work I will format windows 10 as it only takes about 10 minutes to do a clean install.

Is this a problem with our equipment or is it a problem with serviios code or is it an OS problem ?

Sorry for the long post but I was just describing what my settings are and what I have done to try and fix it.


Serviio newbie

Posts: 1

Joined: Sat Apr 08, 2017 11:53 am

Post Sat Apr 08, 2017 12:04 pm

Re: Solution to 30 minute disconnect problem (v1.2.1)

Do I have Huawei HG8245H does anyone know where this option is?
I have seen the IGMP Configuration option

Can somebody help me

Thanks in advance


Serviio newbie

Posts: 1

Joined: Wed Apr 26, 2017 3:28 pm

Post Wed Apr 26, 2017 3:35 pm

Re: Solution to 30 minute disconnect problem (v1.2.1)


I need your help about a problem that I have on my Serviio Server. My DLNA server disconnects after around 20-30 minutes when I play a movie.

My equipment:
- Samsung TV UE43KU6500 up to date
- router box from my ISP (SFR) up to date with only static IP (for TV, TV decoder, LAN PC, wifi….) for all my equipment and DHCP is ON.
- OS PC on windows 7 SP1 64bits up to date. Yesterday, I did a new windows installation.
- servio is up to date v1.8

I looked for a solution on internet and I found a lot of thing that I tested. But nothing solved myproblem.

My PC has only LAN connection (No wireless connection)

I tested:
- With wired connection between the router and the TV = NOK
- With wireless connection between the router and the TV = NOK
- I tested DLNA server Plex and Windows media player = NOK
- When I read the file with TV or TV decoder (from my ISP) on my PC with serviio, it’s the samething = NOK
- Disable my VPN = NOK
- Disable windows firewall and avira antivirus = NOK
- increase SSDP timeout with the option -Dserviio.advertisementDuration=864000 parameter in th option fil = NOK
- when I watch a movie from youtube, it is ok then internet connection is good.

Information : on my other PC (HP portable) with a wireless connection, same OS, same antivirus I tested during 2 movies and that was ok

could you help me ? i don't know what can i try ?

thank you.


User avatar

DLNA master

Posts: 2269

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state) - temporary assignment to Washington DC

Post Wed Apr 26, 2017 4:39 pm

Re: Solution to 30 minute disconnect problem (v1.2.1)

Are you saying the same problem happens with Plex and Windows Media Streaming, as well as Serviio? That certainly indicates a more general problem, and not Serviio specific. My money is on the ISP router. Can you test with a separate network switch, to take the router out of the equation? Plug all your devices (computer, TV, etc.) onto the switch, then connect the switch to the router. This way, if the switch built into the router is causing some sort of firewalling or route control it can be eliminated between your home network devices. You still need the connection to the router to provide DHCP and Internet access, although Internet access isn't necessary for Serviio to work.

If you still encounter issues with this arrangement, then the problem has to be with the computer. Anti-virus, firewall settings, other software interfering, I can't really say. But from your description I believe it's something to do with the network, and the ISP router seems most likely.

Panasonic ST30 Plasma, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Roku 2 XS, 4, Ultra and Stick, Yamaha RX-V679 AVR.
Primary server: Intel i5-6400, 8 gig ram, Windows 10 Pro, 18 TB hard drive space | Test server Windows 7 Home Premium, AMD Phenom II X4 965, 8 gig ram

Enable debug logging Identify video file contents


Serviio newbie

Posts: 1

Joined: Thu Aug 17, 2017 8:51 am

Post Thu Aug 17, 2017 10:19 am

Re: Solution to 30 minute disconnect problem (v1.2.1)


I use Serviio Pro 1.9 through my PC connected to my Box and watch videos on my Samsung TV and have the same issue with disconnections around 20-30 minutes.
UpNp is ON and I cant manage Multicast on my Box (French Provider Orange).
My Pc W10 is connected with cable ethernet to the Box but the TV player (Livebox 4 player of Orange ISp) is connected to the main box by Wireless. I also use the Mediacenter function of the TV player on my Samsung HD .

It looks like the Serviio service shutdown and restart, sometimes it takes 10 secondes to see it again and somtimes it stays visible.

Since today August 22 I cant see Serviio in the mediacenter..

I restarted box and player several times without any change.

I uninstall 1.8 and try to install 1.9 ang get these errors messages :

Now unable to uninstall or reinstall serviio , I follow the link in thee forum to the topic of the ffmepg update but was impossible to upgrade the file in the \lib folder.

I don't know why I've paid a licence if nobody helps me..

Does any one have a solution ?

I really would appréciate any helps.

August 23 : Today I try to install again version 1.9 but chage the install folder to D:\program Files and it works , I don't know if this will resolved my problem will check and update this topîc tomorrow .
August 24: I test with a cable ethernet today between the Livebox player and the libebox server and it works no disconnection, strange because my TV player is connected by wireless , I think this could be a n issue with the WiFi .
Looking to Wifi configuration in my admin console to make some changes and verifications.
August 26: Yesterday evening that was working fine, no disconnection at all strange .

Augus 27: After controoling my Wifi configuration and disable Gest Wifi Acces it seems to work fine non, not sure these settings are the solution to the problem for others but becasue of 2 range of WiFi 2.4Ghz and 5Ghz I disactive the 2.4 for Guest wifi access (external access) . Since this action everything looks fine.

Sept 13: after 10 days of holidays I come back holme yesterday and disconnection are back again, this makes me hungry !!

Thanks to the community

Regards :D :D
serviioservice.exe error
Serviio-error-serviioservice.PNG (65.9 KiB) Viewed 523 times
ffmepg error
Serviio-error-ffmpeg.PNG (58.19 KiB) Viewed 523 times


User avatar

DLNA master

Posts: 2269

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state) - temporary assignment to Washington DC

Post Sun Nov 12, 2017 9:49 pm

Re: Solution to 30 minute disconnect problem (v1.2.1)

I know it's been quite a while since you posted. My apologies for not responding sooner. I just overlooked it. :oops:

Those two errors that you provided screenshots for (thank you!) could be the same problem or could be two different things. First, the first error appears to be a permissions issue. Even though your user account may have administrator rights, sometimes you still need to take the extra step when installing and right-click the install file and select "Run as Administrator".

The second error could be the same issue as above, or it could be that ffmpeg is in use and can't be altered. Windows (unlike Linux) will not allow a file to be altered (replaced, removed or renamed) if it is in use. That makes me think that something (in this case Serviio itself) was still transcoding a file. Remember that simply stopping a video playback does not stop the transcoding process. If you open task manager and view processes by all users (that's the default in Windows 10, but 7 and earlier default to only processes running under your user account), chances are you'll see ffmpeg still running. The solution is to stop the ffmpeg process, and then you can attempt the install again.

Panasonic ST30 Plasma, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Roku 2 XS, 4, Ultra and Stick, Yamaha RX-V679 AVR.
Primary server: Intel i5-6400, 8 gig ram, Windows 10 Pro, 18 TB hard drive space | Test server Windows 7 Home Premium, AMD Phenom II X4 965, 8 gig ram

Enable debug logging Identify video file contents

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 11 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.