# RTDE connection issue with Eexternal Ccontrol URcap on docker image

**URL:** <https://forum.universal-robots.com/t/rtde-connection-issue-with-eexternal-ccontrol-urcap-on-docker-image/29841>\
**Category:** Technical Questions\
**Created:** [August 4, 2023, 3:17am UTC](https://forum.universal-robots.com/t/rtde-connection-issue-with-eexternal-ccontrol-urcap-on-docker-image/29841 "2023-08-04T03:17:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon47102137](https://avatars.discourse-cdn.com/v4/letter/a/7993a0/32.png) [@anon47102137](https://forum.universal-robots.com/u/anon47102137)\
**Post date:** [August 4, 2023, 3:17am UTC](https://forum.universal-robots.com/t/rtde-connection-issue-with-eexternal-ccontrol-urcap-on-docker-image/29841/1 "2023-08-04T03:17:01Z")

</div>

Hi UR forum,

I am using the URCaps starter package version 1.13.0, which includes a linux VM. On my Windowns machine, I am running the linux VM which is running a docker image. I want to use the RTDE python library made by UR ([GitHub - UniversalRobots/RTDE\_Python\_Client\_Library: RTDE client library and examples](https://github.com/UniversalRobots/RTDE_Python_Client_Library/tree/main)). In the readme file, it says I can connect to the docker, shown in the image below.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/5/5acfc1dfc9c9e991a75470566f2cbe6885dc6de7.png)

I was able to set up the docker image using this link ([Docker](https://hub.docker.com/r/universalrobots/ursim_e-series)) and get it to run on VMware. The same dockerhub link says I that I could set up the external control urcap ([GitHub - UniversalRobots/Universal\_Robots\_ExternalControl\_URCap: Example implementation of how to use ROS driver on-demand in a URCap.](https://github.com/UniversalRobots/Universal_Robots_ExternalControl_URCap)), and I was able to add it to the custom docker image. I have also downloaded pycharm on VMware and opened up UR’s python code ([GitHub - UniversalRobots/RTDE\_Python\_Client\_Library: RTDE client library and examples](https://github.com/UniversalRobots/RTDE_Python_Client_Library/tree/main)).

When I run example\_control\_loop.py, it throws the error "No handlers could be found for logger ‘rtde’ ", see image below.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/9/9b9a476a07dbced38df69188844755c8b3babfb8.png)  
I think the error has something to do with the host and port variables that I enter on the docker URsim. I can rule out the ROBOT\_HOST and ROBOT\_PORT variables in pycharm because when the ROBOT\_HOST is “some random text,” it throws a different error  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/7/7c1a72fba7ff47fe41a9265064407f1886e8f57c.png)

The external control URcap asks for the “Host IP,” but I am not sure if it should be the ip address of the docker, VMware, my Windows machine, or any of the ip addresses in the image below.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/6/6ddc205f2983e6f8f3976d357f8033eb5cfcd1a7.png)

What should I set the Host IP and Port to in the external control urcap in the docker image? Is there any way to access the terminal/shell inside the docker image that is running URsim?

Thank you for any help!
