Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QGC does not connect to default port 14550 #12462

Open
ytl001 opened this issue Feb 14, 2025 · 2 comments
Open

QGC does not connect to default port 14550 #12462

ytl001 opened this issue Feb 14, 2025 · 2 comments

Comments

@ytl001
Copy link

ytl001 commented Feb 14, 2025

Expected Behavior

I am running gazebo classic simulator in a docker container (image: jonasvautherin/px4-gazebo-headless). QGC running on the same host as docker should automatically connect to default port 14550.

Current Behavior

QGC does not connect. Console shows (with qgc.comms.linkmanager and qgc.comms.linkmanager.verbose on):

Image

I tried turning autoconnect all on, all off except udp, all off but with a manual link for port 14550 (as below). All scenarios produce the same results.

Image

Steps to Reproduce:

Please provide an unambiguous set of steps to reproduce the current behavior

  1. sudo /usr/local/opt/docker-mac-net-connect/bin/docker-mac-net-connect
  2. docker run --rm -it jonasvautherin/px4-gazebo-headless 172.17.0.1 172.17.0.1
  3. click on QGC icon to start QGC

System Information

When posting bug reports, include the following information

  • Operating System: macOS Ventura 13.7.2
  • QGC Version: Daily version a8ab437 64 bit, downloaded Feb 13, 2025
  • QGC build:
  • Flight Controller: PX4_SITL
  • Autopilot (with version): px4 release 1.15.3 (17761279)
@HTRamsey
Copy link
Collaborator

HTRamsey commented Feb 15, 2025

I think this is docker related but I don't recall the solution right now. Did you try with the last stable build?

@DonLakeFlyer didn't you have an issue like this on MacOS too?

@ytl001
Copy link
Author

ytl001 commented Feb 15, 2025

Yes, I tried using the last stable build v4.4.3. Results are the same, except that with Linkmanagerverbose on, console seems to show that QGC is listening to a bluetooth port only:

Image

I am running docker-mac-net-connect to make sure that the host can reach the container. Indeed I can ping the container from the host and when I set up a comm link to point to the container port assigned in px4, px4 reports a valid ground station heart beat (but QGC remains unconnected).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants