Desktop UI - Could not get server version - 2

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
3 posts • Page 1 of 1
DanielRichter
Posts:6
Joined: Fri Jun 30, 2017 11:12 am

Desktop UI - Could not get server version - 2

Post by DanielRichter »

Hello everyone,

I have kind of the same problem as in this old thread:
Desktop UI - Could not get server version

But I couldn't solve it by just changing the port...


So here is my problem in detail:

I have a quite large WinCC OA Project, which I want to test with the Desktop UI. The project is running on the same local machine, which also runs the Desktop UI.
( The Desktop UI works fine with a small test-project on the same system). But every time I try to connect, the message "could not get server version" appears.

The project uses the ports 9001 (http) and 9002 (https). Both are not occupied by the system or another program, I checked that with netstat and TCPView.

I also used the Mobile UI App and could connect there with the project without problems.

Both the Desktop UI and WinCC OA have the same version (3.15.3).


Could it be possible, that during development, some kind of configuration (or CONTROL-code) led to this kind of behavior? Or is it just a configuration problem with my network and PC?

Maybe someone experienced something familiar?

I hope someone can help!

Greetings
Daniel

agruber
Posts:147
Joined: Tue Sep 07, 2010 2:52 pm

Re: Desktop UI - Could not get server version - 2

Post by agruber »

Hello,

The server needs to define the clientUpdateCheck function, as this is one of the first URLs the Desktop UI calls to check if there is an updated version on the server.

The webclient_http.ctl which we provide with WinCC OA does reply to that call accordingly.

Please ensure, that you use an unmodified version of webclient_http.ctl or make sure that your adapted version is based on the latest version of our webclient_http.ctl .

BR,
Andreas
Customer Care

DanielRichter
Posts:6
Joined: Fri Jun 30, 2017 11:12 am

Re: Desktop UI - Could not get server version - 2

Post by DanielRichter »

Well that helped a lot. It seems our webclient script isn't up to date anymore.

I switched the project webclient_http.ctl with the original from WinCC OA. This way the version text didn't appear anymore and I could register the device. But only after I commented these two rows out:

dpQueryConnectSingle("cbConnectUI", TRUE, "connect", "SELECT '_online.._value' FROM '_Ui_*.DisplayName' WHERE _DPT= \\"_Ui\\" AND '_online.._value' != \\"\\" ");
dpQueryConnectSingle("cbDisconnectUI", FALSE, "disconnect", "SELECT '_online.._value' FROM '_Ui_*.DisplayName' WHERE _DPT= \\"_Ui\\" AND '_online.._value' == \\"\\" ");
(before that, GEDI or any other UI Manager crashed right after starting)

Now I can open the project with the Desktop UI but after the login dialog nothing happens (log says: Connection lost, [...]). I guess this is because of the unmodified script I am using right now (or isn't it?).

Now it seems I have to adapt our webclient_http.ctl for the new version.

But thanks a lot. At least now I'm one step closer.

Regards
Daniel

3 posts • Page 1 of 1