FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important
information on the platform change.
02-01-2024 07:19 PM
I am trying to run the Python SDK Samples, when I run the datalayer.client.light example. I get the error:
ERROR Connecting tcp://boschrexroth:boschrexroth@<ip-address>?sslport=8443 failed.
Do I need to configure something in the ctrlX CORE that allows for the connection through port 8443?
Solved! Go to Solution.
02-01-2024 10:21 PM - edited 02-01-2024 11:39 PM
Are you installing the datalayer client sample on a ctrlX CORE Virtual, physical device, or are you running the sample within the App Build Environment? With default settings, you should not need to configure anything related to the port. You do however need to make sure the credentials, ip address and port used in the sample connection are valid on your device.
See the comments within the helper file.
02-02-2024 08:15 AM
Agree with @Sgilk
In a qemu-base environment (like the App Build Environment) the connection to a ctrlX CORE virtual works like this:
tcp://<user>:<pw>@<ip-adress-of-ctrlX-CORE>
example: tcp://boschrexroth:boschrexroth@192.168.1.1
tcp://<user>:<pw>@10.0.2.2?sslport=8443
Remarks:
* 10.0.2.2 is the IP address of the host (windows) from the point of view of the QEMU VM. (This is propably different to your WSL)
* 8443 is the host port which is forwarded to the SSL port (=433) of the ctrlX CORE virtual