GithubHelp home page GithubHelp logo

deependhulla / opensync Goto Github PK

View Code? Open in Web Editor NEW
54.0 8.0 15.0 86 KB

OpenSync is a Open Source CalDAV/CardDAV (Contacts and Calendars) Sync for Android

Home Page: https://deependhulla.com/android-apps/opensync-app

License: GNU General Public License v3.0

PHP 100.00%

opensync's Introduction

OpenSync is a Open Source CalDAV/CardDAV (Contacts and Calendars) Sync for Android. it has been tested with Nextcloud Server. its integrates natively in Android calendar/contact apps. its a fork from opensource project DavDroid https://davdroid.bitfire.at/source/. (now at known as DAVx⁵ https://gitlab.com/bitfireAT/davx5-ose)

Forked from DavDroid Version 1.5.0.3-ose

========

Its licensed under the GPLv3 License. same as davdroid.

Its mine personal attempt to make a Android App for CalDAV/CardDAV for NextCloud (Server which I use), again a OpenSource Software. Its still Beta from my side as its some basic changes to orginal code of DavDroid. Would try to find time to add more into this app. This is noway to replace orginal DavDroid app or compete with them.

If you love this app, I would recommed you to support DAVdroid (the orginal app), please consider donating to DAVdroid now DAVx5 or purchasing it.

Parts of OpenSync have been outsourced into these libraries (based on orginal davdroid):

USED THIRD-PARTY LIBRARIES

Extra libraries are used (based on orginal davdroid) :

opensync's People

Contributors

deependhulla avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

opensync's Issues

The opensync can't sync

I am using opensynce in my XiaoMi 9 android phone with MIUI to sync the calender in the synology calender and the calender in my cell phone through caldav.

It can be synchronized succesfully when I just add the calender caldav account, but some time later, it can't synchronize anymore, although when I try to do the synchronization manually.

After I delete the account and add the same account, it can be synchronized sucessfully also, but some time later, it will aslo fail to synchronize.

Outline differences to DavDroid?

Neither here or on your website does it mention the differences between OpenSync and DavDroid.
Maybe a short text about the motivations for forking, the already available differences and the roadmap/vision for this fork would be nice to add?
Thanks!

Duplication of calendar entries in the device only

I have the following problem:
From time t time I see that calendar entries are duplicated in my android device. Let me explain a bit more in detail.
I have a certain event in the iCal calendar. Via other clients I can verify the event is there only once. In all my android calendar apps the event is shown multiple times, e.g. twice or triple. This does by far not happen with all events and most of these are unaffected. However this is filing up my calendar if it happens with recurring events.

I made a log during a (normal) sync but I'd like to avoid posing the file in a public homepage like github. Of course I am willing to share with selected people.

Please tell me what to do to track down the problem.


I am running on Android 9.

Debug information within the app.
SOFTWARE INFORMATION
OpenSync version: 1.5.0.3-ose (145) Tue Apr 18 09:03:24 GMT+02:00 2017
Installed from: com.android.vending
JB Workaround installed: no

CONFIGURATION
Power saving disabled: yes
android.permission.READ_CONTACTS permission: granted
android.permission.WRITE_CONTACTS permission: granted
android.permission.READ_CALENDAR permission: granted
android.permission.WRITE_CALENDAR permission: granted
org.dmfs.permission.READ_TASKS permission: granted
org.dmfs.permission.WRITE_TASKS permission: granted
System-wide synchronization: automatically
Account: [email protected]
  Address book sync. interval: 240 min
  Calendar     sync. interval: 60 min
  OpenTasks    sync. interval: 60 min
  WiFi only: false
  [CardDAV] Contact group method: GROUP_VCARDS
  [CalDAV] Time range (past days): 90
           Manage calendar colors: true
Account: [email protected]
  Address book sync. interval: 240 min
  Calendar     sync. interval: 60 min
  OpenTasks    sync. interval: 60 min
  WiFi only: false
  [CardDAV] Contact group method: GROUP_VCARDS
  [CalDAV] Time range (past days): 90
           Manage calendar colors: true
Account: [email protected]
  Address book sync. interval: 240 min
  Calendar     sync. interval: 60 min
  OpenTasks    sync. interval: 60 min
  WiFi only: false
  [CardDAV] Contact group method: GROUP_VCARDS
  [CalDAV] Time range (past days): 90
           Manage calendar colors: true

...

SYSTEM INFORMATION
Android version: 9 (PKQ1.180917.001.V10.0.7.0.PDLMIXM)
Device: Xiaomi Mi A2 Lite (daisy_sprout)

HTTP RESPONSE: http/1.1 502 502

Hi,

one of my cellphones can't sync any more. It's a Xiaomi Redmi Note 8 Pro, my other Samsung works as expected. On the Xiaomi I see this in the log:
`...
HTTP RESPONSE:
http/1.1 502 502
cache-control: no-cache
Connection: close
Content-Length: 195
Content-Type: text/xml;charset=UTF-8
Date: Fri, 17 Jan 2020 09:10:17 GMT
Server: Apache/2

CardDavInternalServerExceptionerrorid:

...
CURRENT REMOTE RESOURCE:
https://carddav.web.de/CardDavProxy/carddav/AddressBook/xyzabc/Contact/75e7afdc-a040-435f-8b13-13f8c2e4dcef.vcf

EXCEPTION:
at.bitfire.dav4android.exception.HttpException: 502 502
at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:325)
at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:298)
at at.bitfire.dav4android.DavResource.put(DavResource.java:201)
at com.deependhulla.opensync.syncadapter.SyncManager.uploadDirty(SyncManager.java:345)
at com.deependhulla.opensync.syncadapter.SyncManager.performSync(SyncManager.java:156)
at com.deependhulla.opensync.syncadapter.ContactsSyncAdapterService$ContactsSyncAdapter.onPerformSync(ContactsSyncAdapterService.java:67)
at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:334)

SOFTWARE INFORMATION
OpenSync version: 1.5.0.3-ose (145) Tue Apr 18 09:03:24 GMT+02:00 2017
Installed from: com.android.vending
JB Workaround installed: no

CONFIGURATION
Power saving disabled: yes
android.permission.READ_CONTACTS permission: granted
android.permission.WRITE_CONTACTS permission: granted
android.permission.READ_CALENDAR permission: granted
android.permission.WRITE_CALENDAR permission: granted
org.dmfs.permission.READ_TASKS permission: granted
org.dmfs.permission.WRITE_TASKS permission: granted
System-wide synchronization: automatically
Account: [email protected]
Address book sync. interval: 60 min
Calendar sync. interval: 60 min
OpenTasks sync. interval: 60 min
WiFi only: false
[CardDAV] Contact group method: CATEGORIES
[CalDAV] Time range (past days): 90
Manage calendar colors: true
Address book account: WEB.DE Adressbuch ([email protected] lQ)
Main account: Account {name=[email protected], type=deependhulla.com.davdroid}
URL: https://carddav.web.de/CardDavProxy/carddav/AddressBook/1426871/Contact/
Sync automatically: true

SQLITE DUMP
android_metadata
| locale |
| de_DE |

settings
| setting | value |

services
| _id | accountName | service | principal |
| 1 | [email protected] | carddav | https://carddav.web.de/CardDavProxy/carddav/current-user-principal-uri |
| 2 | [email protected] | caldav | https://kalender-bs.web.de/begenda/dav/users/86431a4c-f0b0-431b-b5fb-8b10ea76c7f7 |

sqlite_sequence
| name | seq |
| services | 4 |
| homesets | 6 |
| collections | 8 |

homesets
| _id | serviceID | url |
| 1 | 2 | https://kalender-bs.web.de/begenda/dav/8419a39c-f0b0-431b-b5fb-8b10ea76c7f7/ |
| 6 | 1 | https://carddav.web.de/CardDavProxy/carddav/AddressBook/1285d1/ |

collections
| _id | serviceID | url | readOnly | displayName | description | color | timezone | supportsVEVENT | supportsVTODO | sync |
| 1 | 2 | https://kalender-bs.web.de/begenda/dav/637839c-f0b0-431b-b234b-8b10ea76c7f7/calendar/ | 0 | Mein Kalender | | | | 1 | 1 | 1 |
| 2 | 2 | https://kalender-bs.web.de/begenda/dav/824d50ac-f0b0-431b-b5fb-8b55bc76c7f7/birthday/ | 0 | Geburtstage | | | | 1 | 1 | 1 |
| 8 | 1 | https://carddav.web.de/CardDavProxy/carddav/AddressBook/306a571/Contact/ | 0 | WEB.DE Adressbuch | WEB.DE AddressBook | | | | | 1 |

SYSTEM INFORMATION
Android version: 9 (PPR1.180610.011)
Device: Xiaomi Redmi Note 8 Pro (begonia)

--- END DEBUG INFO ---`

First i thought the contact which is also mention in the log (but not quoted here) was broken, becaus i knew i edited it. But after deleting it, now another one, wich was not edited is mentioned in the log. So it might depend on the device. I know for some apps I have to adjust the power saving settings on the Xiaomi, but it was running here before.

Thanks

Roland

edit remote server settings

Hi, where can i edit the server URL once an account was created? The url changed to a toplevel domain and i cant find a way to update the cal/card dav url. I was only able change it by deleting an existing account and adding a new one. I would appreciate to be able to just change the baseURL when editing an account.

Source Code

At the Google Play Store, you are claiming that this App is open source, but in this repository is no source code provided related to the app. Why?

Events are being shown multiple times

Hi, I'm having a problem where events are being added to my Android calendar multiple times (up to 9 times). This doesn't happen always but very often.

Operating System: Oxygen OS based on Android 9
Device: Oneplus 5T
Nextcloud Version: Can't find, sorry

Screenshot_20191002-105115__01

Format error?

When create event on android and sync to cloud the ical file is not correct, there one line with "x":

BEGIN:VCALENDAR
VERSION:2.0
PRODID:+//IDN deependhulla.com//OpenSync/1.5.0.3-ose ical4android ical4j/2.
x
BEGIN:VEVENT
DTSTAMP:20190808T062007Z
UID:97eb80de-c9be-40bc-8d4c-780c753a1d60
SEQUENCE:1
DTSTART;VALUE=DATE:20190808
DTEND;VALUE=DATE:20190809
SUMMARY:G.P.
LOCATION:Home office
DESCRIPTION:Home office
TRANSP:TRANSPARENT
CLASS:PUBLIC
PRIORITY:5
X-MICROSOFT-CDO-BUSYSTATUS:FREE
END:VEVENT
END:VCALENDAR

Improvement : it would be fine if the name of the calendar could be changed.

Hi,

I've added a calendar in the OpenSync application and it works fine under the Calendar application of my android phone.
The only thing I'd like to change is the name of the calendar. Its name is currently "calendrier" which is (probably) the french translation of "calendar" which again is the name of the calendar URL (https://xxx/users/myEmailAddress/ calendar).
Could it be possible to change "calendrier" to some other name ?

Regards.

Xuo.

Contacts not Synced

I use OpenSync between NextCloud(13) an my Galaxy S2 (Android 4.1.2)

Currently I created a test contact in NextCloud(13) but if i sync I can't find it in my Galaxy S2
also my S2 contacts doesn't appear in NextCloud(13).

I can't see any error in debug Log. :-(

I also note that S2 freezes sometimes on sync. But I will investigate more into this issue and
report more details on this separate.

set default for contacts

I installed opensync and I can now see my caldav or cardav account when creating a contact or cal. I use the google calendar app and when creating a new appt I can see by default it has my caldav account set to save that appt. great!

However in the android contacts it doesn't do this. I have to select in the dropdown the cardav account. I've looked around and just can't find a place to change this settings.

Does anyone know a way I can have this set as default? For an average user selecting from the dropdown in cumbersome.

Can't give OpenTasks permissions

I receive the prompt "OpenSync permissions: Additional permissions required" but when I try to click the button "Request OpenTasks permissions", nothing happens. I have OpenTasks 1.1.8.2 and OpenSync 1.5.0.3-ose. My server is ownCloud 9.

Address book not visible in contacts

After latest android 11 update I cannot add new contacts to the opensync addressbook - it asks me for default account and the opensync is not visible on the list of available accounts.

Opensync attemps to sync changes to readonly addressbooks

I have successfully conected to CardDAV server, where I can see several addressbooks in OpenSync. Some of them are signed with a minus in a circle symbol, that means, that addressbook is read-only, thus the user has not ACL rights to edit records in that addressbook.

However, the Android contacts app dosen't know nor respect that. The phone user is allowed to edit even the contacts from those CardDAV addressbooks where he has no write access.

After the contact is saved, during the next synchronization the OpenSync attempts to push the changes into addressbook, that (unsurprisingly) ends up with error. Even worse, since now, every sync attempt ends up with error because the OpenSync is trying again and again to write changes to the addressbook where there is no write access. It is not always easy to get rid of the errors, it might be even neccessarry to remove the OpenSync account entirely.

Althought there is probably no way to stop Contacts app from editing the readonly contacts, OpenSync should IMO simply ignore and trash such sync tasks that tackle addressbooks where he knows there is no proper access. Or, such behaviour may be optional and managed in settings of OpenSync.

No connection when creating account

No connection to the Nextcloud calendar when setting up the account.
Logs:

--- BEGIN DEBUG INFO ---

LOGS:
2020-01-25 14:14:43 1 [ui.setup.DavResourceFinder] Finding initial carddav service configuration
2020-01-25 14:14:43 1 [ui.setup.DavResourceFinder] Checking user-given URL: http://cloud.xxx.pl/
2020-01-25 14:14:43 1 [HttpClient$1] --> PROPFIND http://cloud.xxx.pl/ http/1.1
2020-01-25 14:14:43 1 [HttpClient$1] Content-Type: application/xml; charset=utf-8
2020-01-25 14:14:43 1 [HttpClient$1] Content-Length: 290
2020-01-25 14:14:43 1 [HttpClient$1] Depth: 0
2020-01-25 14:14:43 1 [HttpClient$1] 
2020-01-25 14:14:43 1 [HttpClient$1] <?xml version='1.0' encoding='UTF-8' ?><propfind xmlns="DAV:" xmlns:CAL="urn:ietf:params:xml:ns:caldav" xmlns:CARD="urn:ietf:params:xml:ns:carddav"><prop><resourcetype /><displayname /><CARD:addressbook-description /><CARD:addressbook-home-set /><current-user-principal /></prop></propfind>
2020-01-25 14:14:43 1 [HttpClient$1] --> END PROPFIND (290-byte body)
2020-01-25 14:14:43 1 [HttpClient$1] <-- 405 Method Not Allowed http://cloud.xxx.pl/ (163ms)
2020-01-25 14:14:43 1 [HttpClient$1] date: Sat, 25 Jan 2020 13:14:43 GMT
2020-01-25 14:14:43 1 [HttpClient$1] server: Apache
2020-01-25 14:14:43 1 [HttpClient$1] allow: OPTIONS,HEAD,GET,POST,TRACE
2020-01-25 14:14:43 1 [HttpClient$1] content-length: 359
2020-01-25 14:14:43 1 [HttpClient$1] content-type: text/html; charset=iso-8859-1
2020-01-25 14:14:43 1 [HttpClient$1] 
2020-01-25 14:14:43 1 [HttpClient$1] <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>405 Method Not Allowed</title>
</head><body>
<h1>Method Not Allowed</h1>
<p>The requested method GET is not allowed for the URL /index.html.</p>
<p>Additionally, a 405 Method Not Allowed
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>

2020-01-25 14:14:43 1 [HttpClient$1] <-- END HTTP (359-byte body)
2020-01-25 14:14:43 1 [ui.setup.DavResourceFinder] PROPFIND/OPTIONS on user-given URL failed
EXCEPTION at.bitfire.dav4android.exception.HttpException: 405 Method Not Allowed
	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:325)
	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:298)
	at at.bitfire.dav4android.DavResource.propfind(DavResource.java:283)
	at com.deependhulla.opensync.ui.setup.DavResourceFinder.checkUserGivenURL(DavResourceFinder.java:179)
	at com.deependhulla.opensync.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:119)
	at com.deependhulla.opensync.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:90)
	at com.deependhulla.opensync.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:142)
	at com.deependhulla.opensync.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:125)
	at android.support.v4.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:302)
	at android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:57)
	at android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:45)
	at android.support.v4.content.ModernAsyncTask$2.call(ModernAsyncTask.java:138)
	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
	at java.lang.Thread.run(Thread.java:818)

2020-01-25 14:14:43 1 [HttpClient$1] --> PROPFIND http://cloud.xxx.pl/.well-known/carddav http/1.1
2020-01-25 14:14:43 1 [HttpClient$1] Content-Type: application/xml; charset=utf-8
2020-01-25 14:14:43 1 [HttpClient$1] Content-Length: 198
2020-01-25 14:14:43 1 [HttpClient$1] Depth: 0
2020-01-25 14:14:43 1 [HttpClient$1] 
2020-01-25 14:14:43 1 [HttpClient$1] <?xml version='1.0' encoding='UTF-8' ?><propfind xmlns="DAV:" xmlns:CAL="urn:ietf:params:xml:ns:caldav" xmlns:CARD="urn:ietf:params:xml:ns:carddav"><prop><current-user-principal /></prop></propfind>
2020-01-25 14:14:43 1 [HttpClient$1] --> END PROPFIND (198-byte body)
2020-01-25 14:14:43 1 [HttpClient$1] <-- 500 Internal Server Error http://cloud.xxx.pl/.well-known/carddav (50ms)
2020-01-25 14:14:43 1 [HttpClient$1] date: Sat, 25 Jan 2020 13:14:43 GMT
2020-01-25 14:14:43 1 [HttpClient$1] server: Apache
2020-01-25 14:14:43 1 [HttpClient$1] content-length: 668
2020-01-25 14:14:43 1 [HttpClient$1] content-type: text/html; charset=iso-8859-1
2020-01-25 14:14:43 1 [HttpClient$1] 
2020-01-25 14:14:43 1 [HttpClient$1] <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator at 
 [email protected] to inform them of the time this error occurred,
 and the actions you performed just before this error.</p>
<p>More information about this error may be available
in the server error log.</p>
<p>Additionally, a 500 Internal Server Error
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>

2020-01-25 14:14:43 1 [HttpClient$1] <-- END HTTP (668-byte body)
2020-01-25 14:14:43 1 [ui.setup.DavResourceFinder] Well-known URL detection failed
EXCEPTION at.bitfire.dav4android.exception.HttpException: 500 Internal Server Error
	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:325)
	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:298)
	at at.bitfire.dav4android.DavResource.propfind(DavResource.java:283)
	at com.deependhulla.opensync.ui.setup.DavResourceFinder.getCurrentUserPrincipal(DavResourceFinder.java:352)
	at com.deependhulla.opensync.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:123)
	at com.deependhulla.opensync.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:90)
	at com.deependhulla.opensync.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:142)
	at com.deependhulla.opensync.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:125)
	at android.support.v4.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:302)
	at android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:57)
	at android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:45)
	at android.support.v4.content.ModernAsyncTask$2.call(ModernAsyncTask.java:138)
	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
	at java.lang.Thread.run(Thread.java:818)

2020-01-25 14:14:43 1 [ui.setup.DavResourceFinder] Finding initial caldav service configuration
2020-01-25 14:14:43 1 [ui.setup.DavResourceFinder] Checking user-given URL: http://cloud.xxx.pl/
2020-01-25 14:14:43 1 [HttpClient$1] --> PROPFIND http://cloud.xxx.pl/ http/1.1
2020-01-25 14:14:43 1 [HttpClient$1] Content-Type: application/xml; charset=utf-8
2020-01-25 14:14:43 1 [HttpClient$1] Content-Length: 435
2020-01-25 14:14:43 1 [HttpClient$1] Depth: 0
2020-01-25 14:14:43 1 [HttpClient$1] 
2020-01-25 14:14:43 1 [HttpClient$1] <?xml version='1.0' encoding='UTF-8' ?><propfind xmlns="DAV:" xmlns:CAL="urn:ietf:params:xml:ns:caldav" xmlns:CARD="urn:ietf:params:xml:ns:carddav"><prop><resourcetype /><displayname /><n0:calendar-color xmlns:n0="http://apple.com/ns/ical/" /><CAL:calendar-description /><CAL:calendar-timezone /><current-user-privilege-set /><CAL:supported-calendar-component-set /><CAL:calendar-home-set /><current-user-principal /></prop></propfind>
2020-01-25 14:14:43 1 [HttpClient$1] --> END PROPFIND (435-byte body)
2020-01-25 14:14:43 1 [HttpClient$1] <-- 405 Method Not Allowed http://cloud.xxx.pl/ (45ms)
2020-01-25 14:14:43 1 [HttpClient$1] date: Sat, 25 Jan 2020 13:14:43 GMT
2020-01-25 14:14:43 1 [HttpClient$1] server: Apache
2020-01-25 14:14:43 1 [HttpClient$1] allow: OPTIONS,HEAD,GET,POST,TRACE
2020-01-25 14:14:43 1 [HttpClient$1] content-length: 359
2020-01-25 14:14:43 1 [HttpClient$1] content-type: text/html; charset=iso-8859-1
2020-01-25 14:14:43 1 [HttpClient$1] 
2020-01-25 14:14:43 1 [HttpClient$1] <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>405 Method Not Allowed</title>
</head><body>
<h1>Method Not Allowed</h1>
<p>The requested method GET is not allowed for the URL /index.html.</p>
<p>Additionally, a 405 Method Not Allowed
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>

2020-01-25 14:14:43 1 [HttpClient$1] <-- END HTTP (359-byte body)
2020-01-25 14:14:43 1 [ui.setup.DavResourceFinder] PROPFIND/OPTIONS on user-given URL failed
EXCEPTION at.bitfire.dav4android.exception.HttpException: 405 Method Not Allowed
	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:325)
	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:298)
	at at.bitfire.dav4android.DavResource.propfind(DavResource.java:283)
	at com.deependhulla.opensync.ui.setup.DavResourceFinder.checkUserGivenURL(DavResourceFinder.java:187)
	at com.deependhulla.opensync.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:119)
	at com.deependhulla.opensync.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:91)
	at com.deependhulla.opensync.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:142)
	at com.deependhulla.opensync.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:125)
	at android.support.v4.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:302)
	at android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:57)
	at android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:45)
	at android.support.v4.content.ModernAsyncTask$2.call(ModernAsyncTask.java:138)
	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
	at java.lang.Thread.run(Thread.java:818)

2020-01-25 14:14:43 1 [HttpClient$1] --> PROPFIND http://cloud.xxx.pl/.well-known/caldav http/1.1
2020-01-25 14:14:43 1 [HttpClient$1] Content-Type: application/xml; charset=utf-8
2020-01-25 14:14:43 1 [HttpClient$1] Content-Length: 198
2020-01-25 14:14:43 1 [HttpClient$1] Depth: 0
2020-01-25 14:14:43 1 [HttpClient$1] 
2020-01-25 14:14:43 1 [HttpClient$1] <?xml version='1.0' encoding='UTF-8' ?><propfind xmlns="DAV:" xmlns:CAL="urn:ietf:params:xml:ns:caldav" xmlns:CARD="urn:ietf:params:xml:ns:carddav"><prop><current-user-principal /></prop></propfind>
2020-01-25 14:14:43 1 [HttpClient$1] --> END PROPFIND (198-byte body)
2020-01-25 14:14:43 1 [HttpClient$1] <-- 500 Internal Server Error http://cloud.xxx.pl/.well-known/caldav (54ms)
2020-01-25 14:14:43 1 [HttpClient$1] date: Sat, 25 Jan 2020 13:14:43 GMT
2020-01-25 14:14:43 1 [HttpClient$1] server: Apache
2020-01-25 14:14:43 1 [HttpClient$1] content-length: 668
2020-01-25 14:14:43 1 [HttpClient$1] content-type: text/html; charset=iso-8859-1
2020-01-25 14:14:43 1 [HttpClient$1] 
2020-01-25 14:14:43 1 [HttpClient$1] <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator at 
 [email protected] to inform them of the time this error occurred,
 and the actions you performed just before this error.</p>
<p>More information about this error may be available
in the server error log.</p>
<p>Additionally, a 500 Internal Server Error
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>

2020-01-25 14:14:43 1 [HttpClient$1] <-- END HTTP (668-byte body)
2020-01-25 14:14:43 1 [ui.setup.DavResourceFinder] Well-known URL detection failed
EXCEPTION at.bitfire.dav4android.exception.HttpException: 500 Internal Server Error
	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:325)
	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:298)
	at at.bitfire.dav4android.DavResource.propfind(DavResource.java:283)
	at com.deependhulla.opensync.ui.setup.DavResourceFinder.getCurrentUserPrincipal(DavResourceFinder.java:352)
	at com.deependhulla.opensync.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:123)
	at com.deependhulla.opensync.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:91)
	at com.deependhulla.opensync.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:142)
	at com.deependhulla.opensync.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:125)
	at android.support.v4.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:302)
	at android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:57)
	at android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:45)
	at android.support.v4.content.ModernAsyncTask$2.call(ModernAsyncTask.java:138)
	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
	at java.lang.Thread.run(Thread.java:818)



SOFTWARE INFORMATION
OpenSync version: 1.5.0.3-ose (145) Tue Apr 18 09:03:24 GMT+02:00 2017
Installed from: com.android.vending
JB Workaround installed: no

App:
Android 6
OpenSync 1.5.0.3-ose
Nextcloud 18.0.0
Calendar 2.0.1

Not visible in SMS app AfW

Hi, I'm using apps, and work fine, but contacts synced with this APP (WebDAV) are not showing in SMS app.
I'm using AfW profile, and i don't know where is problem. Are someone have tested it on AfW profile?

OpenSync stopped syncing

Hello, from some time ago, the app stopped syncing.

This is my debug info:

--- BEGIN DEBUG INFO ---

SOFTWARE INFORMATION
OpenSync version: 1.5.0.3-ose (145) Tue Apr 18 09:03:24 GMT+02:00 2017
Installed from: com.android.vending
JB Workaround installed: no

CONFIGURATION
Power saving disabled: yes
android.permission.READ_CONTACTS permission: granted
android.permission.WRITE_CONTACTS permission: granted
android.permission.READ_CALENDAR permission: granted
android.permission.WRITE_CALENDAR permission: granted
org.dmfs.permission.READ_TASKS permission: denied
org.dmfs.permission.WRITE_TASKS permission: denied
System-wide synchronization: automatically
Account: OwnDrive
  Address book sync. interval: 120 min
  Calendar     sync. interval: 15 min
  OpenTasks    sync. interval: —
  WiFi only: false
  [CardDAV] Contact group method: GROUP_VCARDS
  [CalDAV] Time range (past days): 90
           Manage calendar colors: true
Address book account: Contactos (OwnDrive Sg)
  Main account: Account {name=OwnDrive, type=deependhulla.com.davdroid}
  URL: https://my.owndrive.com/remote.php/dav/addressbooks/users/USERNAME/contacts/
  Sync automatically: true

SQLITE DUMP
android_metadata
	|  locale |
	|  es_ES |
----------
settings
	|  setting | value |
	|  logToExternalStorage | 1 |
	|  overrideProxyPort | 8118 |
	|  overrideProxy | 0 |
----------
services
	|  _id | accountName | service | principal |
	|  1 | OwnDrive | carddav | https://my.owndrive.com/remote.php/dav/principals/users/USERNAME/ |
	|  2 | OwnDrive | caldav | https://my.owndrive.com/remote.php/dav/principals/users/USERNAME/ |
----------
sqlite_sequence
	|  name | seq |
	|  services | 4 |
	|  collections | 26 |
	|  homesets | 19 |
----------
homesets
	|  _id | serviceID | url |
	|  9 | 1 | https://my.owndrive.com/remote.php/dav/addressbooks/users/USERNAME/ |
	|  19 | 2 | https://my.owndrive.com/remote.php/dav/calendars/USERNAME/ |
----------
collections
	|  _id | serviceID | url | readOnly | displayName | description | color | timezone | supportsVEVENT | supportsVTODO | sync |
	|  11 | 1 | https://my.owndrive.com/remote.php/dav/addressbooks/users/USERNAME/contacts/ | 0 | Contactos | <null> | <null> | <null> | <null> | <null> | 1 |
	|  26 | 2 | https://my.owndrive.com/remote.php/dav/calendars/USERNAME/personal/ | 0 | Personal | <null> | <null> | <null> | 1 | 1 | 1 |
----------

SYSTEM INFORMATION
Android version: 11 (RKQ1.XXXXXX.002 test-keys)
Device: Xiaomi Mi 9 SE (grus)

--- END DEBUG INFO ---

And my log, which doesn't show a lot of information:

2021-10-27 15:03:33 2 [cert4android.CustomCertService] Creating CustomCertService
2021-10-27 15:03:33 2 [cert4android.CustomCertManager$1] Connected to service
2021-10-27 15:05:41 59002 [AccountSettings] Account OwnDrive has version 6, current version: 6

JMAP support

Could we please have JMAP sync support? It's a newer sync format for mail, calendars and contacts.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.