NetXMS Support Forum

English Support => General Support => Topic started by: adimitrov on August 26, 2016, 02:25:10 PM

Title: server uses incompatible version of communication protocol after upgrade
Post by: adimitrov on August 26, 2016, 02:25:10 PM
Hello ,

After upgrading the NetXMS to latest snapshot from http://git.netxms.org/public/netxms.git/shortlog/refs/heads/develop?js=1 i cannot start the management or web console. I am getting error "server uses incompatible version of communication protocol". I saw a lot of topics for this issue and as far as i understand the problem could be in different versions/builds.

The netxmsd is version 2.1-M1 build 9000. web and management console are 2.0.5 build 8070 downloaded from https://www.netxms.org/download/ .

Already tried to undeploy and deploy back the .war file on the netxms server without success.
Title: Re: server uses incompatible version of communication protocol after upgrade
Post by: tomaskir on August 26, 2016, 02:45:17 PM
If you built the server from the dev snapshot (which means its newest dev code), you also need to build the client from the snapshot.

You simply have a too new version of server for what your client can support.
(which makes sense since you built the newest server from dev, but you are using the release client)
Title: Re: server uses incompatible version of communication protocol after upgrade
Post by: adimitrov on August 26, 2016, 03:03:15 PM
Sorry for the stupid question, but how to build it from the snapshot without .war file ?
Title: Re: server uses incompatible version of communication protocol after upgrade
Post by: tomaskir on August 26, 2016, 03:10:08 PM
There is multiple topics on the forum regarding the Console compilation, example:
https://www.netxms.org/forum/windows/compilation-of-a-netxms-console-in-eclipse/
Title: Re: server uses incompatible version of communication protocol after upgrade
Post by: Victor Kirhenshtein on August 27, 2016, 10:12:29 AM
There is also wiki page on building web console and exporting war file: https://wiki.netxms.org/wiki/How_to_setup_Eclipse/RAP (https://wiki.netxms.org/wiki/How_to_setup_Eclipse/RAP)

Best regards,
Victor
Title: Re: server uses incompatible version of communication protocol after upgrade
Post by: adimitrov on August 29, 2016, 02:34:19 PM
How about the management console ? I get the same error with it too ?
Title: Re: server uses incompatible version of communication protocol after upgrade
Post by: tomaskir on August 29, 2016, 02:35:40 PM
Its the same issue.

You need to compile the management console from sources to have the newest version which is compatible with the newest version of the server you compiled.
Title: Re: server uses incompatible version of communication protocol after upgrade
Post by: adimitrov on August 30, 2016, 02:48:11 PM
i am trying to compile this and when i get to the step with the package.cmd on windows i cannot locate it in my PC. It turns out that i installed the maven correctly (following the installation guide and checking with mvn -version once finished). I am totally new with such applications and i am lost, can i have some hints here ?