Kodi Community Forum
vnsi protocol error - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+---- Forum: PVR (https://forum.kodi.tv/forumdisplay.php?fid=136)
+---- Thread: vnsi protocol error (/showthread.php?tid=97278)



vnsi protocol error - vanhaakonnen - 2011-03-20

Good morning,

I have a vdr 1.7.17 and some xbmc clients in my network. With the latest update of vdr/vnsi-plugin I have some trouble with my clients.

Here is the log-file:

Code:
Mar 19 22:52:11 vdr vdr: [2353] VNSI: Client with ID 1 connected: 192.168.100.31:51432
Mar 19 22:52:11 vdr vdr: [29452] VNSI-Error: Client '(null)' have a not allowed protocol version '1', terminating client
Mar 19 22:52:11 vdr vdr: [29452] VNSI-Error: Response handler failed during processPacket, exiting thread
Mar 19 22:52:21 vdr vdr: [29453] VNSI-Error: cxSocket::read: read() error at 0/4
Mar 19 22:52:26 vdr vdr: [2353] VNSI: Client with ID 1 seems to be disconnected, removing from client list
Mar 19 22:52:26 vdr vdr: [2353] VNSI: cConnection::~cConnection()
Mar 19 22:52:26 vdr vdr: [2353] VNSI: stopping cConnection thread ...Mar 19 22:52:26 vdr vdr: [2353] VNSI: done

I have found some changes here: https://github.com/opdenkamp/xbmc/commit/681bfa676b545b4b1ab1633bd0c81e8f016749f1

But how can I get my clients back working?

Thanks

vanhaakonnen


- Raptor 2101 - 2011-03-21

vanhaakonnen Wrote:Good morning,

I have a vdr 1.7.17 and some xbmc clients in my network. With the latest update of vdr/vnsi-plugin I have some trouble with my clients.

Here is the log-file:

Code:
Mar 19 22:52:11 vdr vdr: [2353] VNSI: Client with ID 1 connected: 192.168.100.31:51432
Mar 19 22:52:11 vdr vdr: [29452] VNSI-Error: Client '(null)' have a not allowed protocol version '1', terminating client
Mar 19 22:52:11 vdr vdr: [29452] VNSI-Error: Response handler failed during processPacket, exiting thread
Mar 19 22:52:21 vdr vdr: [29453] VNSI-Error: cxSocket::read: read() error at 0/4
Mar 19 22:52:26 vdr vdr: [2353] VNSI: Client with ID 1 seems to be disconnected, removing from client list
Mar 19 22:52:26 vdr vdr: [2353] VNSI: cConnection::~cConnection()
Mar 19 22:52:26 vdr vdr: [2353] VNSI: stopping cConnection thread ...Mar 19 22:52:26 vdr vdr: [2353] VNSI: done

I have found some changes here: https://github.com/opdenkamp/xbmc/commit/681bfa676b545b4b1ab1633bd0c81e8f016749f1

But how can I get my clients back working?

Thanks

vanhaakonnen

where you get the "latest" vnsi-plugin? From https://github.com/opdenkamp/xbmc/?


Both Clients and VNSI-Server must operate at the same Version of VNSI. So update both.


- succo - 2011-03-21

i just reverted -const static uint32_t VNSIProtocolVersion = 1; and it's working again... i guess some new version of vnsi uses protocol 2, but the one i'm using right now doesn't Smile


- vanhaakonnen - 2011-03-21

Hi,

I have the following repositories (on xbmc):

deb http://ppa.launchpad.net/yavdr/unstable-xbmc/ubuntu lucid main
deb-src http://ppa.launchpad.net/yavdr/unstable-xbmc/ubuntu lucid main
deb http://ppa.launchpad.net/yavdr/unstable-vdr/ubuntu lucid main
deb-src http://ppa.launchpad.net/yavdr/unstable-vdr/ubuntu lucid main

I think they have changed the versions of die vnsi-plugin on the vdr site but until not on xbmc.

@socco:
Where must I change the line when I use a prebuild repository vdr?

VanHaakonnen


- opdenkamp - 2011-03-22

there is no prebuilt vdr package for the required plugin afaik.
you can get the sources from https://github.com/pipelka/vdr-plugin-vnsiserver


- succo - 2011-03-22

Code:
xbmc/pvrclients/vdr-vnsi/vdrcommand.h
@@ -23,7 +23,7 @@
#define VDRCOMMAND_H

/** Current VNSI Protocol Version number */
-const static uint32_t VNSIProtocolVersion      = 2;
+const static uint32_t VNSIProtocolVersion      = 1;


/** Packet types */



- davissss - 2011-05-29

hello:

I am a novice user. I can not find the configuration file. Someone can tell me the full path.

Using 32bit Ubuntu 10.04.

thanks

hola:

Soy un usuario novato. No encuentro el fichero de configuraciĆ³n. Me puede decir alguien la ruta completa.

Uso ubuntu 10.04 32bit.