FAQ  •  Register  •  Login

Unable to connect to a remote UPNP server

<<

Shele

User avatar

Serviio newbie

Posts: 1

Joined: Fri Apr 05, 2019 4:16 am

Location: San Marcos, CA

Post Fri Apr 05, 2019 7:01 am

Unable to connect to a remote UPNP server

Hi all

I have a problem with kodi (18.1) and a remote UPNP server (Serviio on a synology NAS)

I have successfully added the source and i can see my video but, after a reboot, if i try to open the source i receive this error: "unable to connect to the server".

If i go in system-->settings-->services-->UPnP/DLNA and disable and enable "Share my livraries" then i can accesso to the remote DLNA server.

This is the first debug log, when i get the error:

  Code:
15:14:32 T:1833792432   DEBUG: PushCecKeypress - received key  b duration 0
15:14:32 T:1945346624   DEBUG: OnKey: 11 (0x0b) pressed, action is Select
15:14:32 T:1945346624   DEBUG: CGUIMediaWindow::GetDirectory (upnp://223a9375-eb61-3269-abcf-3ad9f2e63b1f/)
15:14:32 T:1945346624   DEBUG:   ParentPath = [sources://video/]
15:14:32 T:1760981936  NOTICE: Thread JobWorker start, auto delete: true
15:14:32 T:1760981936    INFO: Platinum [platinum.media.server.browser]: Device (223a9375-eb61-3269-abcf-3ad9f2e63b1f) not found in our list of servers
15:14:32 T:1945346624   ERROR: GetDirectory - Error getting upnp://223a9375-eb61-3269-abcf-3ad9f2e63b1f/
15:14:32 T:1945346624   ERROR: CGUIMediaWindow::GetDirectory(upnp://223a9375-eb61-3269-abcf-3ad9f2e63b1f/) failed
15:14:32 T:1945346624   DEBUG: CGUIMediaWindow::GetDirectory (sources://video/)
15:14:32 T:1945346624   DEBUG:   ParentPath = []
15:14:32 T:1852830640  NOTICE: Thread BackgroundLoader start, auto delete: false
15:14:32 T:1945346624   DEBUG: ------ Window Init (DialogOK.xml) ------
15:14:32 T:1833792432   DEBUG: PushCecKeypress - received key  b duration 70
15:14:32 T:1852830640   DEBUG: Thread BackgroundLoader 1852830640 terminating
15:14:34 T:1833792432   DEBUG: PushCecKeypress - received key  b duration 0
15:14:34 T:1945346624   DEBUG: OnKey: 11 (0x0b) pressed, action is Select
15:14:34 T:1833792432   DEBUG: PushCecKeypress - received key  b duration 70
15:14:34 T:1945346624   DEBUG: ------ Window Deinit (DialogOK.xml) ------

This is the second debug log, when i can access to the source:
  Code:
15:16:01 T:1833792432   DEBUG: PushCecKeypress - received key  b duration 0
15:16:01 T:1945346624   DEBUG: OnKey: 11 (0x0b) pressed, action is Select
15:16:01 T:1945346624   DEBUG: CGUIMediaWindow::GetDirectory (upnp://223a9375-eb61-3269-abcf-3ad9f2e63b1f/)
15:16:01 T:1945346624   DEBUG:   ParentPath = [sources://video/]
15:16:01 T:1760981936    INFO: Platinum [neptune.threads.posix]: NPT_PosixThread::NPT_PosixThread
15:16:01 T:1623184304    INFO: Platinum [neptune.http]: requesting URL http://192.168.1.6:8895/serviceControl
15:16:01 T:1623184304    INFO: Platinum [neptune.http]: calling connector (proxy:no) (http 1.1:yes) (url:http://192.168.1.6:8895/serviceControl)
15:16:01 T:1623184304    INFO: Platinum [neptune.tls]: looking for a connection to reuse
15:16:01 T:1623184304    INFO: Platinum [neptune.tls]: reusing connection
15:16:01 T:1623184304    INFO: Platinum [neptune.http]: got connection (reused: true)
15:16:01 T:1623184304    INFO: Platinum [neptune.http]: sending body stream, 949 bytes
15:16:01 T:1623184304    INFO: Platinum [platinum.media.server.didl]: Parsing Didl...
15:16:01 T:1639961520  NOTICE: Thread BackgroundLoader start, auto delete: false
15:16:01 T:1639961520   DEBUG: Thread BackgroundLoader 1639961520 terminating
15:16:01 T:1833792432   DEBUG: PushCecKeypress - received key  b duration 69


this is what appen when i disable and enable "share my libraries"

  Code:
15:15:27 T:1852830640  NOTICE: Platinum [platinum.core.ctrlpoint]: Inspecting device "223a9375-eb61-3269-abcf-3ad9f2e63b1f" detected @ http://192.168.1.6:8895/deviceDescription/223a9375-eb61-3269-abcf-3ad9f2e63b1f
15:15:27 T:1852830640    INFO: Platinum [neptune.threads.posix]: NPT_PosixThread::NPT_PosixThread
15:15:28 T:1852830640  NOTICE: Platinum [platinum.core.ctrlpoint]: Inspecting device "52554976-3247-5265-6D6F-0019fb33b1f0" detected @ http://192.168.1.102:49153/description0.xml
15:15:28 T:1852830640    INFO: Platinum [neptune.threads.posix]: NPT_PosixThread::NPT_PosixThread
15:15:28 T:1639961520    INFO: Platinum [neptune.http]: requesting URL http://192.168.1.6:8895/deviceDescription/223a9375-eb61-3269-abcf-3ad9f2e63b1f
15:15:28 T:1639961520    INFO: Platinum [neptune.http]: calling connector (proxy:no) (http 1.1:yes) (url:http://192.168.1.6:8895/deviceDescription/223a9375-eb61-3269-abcf-3ad9f2e63b1f)
15:15:28 T:1639961520    INFO: Platinum [neptune.tls]: looking for a connection to reuse
15:15:28 T:1639961520    INFO: Platinum [neptune.tls]: TLS connector will connect to 192.168.1.6:8895
15:15:28 T:1639961520    INFO: Platinum [neptune.http]: got connection (reused: false)
15:15:28 T:1639961520  NOTICE: Platinum [platinum.core.ctrlpoint]: Device "223a9375-eb61-3269-abcf-3ad9f2e63b1f" is now known as "Serviio (DiskStation)" (http://192.168.1.6:8895/deviceDescription/223a9375-eb61-3269-abcf-3ad9f2e63b1f)
15:15:28 T:1639961520    INFO: Platinum [neptune.threads.posix]: NPT_PosixThread::NPT_PosixThread
15:15:28 T:1744204720    INFO: Platinum [neptune.http]: requesting URL http://192.168.1.6:8895/serviceDescription/ConnectionManager


it's a bug?
<<

Meelis

User avatar

DLNA master

Posts: 116

Joined: Mon Aug 13, 2012 6:00 pm

Location: Estonia

Post Fri Apr 05, 2019 9:45 pm

Re: Unable to connect to a remote UPNP server

Its a question probably to Kodi forum. Use serviio in nas. I have them both actually and they both are working. I would recommend serviio in this situation. Less problems. Kodi is not use serviio server at all. Kodi just reading files from shared folders. There own tricks how to setup it correctly in nas.
<<

atc98092

User avatar

DLNA master

Posts: 5214

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Fri Apr 05, 2019 10:07 pm

Re: Unable to connect to a remote UPNP server

Are you using Kodi as your player connected to a display, or is it acting as a server, and you are connecting to Serviio as a media source? I use Kodi and MrMC (a Kodi fork) on my Shield as a player for accessing Serviio, and have no issues.

My only gripe with Kodi and its various forks is that it ignores the file sort that Serviio offers and instead sorts the media on its own selection. That's fine for the Titles, Movies and Folders presentations, but it's terrible for Last Added and Playlists.
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 55 guests

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