FAQ  •  Register  •  Login

Serviio 1.9: Anyway to stop the Internet access check?

<<

norm

Serviio lover

Posts: 60

Joined: Tue Apr 09, 2013 3:18 pm

Post Sun Aug 06, 2017 8:11 am

Serviio 1.9: Anyway to stop the Internet access check?

Hi Folks

Just noticed that since the upgrade to 1.9 that Serviio now checks for that the Serviio external ports are available from the internet every hour. This wakes the disks on my NAS. Is there anyway of disabling this? Or changing the interval?
  Code:
2017-08-06 09:04:20,073 INFO  [PortMappingChecker] Running a check for external mapping of port 23524 on 'MY-INTERNET-WAN-IP'
2017-08-06 09:04:23,491 INFO  [YouGetSignalPortCheckerProvider] Port 23524 is closed
It is pretty pointless for me as I use a VPN to connect to Serviio remotely.

Thanks
<<

DenyAll

DLNA master

Posts: 2074

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Mon Aug 07, 2017 1:51 pm

Re: Serviio 1.9: Anyway to stop the Internet access check?

Try unchecking "Automatically configure your router to allow incoming Internet connections" on the Remote Tab of Serviio Console and see if that helps.
DenyAll
Panasonic Viera CS610A | Panasonic Viera V20A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.9 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 16511

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Aug 07, 2017 6:12 pm

Re: Serviio 1.9: Anyway to stop the Internet access check?

No it's not possible. It's to enable the future remote integrations, like Alexa.
<<

norm

Serviio lover

Posts: 60

Joined: Tue Apr 09, 2013 3:18 pm

Post Mon Aug 07, 2017 7:11 pm

Re: Serviio 1.9: Anyway to stop the Internet access check?

Thanks Zip for the confirmation. I have muffled the logging of [PortMappingChecker] and [YouGetSignalPortCheckerProvider] by adding the following to my log4j.xml file as per http://wiki.serviio.org/doku.php?id=debug_filter
  Code:
<category name="org.serviio.upnp.service.contentdirectory.rest.access.YouGetSignalPortCheckerProvider">
      <priority value="OFF"/>
</category>
<category name="org.serviio.upnp.service.contentdirectory.rest.access.PortMappingChecker">
      <priority value="OFF"/>
</category>
See if this helps my drives to sleep :). Time will tell... Thanks
<<

atc98092

User avatar

DLNA master

Posts: 2269

Joined: Fri Aug 17, 2012 10:22 pm

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

Post Mon Aug 07, 2017 10:35 pm

Re: Serviio 1.9: Anyway to stop the Internet access check?

The process is still going to run. All you did was block it from being logged. Have my doubts it will alter the behavior you are hoping for. ;)
Dan

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
<<

norm

Serviio lover

Posts: 60

Joined: Tue Apr 09, 2013 3:18 pm

Post Sat Aug 12, 2017 11:14 am

Re: Serviio 1.9: Anyway to stop the Internet access check?

Its ok. It was my backup software writing to a log every 2-4mins that was the cause. Not serviio who seems well behaved

Sent from my HTC One M9 using Tapatalk
<<

VGER

Serviio newbie

Posts: 2

Joined: Sun Oct 07, 2012 11:14 am

Post Mon Oct 09, 2017 2:39 pm

Re: Serviio 1.9: Anyway to stop the Internet access check?

This check throws an exception every time:

  Code:
2017-10-09 16:14:39,193 INFO  [PortMappingChecker] Running a check for external mapping of port 23524 on '[ext.IP]'
2017-10-09 16:14:59,642 WARN  [UserDataUpdater] There was an error updating user data
java.net.SocketTimeoutException: connect timed out
   at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method)
   at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
   at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
   at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
   at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
   at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
   at java.net.Socket.connect(Socket.java:589)
   at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
   at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
   at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
   at sun.net.www.http.HttpClient.<init>(HttpClient.java:242)
   at sun.net.www.http.HttpClient.New(HttpClient.java:339)
   at sun.net.www.http.HttpClient.New(HttpClient.java:357)
   at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1202)
   at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1138)
   at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
   at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:966)
   at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1546)
   at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
   at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
   at org.serviio.util.HttpClient.retrieveStreamFromConnection(HttpClient.java:173)
   at org.serviio.util.HttpClient.getStreamFromURL(HttpClient.java:103)
   at org.serviio.util.HttpClient.retrieveTextFileFromURL(HttpClient.java:42)
   at org.serviio.upnp.service.contentdirectory.rest.access.TuqPortCheckerProvider.isPortOpen(TuqPortCheckerProvider.java:20)
   at org.serviio.upnp.service.contentdirectory.rest.access.PortMappingChecker.isPortOpen(PortMappingChecker.java:39)
   at org.serviio.upnp.service.contentdirectory.rest.access.UserDataUpdater.isSSLPortOpen(UserDataUpdater.java:178)
   at org.serviio.upnp.service.contentdirectory.rest.access.UserDataUpdater.doUpdateUserData(UserDataUpdater.java:101)
   at org.serviio.upnp.service.contentdirectory.rest.access.UserDataUpdater.access$200(UserDataUpdater.java:32)
   at org.serviio.upnp.service.contentdirectory.rest.access.UserDataUpdater$UserDataUpdaterRunner.run(UserDataUpdater.java:193)
   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
   at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
   at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
   at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
   at java.lang.Thread.run(Thread.java:748)


Can't this be made switchable?

Regards
<<

lagunaa

Streaming enthusiast

Posts: 42

Joined: Thu Jan 07, 2016 1:57 pm

Post Tue Oct 10, 2017 11:56 am

Re: Serviio 1.9: Anyway to stop the Internet access check?

It should be fixed on next release v1.9.1; see https://bitbucket.org/xnejp03/serviio/i ... ing-up-nas.
Cheers.

Return to Serviio Support & Help

Who is online

Users browsing this forum: Bing [Bot] and 12 guests

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