Page 1 of 1

Serviio 1.9: Anyway to stop the Internet access check?

PostPosted: Sun Aug 06, 2017 8:11 am
by norm
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

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

PostPosted: Mon Aug 07, 2017 1:51 pm
by DenyAll
Try unchecking "Automatically configure your router to allow incoming Internet connections" on the Remote Tab of Serviio Console and see if that helps.

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

PostPosted: Mon Aug 07, 2017 6:12 pm
by zip
No it's not possible. It's to enable the future remote integrations, like Alexa.

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

PostPosted: Mon Aug 07, 2017 7:11 pm
by norm
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

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

PostPosted: Mon Aug 07, 2017 10:35 pm
by atc98092
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. ;)

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

PostPosted: Sat Aug 12, 2017 11:14 am
by norm
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

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

PostPosted: Mon Oct 09, 2017 2:39 pm
by VGER
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

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

PostPosted: Tue Oct 10, 2017 11:56 am
by lagunaa
It should be fixed on next release v1.9.1; see https://bitbucket.org/xnejp03/serviio/i ... ing-up-nas.
Cheers.