MAVSDK to connect to remote SITL/PX4

Hi There,

I have an instance of SITL/PX4 running on an Ubuntu (20.04) system ( When the instance starts it displays:

INFO [commander] LED: open /dev/led0 failed (22)
WARN [health_and_arming_checks] Preflight Fail: ekf2 missing data
INFO [navigator] Mission #2 loaded, 7 WPs
INFO [mavlink] mode: Normal, data rate: 4000000 B/s on udp port 18570 remote port 14550

I am trying to connect to the instance using MAVSDK from a different Ubuntu (20.04) system at
e.g. start apython…

from mavsdk import System
drone = System()
await drone.connect(system_address=“udp://”)

I can see the SITL instance recognizes the connection as it prints:

INFO [mavlink] partner IP:

but the ‘await’ connection line just hangs and I can not get beyond this line. I started the SITL/PX4 instance with 'make px4_sitl_default jmavsim and it appears to be working well.

I’m using Python 3.8. What am I missing to allow the remote connection


Let’s follow up over in GitHub: Python: drone.connect() to remote SITL/PX4 hangs · Issue #2149 · mavlink/MAVSDK · GitHub