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

apple calendar server discover issue #457

Closed
c-schwamborn opened this Issue May 30, 2016 · 3 comments

Comments

Projects
None yet
2 participants
@c-schwamborn

c-schwamborn commented May 30, 2016

server:
apple calendarserver 4.2-1~tree.se on debian wheezy
(this is not by choice, I have to get it working - somehow)

client:
debian jessie
vdirsyncer 0.11.0
clientpython 2.7.9-2

config:
[general]
status_path = ~/.vdirsyncer/status/
python2 = true

[pair muman_contacts]
a = muman_contacts_local
b = muman_contacts_remote
collections = ["from a", "from b"]
metadata = ["displayname"]
conflict_resolution = "b wins"

[storage muman_contacts_local]
type = filesystem
path = ~/dav-sync/contacts/
fileext = .vcf

[storage muman_contacts_remote]
type = carddav

url = https://agenda.architektur.tu-darmstadt.de/

or

url = https://agenda.architektur.tu-darmstadt.de

same result

username = muman
password = password

[pair muman_calendar]
a = muman_calendar_local
b = muman_calendar_remote
collections = ["from a", "from b"]
metadata = ["displayname", "color"]
conflict_resolution = "b wins"

[storage muman_calendar_local]
type = filesystem
path = ~/dav-sync/calendars/
fileext = .ics

[storage muman_calendar_remote]
type = caldav

url = https://agenda.architektur.tu-darmstadt.de/

or

url = https://agenda.architektur.tu-darmstadt.de

same result

username = muman
password = password

vdirsyncer_debug-log.txt

The issue seems to be those '200 - permanently moved' answers. Several client libs I tried can not handle this server behavior.

@untitaker

This comment has been minimized.

Member

untitaker commented May 30, 2016

The server appears to think you're unauthenticated. Could you try setting auth = basic in your DAV section?

@c-schwamborn

This comment has been minimized.

c-schwamborn commented Jun 7, 2016

Hello Markus,

that worked for me, you can close the ticket, except you want to
implement a more meaningful error message.

Thank you
Christian

On 30.05.2016 18:20, Markus Unterwaditzer wrote:

The server appears to think you're unauthenticated. Could you try
setting |auth = basic| in your DAV section?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#457 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AGFmkG-jvn_WxXAbUCYAL7kzOsAf3oj_ks5qGw41gaJpZM4Ipxrl.

@untitaker

This comment has been minimized.

Member

untitaker commented Jun 7, 2016

We might change the default to auth = basic. If that is not happening, we might want to improve the error message.

untitaker added a commit that referenced this issue Jun 16, 2016

@untitaker untitaker self-assigned this Jun 16, 2016

untitaker added a commit that referenced this issue Jun 16, 2016

untitaker added a commit that referenced this issue Jun 16, 2016

untitaker added a commit that referenced this issue Jun 17, 2016

@untitaker untitaker removed the in progress label Jun 17, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment