rayw-dronesense
rayw-dronesense
Gonna try doing a clean and rebuild for good measure.
> Does your device have /system/etc/security/cacerts? Yes it does, ``` ~ % adb shell ls /system/etc/security/cacerts 00673b5b.0 02756ea4.0 02b73561.0 03f2b8cf.0 04f60c28.0 052e396b.0 08aef7bb.0 0d5a4e1c.0 0d69c7e1.0 10531352.0 111e6273.0 119afc2e.0 124bbd54.0 12d55845.0...
Update: clean and rebuild didn't change anything. Still got ` Error while downloading text, curl error code: SSL peer certificate or SSH remote key was not OK`
Just for fun I tried disabling SSL verification per the above post...and that got it past the download definition no problem. But `getPossibleSettings`... errors out, ``` 2024-12-03 12:41:55.354 21290-21576 Mavsdk...
Yeah okay, looks like the error is correct - it's getting an empty string for some reason. ``` std::thread([this, camera_information]() { std::string content{}; const auto result = fetch_camera_definition(camera_information, content); if...
Got it. Also had to enable "Follow Location" to allow it to handle redirects, ``` curl_easy_setopt(curl.get(), CURLOPT_SSL_VERIFYPEER, 0L); curl_easy_setopt(curl.get(), CURLOPT_FOLLOWLOCATION, 1L); ``` Then it started to work, ``` 2024-12-03 13:29:47.293...
> Did you try with CURLOPT_SSL_VERIFYPEER=1 and CURLOPT_FOLLOWLOCATION=1? Maybe the error "SSL peer certificate or SSH remote key was not OK" happens on the empty string because the redirection was...
> Just to be sure: are you sure that your Android device has up-to-date certificates? I.e. it's not an Android system from 6 years ago that never received updates? 😅...
> Would you be able to run the test on a more up-to-date Android system? It would be interesting to see if we have a bug in our solution or...
I had initially posted earlier that running the logic on S23 independent of drone worked. However, that was too early to call, because I had forgotten to remove the "disable...