BrokenPipeError during remote connection to RoboDK API server可打印版本 +- RoboDK Forum (//m.sinclairbody.com/forum) +-- Forum: RoboDK (EN) (//m.sinclairbody.com/forum/Forum-RoboDK-EN) +--- Forum: RoboDK API (//m.sinclairbody.com/forum/Forum-RoboDK-API) +--- Thread: BrokenPipeError during remote connection to RoboDK API server (/Thread-BrokenPipeError-during-remote-connection-to-RoboDK-API-server) |
BrokenPipeError during remote connection to RoboDK API server-rshanor-06-23-2022 Hi, I am running RoboDK on my host machine (Windows 10) and trying to run a python script inside a Linux VM. I tried the following code:
Code:
RDK = robolink.Robolink(robodk_ip="172.27.128.1")
When I run this, I get the following error:
Code:
item = RDK.Item('base')
I do not think the issue is firewall related. Before opening the correct ports, the above code gives a different TimeoutError. Thanks for the help! RE: BrokenPipeError during remote connection to RoboDK API server-Albert-06-25-2022 Did you activate the option to enable the external API? Could you try a different port? The default port is 20500 but there could be another process is using this port and the API started in a different port. You'll find these settings here:
|