Comments (2)
So,
METHOD PROPFIND / STATUS 207
METHOD OPTIONS / STATUS 200
METHOD PROPFIND / STATUS 401 UNAUTHORIZED
Could you log the request's headers to see if the 3rd request has actually no Authorization headers ?
For the precondition fail test, This is very weird indeed : it looks like its trying to create a new event (If-None-Match header). For Updates, the header should be (If-Match). Could you log the complete request (with headers) ?
from cozy-sync.
So, I tried to reproduce the sequence of doom… Here it is!
PROFIND 207
Resume:
URL: https://matthias.cozycloud.cc/public/sync/calendars/me/
Status: Complete
Response Code: 207 Multi-Status
Protocol: HTTP/1.1
Method: PROPFIND
Kept Alive: Yes
Content-Type: application/xml; charset=utf-8
Client Addres: /192.168.1.2
Remote Address: matthias.cozycloud.cc/176.31.234.107
Headers:
PROPFIND /public/sync/principals/me/ HTTP/1.1
Host matthias.cozycloud.cc
User-Agent iOS/8.2 (12D508) dataaccessd/1.0
Accept-Language fr-fr
Accept-Encoding gzip, deflate
Accept */*
Content-Type text/xml
Prefer return=minimal
Depth 0
Connection keep-alive
Cookie express:sess=eyJwYXNzcG9ydCI6e319; express:sess.sig=1SBZncwHX1_yo8X3CZxeRellg8Y
Authorization Basic bWU6ZTF5ODUxSXJvbA==
Content-Length 267
Proxy-Connection keep-alive
Brief t
PROFIND 401
Resume:
URL: https://matthias.cozycloud.cc/public/sync/principals/me/
Status: Complete
Response Code: 401 Unauthorized
Protocol: HTTP/1.1
Method: PROPFIND
Kept Alive: No
Content-Type: application/xml; charset=utf-8
Client Address: /192.168.1.2
Remote Address: matthias.cozycloud.cc/176.31.234.107
Headers:
PROPFIND /public/sync/principals/me/ HTTP/1.1
Host matthias.cozycloud.cc
User-Agent iOS/8.2 (12D508) dataaccessd/1.0
Accept-Language fr-fr
Accept-Encoding gzip, deflate
Accept */*
Content-Type text/xml
Prefer return=minimal
Depth 0
Connection keep-alive
Cookie express:sess=eyJwYXNzcG9ydCI6e319; express:sess.sig=1SBZncwHX1_yo8X3CZxeRellg8Y
Proxy-Connection keep-alive
Content-Length 743
Brief t
PROFIND 207
Resume:
URL: https://matthias.cozycloud.cc/public/sync/principals/me/
Status: Complete
Response Code: 207 Multi-Status
Protocol: HTTP/1.1
Method: PROPFIND
Kept Alive: Yes
Content-Type: application/xml; charset=utf-8
Client Address: /192.168.1.2
Remote Address: matthias.cozycloud.cc/176.31.234.107
Headers:
PROPFIND /public/sync/principals/me/ HTTP/1.1
Host matthias.cozycloud.cc
User-Agent iOS/8.2 (12D508) dataaccessd/1.0
Accept-Language fr-fr
Accept-Encoding gzip, deflate
Accept */*
Content-Type text/xml
Prefer return=minimal
Depth 0
Connection keep-alive
Cookie express:sess=eyJwYXNzcG9ydCI6e319; express:sess.sig=1SBZncwHX1_yo8X3CZxeRellg8Y
Authorization Basic bWU6ZTF5ODUxSXJvbA==
Content-Length 743
Proxy-Connection keep-alive
Brief t
OPTIONS 200
Resume:
URL: https://matthias.cozycloud.cc/public/sync/principals/me/
Status: Complete
Response Code: 200 OK
Protocol: HTTP/1.1
Method: OPTIONS
Kep-Alive: Yes
Content-Type:
Client Address: /192.168.1.2
Remote Address: matthias.cozycloud.cc/176.31.234.107
Headers:
OPTIONS /public/sync/principals/me/ HTTP/1.1
Host matthias.cozycloud.cc
Authorization Basic bWU6ZTF5ODUxSXJvbA==
Accept-Encoding gzip, deflate
Accept */*
Cookie express:sess=eyJwYXNzcG9ydCI6e319; express:sess.sig=1SBZncwHX1_yo8X3CZxeRellg8Y
Accept-Language fr-fr
Content-Length 0
Connection keep-alive
Proxy-Connection keep-alive
User-Agent iOS/8.2 (12D508) dataaccessd/1.0
from cozy-sync.
Related Issues (20)
- Problem syncing a calendar with a "/" in its name
- Files Application doesn't running HOT 3
- synchro impossible HOT 18
- [server] TypeError: Object false has no method 'setHeader'
- Enable CORS requests
- Error on event creation
- Allow for several auth tokens HOT 3
- Error while syncing contact
- Add Thunderbird Cardbook config informations HOT 5
- Provide time stamped logs HOT 1
- [CardDAV] Property groups, e.g. for X-ABLabel, not recognized correctly HOT 1
- Sync files via WebDAV HOT 1
- Picture synchronization is broken with SoGo and Cardbook (Thunderbird) HOT 3
- Error 14 with Calendar on Mac
- Alerts set on event on calDAV client not synchronised to cozy instance
- Allow note synchronization HOT 5
- Wrong escaping of quotes inside event title
- Add a "copy to clipboard" button
- Impossible to delete an occurence of a recurrent event HOT 2
- Sync issues with MacOS and iOS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cozy-sync.