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

Freezes occur on subsequent syncs over WebDAV #185

Closed
stormlash opened this issue Apr 13, 2017 · 12 comments
Closed

Freezes occur on subsequent syncs over WebDAV #185

stormlash opened this issue Apr 13, 2017 · 12 comments
Assignees
Labels
bug Categorizes issue or PR as related to a bug.

Comments

@stormlash
Copy link

Ever since upgrading to 1.7.2, I find that mobileorg.org regularly freezes while showing "Syncing Org-files: mobileorg.org".

Steps to reproduce:

  1. Launch MobileOrg
  2. Sync. It will sync the Org-files and complete successfully
  3. Sync again. It will report "Syncing changes" and iterate through "mobileorg.org", "checksums.dat", and "index.org" before displaying "mobileorg.org" again and pausing. After a few moments, the label will change to "Syncing Org-files", but it will still be stuck on mobileorg.org. The only way to get past this screen is to force-close the app and resync.

Configuration:
iPhone 7+
MobileOrg 1.7.2
WebDAV sync (using https and a trusted self-signed certificate)

@mgmart
Copy link
Member

mgmart commented Apr 13, 2017

Did this also happen with the TestFlight version?

@stormlash
Copy link
Author

stormlash commented Apr 13, 2017 via email

@ustcpxy
Copy link

ustcpxy commented Apr 26, 2017

after upgraded to 1.7.2, I also have this issue.
Configuration:
iPhone 6s
MobileOrg 1.7.2
WebDAV sync (using https and a trusted self-signed certificate)

@mgmart
Copy link
Member

mgmart commented Apr 26, 2017

It seems it comes down to the self signed certificates.

There could be a different behaviour of iOS whether you're trusting the certificates or the CA. Trusting the CA is the preferred way.

We do need a test environment for that. I could imagine that using this docker repo could help to create (automated) tests for this issue.

PRs containing a test environment for this issue would be very welcome.

@mgmart mgmart added bug Categorizes issue or PR as related to a bug. help wanted Denotes an issue that needs help from a contributor. labels Apr 26, 2017
@mgmart mgmart changed the title 1.7.2 freezes while syncing mobileorg.org Freezes occur on subsequent syncs using trusted self signed certificates Apr 26, 2017
@mgmart
Copy link
Member

mgmart commented Apr 26, 2017

Could it be that the freeze only happens if changes on the iPhone are synced back to the server?

@stormlash
Copy link
Author

Yes, I think that's quite possible - though I still see it even if nothing has changed on the iPhone.

@stormlash
Copy link
Author

Ok - so I'm pretty convinced that this isn't related to certificate signing. I bit the bullet and swapped out my webdav cert with one generated through LetsEncrypt (which is automatically trusted by my iPhone), but the behavior is exactly the same: the sync freezes while displaying "Syncing Org-files".

@mgmart
Copy link
Member

mgmart commented Apr 26, 2017

Thank you @stormlash. That helps. I think I've found the issue.

@mgmart mgmart removed the help wanted Denotes an issue that needs help from a contributor. label Apr 26, 2017
@mgmart mgmart self-assigned this Apr 28, 2017
@mgmart mgmart added this to the v1.7.3 milestone Apr 28, 2017
@mgmart mgmart changed the title Freezes occur on subsequent syncs using trusted self signed certificates Freezes occur on subsequent syncs over WebDAV Apr 28, 2017
mgmart added a commit to mgmart/mobileorg that referenced this issue May 4, 2017
@frapples
Copy link

When I updated the softwore to 1.7.2 version, I found the password feature can not use. 😭 😭 😭 I want to install 1.7.1, but IOS can not do it.

@mgmart
Copy link
Member

mgmart commented May 12, 2017

@frapples, could you please give some details what your issue with password is about?

I would suggest to create a new issue with some details like iOS version, device, sync-method etc.
And of course as much detail as possible about the problem itself.

@webframp
Copy link
Member

@frapples if you can give the details @mgmart mentioned that would help. We can also add you to the next round if TestFlight testing if you want to then confirm the fix

@stormlash
Copy link
Author

I'm retracting my previous statement (which I've also deleted) - the fixes do address my issue. (I had been building off the MobileOrg fork, not the mgmart fork.) Sorry for the false alarm!

webframp added a commit that referenced this issue Jul 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

5 participants