inaturalist / iNaturalistAndroid

Android app for iNaturalist.org
https://market.android.com/details?id=org.inaturalist.android
MIT License
165 stars 57 forks source link

syncing loop persists #1257

Closed npdoty closed 1 year ago

npdoty commented 1 year ago

Whenever I create an observation on the Android app, the app starts a sync, shows a progress bar part way for a while on "Uploading...", then switches to "Cleaning up.." and starts again soon after. Sometimes it creates an observation with suggested ID on the server, but without the media file.

It's been years since I've successfully synced an observation from the Android app to iNaturalist. I have deleted and re-installed the app recently (today) and still have the same problem. Applies to both audio and image uploads. I would love to be able to use the Android app again for recording observations!

I know there have been many bugs opened and resolved for syncing loop, but it doesn't seem like they're all resolved. If there's a way for me to view error logs or more details, I would be very happy to aid in diagnosing the issue.

npdoty commented 1 year ago

Emailed some logs in case you want to review.

It looks like the observation_sounds endpoint regularly has the connection reset (today's test was uploading a .wav exported from Merlin), which sets off a series of connection tests, half of which fail, incidentally, because they point to http URLs and the manifest seems not to request permission for cleartext access to those domains.

kueda commented 1 year ago

Hey Nick. There's not enough here for a developer to work on so I'm going to close. Please report this at https://forum.inaturalist.org/c/bug-reports/13, and try to include as much repro info as you can, including device, OS version, whether you've tried it with different iNat accounts, etc. If you're saying it happens with photos and sounds, then try to develop repro steps based on a photo since that's the more typical case (both kinds of observation creation work for most people). If you're seeing the iNat app making requests to http URLs, please list those URLs in your report too (the app should not be making unencrypted requests, which is why it doesn't request that permission).