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

Uploading/downloading mission times out #1248

Open
AndKe opened this issue Jul 2, 2021 · 20 comments
Open

Uploading/downloading mission times out #1248

AndKe opened this issue Jul 2, 2021 · 20 comments

Comments

@AndKe
Copy link
Contributor

AndKe commented Jul 2, 2021

interestingly: uploading mission fails with timeout, but the process actually suceeds (the mission is actually uploaded)

[20210702 15:19:23.570 WARN ] - Finally timed out - going to idle. Current state was: 4
[20210702 15:19:27.568 WARN ] - Timeout requesting waypoint count - retrying.
[20210702 15:19:29.560 WARN ] - Timeout requesting waypoint count - retrying.
[20210702 15:19:31.564 WARN ] - Timeout requesting waypoint count - retrying.
[20210702 15:19:33.572 WARN ] - Timeout requesting waypoint count - retrying.

@timtuxworth
Copy link

I've connected to an existing vehicle that has an existing mission on it. I can't download the mission from the vehicle. I get a timeout.

@Arne-W
Copy link
Contributor

Arne-W commented Oct 31, 2022

@timtuxworth could you please tell some details? Linux or macOS? Version of Apm-Planner? It would also be cool if you could copy the content of the log.

@timtuxworth
Copy link

timtuxworth commented Oct 31, 2022

Hi @Arne-W this is on MacOS, 2.0.30-rc1. Happy to get you a log - from where? I'm assuming you don't mean the flight log.

@Arne-W
Copy link
Contributor

Arne-W commented Nov 1, 2022

Hmm - I have no idea where you can find the log on macOS. On Linux there is a file called "apmlog_yyyymmdd.txt" in your "home/apmplanner2" directory. Perhaps its there on macOS too??

@timtuxworth
Copy link

Yes - pretty much the same - under my "/users/tim/apmplanner2". Here's an example.

apmlog_20221025.txt

@Arne-W
Copy link
Contributor

Arne-W commented Nov 1, 2022

Cool - I will have a closer look in the next days. 👍

@Arne-W
Copy link
Contributor

Arne-W commented Nov 10, 2022

@timtuxworth Sorry but I am not able to reproduce it. Have you tried to refresh the list manually? On the bottom there should be a refresh button.
The Implementation requests the next waypoint as soon as a waypoint is received. So if it times out I would say either the request or the answer is lost.... What sort of connection are you using?? I tested with USB.

@AndKe
Copy link
Contributor Author

AndKe commented Nov 10, 2022

@timtuxworth is that by any chance a 3DR Solo with OpenSolo ? (or anything else with Sololink/IMX6) - I remember that there was some issues with the controller-scripts that were/are not fully MAVLink2 compatible.

@timtuxworth
Copy link

@timtuxworth is that by any chance a 3DR Solo with OpenSolo ? (or anything else with Sololink/IMX6) - I remember that there was some issues with the controller-scripts that were/are not fully MAVLink2 compatible.

This is on a QioTek Zealot H743. Testing using various different connections, including USB.

@AndKe
Copy link
Contributor Author

AndKe commented Feb 2, 2023

This is fully reproducible with a serial connection to a ArduPilot, and SITL.
I also believe this issue #1270 is related .. he points to a specific issue with more than one message sending events

@AndKe
Copy link
Contributor Author

AndKe commented Feb 2, 2023

FWIW: APM-Planner_2-2.0.30-rc1-x86_64.AppImage works fine.. that's only 16 commits since..

I tried to build 2.0.30 .. and still get the issue.. I start to believe it is something with my build environment - very strange. (Qt version 5.15.2)

@AndKe
Copy link
Contributor Author

AndKe commented Feb 3, 2023

@timtuxworth @Arne-W
I did review the commits since the official .appimage was made.
I start to suspect the issue is somehow related to the build environment.
It would be of great help to have a new .appimage build from current master.

  • Who can build an appimage? the daily auto-build is broken.

@Arne-W
Copy link
Contributor

Arne-W commented Feb 3, 2023

@AndKe I can do a new build this weekend - sorry but you know SOOOOOOO many things to do and so little time

@timtuxworth
Copy link

If it's about priorities, perhaps better to fix the auto-build?

@AndKe
Copy link
Contributor Author

AndKe commented Feb 3, 2023

absolutely .. is there some way I can help- please say .. I am a Linux user, but never fiddled with building on github. If it is trivial - like change in upload paths or something - might be of help...otherwise, I doubt it.
Autobuilds would certainly help many more people.

@Arne-W
Copy link
Contributor

Arne-W commented Feb 4, 2023

Autobuild isn't that trivial because we need at least Linux and Macos. Windows would be nice too. Moreover there is the Qt incompatibility with OpenSSL 3.x which makes it complicated to build on Ubuntu 22.04.

I made a new release candidate and a new Appimage. You can find it here.
Unfortunately I am not able to build a Mac release - so sorry.

@AndKe
Copy link
Contributor Author

AndKe commented Feb 4, 2023

@Arne-W Thank you very much. The appimage works perfectly with both waypoints, and firmware-fetching - (where both fail on my local builds (ubuntu 22.10)

Please tell about Qt incompatibilty with OpenSSL 3.x (which OpenSSL version is required/you use)
Also: which distro did you use to build it?

@Arne-W
Copy link
Contributor

Arne-W commented Jul 10, 2023

@timtuxworth Is this issue still active? Did you try to build the newest version (2.30.rc3)?

@timtuxworth
Copy link

Hi Arne I don't have a build environment for APM Planner. If there was a dmg I would try it.

@Arne-W
Copy link
Contributor

Arne-W commented Jul 11, 2023

We will do a release including Mac in the next weeks - I will inform you.

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

No branches or pull requests

3 participants