gggard / AndroidCaldavSyncAdapater

Caldav synch adapter for Android
246 stars 88 forks source link

Unable to sync with OwnCloud 5 "wrong url" #155

Open jaymore opened 10 years ago

jaymore commented 10 years ago

Hello.

When I use the adapter to connect to my OwnCloud 5.0.7, I always get a "wrong url" on the android device (Samsung Galaxy Fame Lite). The error message is located a the right of the "url" field. I checked for bug #82 , and my config seems correct for me : the cal is available on line, and I can sync my device with the test account of owncloud. By checking on my server log, I saw that when I enter the setting on the adaptater, no request was send to my apache server.

You can reach a test account on my server here : http://perso.you-and.be/owncloud/remote.php/caldav/principals/test/ (user "test", password "test").

dajusc commented 10 years ago

Hey jaymore,

I gave it a try, but couldn't get CalDAVSyncAdapter to connect to your server eigther. Tried it with the following addresses:

  1. http://perso.you-and.be/owncloud/remote.php/caldav/principals/test/
  2. http://perso.you-and.be/owncloud/remote.php/caldav/calendars/test/defaultcalendar
  3. http://perso.you-and.be/owncloud/remote.php/caldav/ The last one is the primary caldav address that should sync all calendars of the user.

Then I logged in via browser, checked your oC-settings, created a testentry in the calendar and everything seems normal. I couldn't figure out any remarkable difference to my own oC V6.0 settings, where connecting with CalDAVSyncAdapter works perfectly.

So it could be a problem with the server configuration of your oC instance. Please check your 'http://perso.you-and.be/owncloud/data/owncloud.log' for any errors regarding caldav. Also check your oC admin-panel for any warnings/errors. I remember having WebDAV issues back then with my oC V5.x using http. The solution was switching to https (ssl), which is anyway strongly recommended if you want the cloud to be under YOUR control. ;)

You could also consider updating your oC. If you wanna be on the save side, simply create a new oC V6.x instance on your server and test if the CalDAVSyncAdapter connects to that.

Cheers David