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

CALDAV verification fails with iOS. #117

Open
mjoaquim12 opened this issue Mar 20, 2019 · 4 comments
Open

CALDAV verification fails with iOS. #117

mjoaquim12 opened this issue Mar 20, 2019 · 4 comments
Assignees

Comments

@mjoaquim12
Copy link

CALDAV stopped working on iPhone. Works well on other clients.

@bradmac
Copy link
Contributor

bradmac commented Mar 20, 2019

please provide details.

@mjoaquim12
Copy link
Author

The two step authentication process fails for iOS CalDAV account. The first request is processed but no subsequent request with auth details is received.

iOS 12.1.4 error logs with production URL:

error	11:39:36.914815 +0400	accountsd	"<private> is trying to verify account credentials for account: <private>"
error	11:39:36.916537 +0400	accountsd	CredStore - performQuery - Error copying matching creds.  Error=-25300, query=<private>
error	11:39:37.464118 +0400	accountsd	CredStore - performQuery - Error copying matching creds.  Error=-25300, query=<private>
error	11:39:38.089785 +0400	Preferences	validation failed with error Error Domain=CoreDAVErrorDomain Code=8

iOS 12.1.4 error logs with development URL:

error	11:33:51.451997 +0400	accountsd	"<private> is trying to verify account credentials for account: <private>"
error	11:33:51.453017 +0400	accountsd	CredStore - performQuery - Error copying matching creds.  Error=-25300, query=<private>
error	11:33:51.544240 +0400	accountsd	CredStore - performQuery - Error copying matching creds.  Error=-25300, query=<private>
error	11:33:51.544845 +0400	accountsd	Cancelling authentication challenge for insecure connection using basic authentication for URL <private>
error	11:33:51.547042 +0400	Preferences	validation failed with error Error Domain=DAAccountValidationDomain Code=102 UserInfo={NSUnderlyingError=0x283c0eeb0 {Error Domain=NSURLErrorDomain Code=-1012 UserInfo={NSErrorFailingURLStringKey=<private>, NSErrorFailingURLKey=<private>}}}

Stackoverflow says:
https://stackoverflow.com/questions/46099940/credstore-perform-query-error/46806008#46806008

@mjoaquim12 mjoaquim12 changed the title CALDAV verification fails with iPhone. CALDAV verification fails with iOS. Mar 25, 2019
@HasanGee
Copy link

Hello, has this issue been resolved? We are experiencing the same issue.

@bradmac
Copy link
Contributor

bradmac commented Apr 15, 2019

Hey guys, the ios logs above really dont tell me anything.

I really need to see some logs from the milton side.

And the first thing you should do to debug is to check the network logs. Ie what status codes is milton returning for each request? Any error codes at all indicate an incorrect implementation and will cause the operation as a whole to fail.

Eg check for 500's, 401s, 404's, etc

If you're seeing an error response code then try to find out why. A very common problem is that developers just ignore required semantics they dont understand or dont see a need for, but OS clients tend to be sensitive to edge cases.

I dont think the SO link above is relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants