Kodi Community Forum

Full Version: vnsi protocol error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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...8f016749f1

But how can I get my clients back working?

Thanks

vanhaakonnen
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...8f016749f1

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.
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
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
there is no prebuilt vdr package for the required plugin afaik.
you can get the sources from https://github.com/pipelka/vdr-plugin-vnsiserver
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 */
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.