Cannot connect to ctrlx datalayer from Linux host

Question: How can I connect to a ctrlx COREvirtual (running on a Windows guest), from a Linux host, using python package ctrlx-datalayer?

I have a Linux host and a Windows 10 Guest (using VirtualBox). Inside the Guest I succesfully installed ctrlx Works, PLC, etc. I added a VirtualControl (ctrlx COREvirtual) and it is online, including port forwarding, also to external. I disabled the firewall on my Guest.

From my (Linux) host, I am able to browse to the VirtualControl, using the IP from my Guest: LINK . See screenshot attached.

I installed the python package 'ctrlx-datalayer', and also installed the `ctrlx-datalayer-2.2.7.deb` from LINK .

I copied the script from LINK but (adapting) and running it I got the error:

ERROR Connecting tcp://boschrexroth:[email protected]?sslport=8443 failed.

What am I doing wrong? I think my approach is valid, right? Any suggestion would be great.

Best reply by pjbonestroo

My problem is solved! Today I installed version ctrlx WORKS 1.20 (instead of 1.12). Now it all works well 🙂

My python script running from Linux host connects to the COREvirtual and browses the datalayer successfully.

Since I downloaded ctrlX WORKS from the LINK ... I did not see version 1.20! But someone gave me the link to LINK ... and there also the 1.20 version is shown. So the nl site is not updated I guess, at moment of writing.

Thanks a lot for all your support!

View original
ctrlxCOREvirtual-from-linux-host.png
129.84KB
13 replies