AirSim icon indicating copy to clipboard operation
AirSim copied to clipboard

msgpackrpc not communicating

Open crazymuse opened this issue 9 years ago • 9 comments

System configuration : Ubuntu 16.04, 64 bit. I have quoted the exact error log bellow. Any help or a hint would be appreciated.

WARNING:tornado.general:Connect error on fd 6: ECONNREFUSED

File "camera.py", line 34, in client.confirmConnection() File "/home/abc/AirSim/PythonClient/AirSimClient.py", line 160, in confirmConnection home = self.getHomeGeoPoint() File "/home/abc/AirSim/PythonClient/AirSimClient.py", line 169, in getHomeGeoPoint return GeoPoint.from_msgpack(self.client.call('getHomeGeoPoint')) File "/usr/local/lib/python3.5/dist-packages/msgpackrpc/session.py", line 41, in call return self.send_request(method, args).get() File "/usr/local/lib/python3.5/dist-packages/msgpackrpc/future.py", line 43, in get raise self._error msgpackrpc.error.TransportError: Retry connection over the limit

crazymuse avatar Nov 10 '17 12:11 crazymuse

Are you running AirSim successfully? Looks like either its not running or its not allowed to open TCP/IP ports.

sytelus avatar Nov 13 '17 22:11 sytelus

I also encountered this problem...

ghost avatar Nov 30 '17 05:11 ghost

Are you using drone or car mode?

nibeh avatar Nov 30 '17 15:11 nibeh

Car mode . I suspect that with Ubuntu, there will be issues. I will get back to you with more details. For now, I am closing the issue

crazymuse avatar Nov 30 '17 15:11 crazymuse

camera.py is intended for drone use: line 33: client = MultirotorClient() You should use CarClient() and then the connection should also work in Ubuntu.

nibeh avatar Nov 30 '17 16:11 nibeh

@crazymuse I am seeing the same issue. Did you root cause this issue?

srivatsankrishnan avatar Feb 13 '18 02:02 srivatsankrishnan

@crazymuse I am seeing the same issue. Did you root cause this issue?

husha1993 avatar Apr 18 '18 12:04 husha1993

I also experienced this issue running PythonClient on ubuntu over ssh with UE4 running on another ubuntu machine. Running PythonClient locally, or over ssh on a windows machine, the PythonClient worked normally.

I solved this issue by running pip install msgpack-rpc-python on the ubuntu machine running the ssh client. The PythonClient is working over linux ssh for me now.

TritonSailor avatar May 16 '18 19:05 TritonSailor

Also see this: https://github.com/Microsoft/AirSim/issues/1141#issuecomment-399627155

sytelus avatar Jun 23 '18 03:06 sytelus