I set up a project for tests with mappView in AS 6.1. Most things work well, however with the VNCViewer widget I failed to establish a connection to a VNC server.
In the widget, there is a progress indicator and a message Failed when connecting: Server could not be reached, please check the network configuration and the server status - Connection closed(code: 1000) - Reconnection after 10s
I got this for a matrix of test cases: with/without authentication, port 5900/5800 on the server, server running on a PC (where it is accessible from another PC) vs server running on the PLC itself (VC4, server IP 127.0.0.1). In all these cases it was possible to connect to the server using a regular VNC client.
Thanks for metioning the TCP proxy, I wasn’t aware of that. However, the behavior remains unchanged also with active TCP proxy. Tested with VC4 on PLC, using both 127.0.0.1 and 192.168.x.y where I can access the VC4 from my desktop at 192.168.x.y:5900 with authentification.
You did not directly mention it … but did you also configure the roles?
The VNC connection can only be established, if the currently logged in HMI user, has the configured role …
I saw the roles field before but couldn’t select any. Apparently the system roles are not available for this. So after your replies I created a dedicated role and with this, it is possible to connect
However, the behvaior still seems a bit odd. I am getting an empty/gray area in the widget most of the time, and only briefly there is a black area with a gray bar with a keyboard icon showing up at the top.