View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001549 | SOGo | Backend General | public | 2011-12-15 10:06 | 2012-01-16 21:45 |
Reporter | Dominique | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | Linux | OS | Ubuntu | OS Version | 11.10 (x64) |
Product Version | 1.3.10 | ||||
Summary | 0001549: CalDAV sync fail in 1.3.11 (true for CardDav as well) | ||||
Description | I used to sync very happily and successfully a Samsung Galaxy S2 with Sogo 1.3.10 through dmfs (from Marten Gajda) CalDAV and CardDAV app and so both under normal connection (80) and ssl (443). This allowed multiple calendar access (through delegated calendars). Same statement for iPad2 IOS 5.0.1. After updating to version 1.3.11 (same holds true on a clean install), it does not work any more. | ||||
Steps To Reproduce | Ubuntu 11.10 (and 10.04 LTS) Some is true for iPad2 IOS 5.01 | ||||
Additional Information | After updating to version 1.3.11, I had to recreate the connection from my phone since it did not want to use the current setup. When restarting the connection process, the app does not want to create a generic connection to the SOGo server (just with the server name), and when specifying a specific account (server/SOGo/dav/user/Calendar/personal/) you only ahve access to one calendar - not even working one as you cannot sync new entries from the phoen to the server, and the existing calendar entries from the server do not show up. I disabled ssl support to check only std port but no success for 1.3.11 I wrote to Marten to report the bug and after several tests on his side, and a few more one mine, it would seems the problem is on the SOGo side. To be sure I setup a test SOGo 2.0.0 (Build 201112141323) server and everything worked well as expected with the app (both port 80 and 443). The same holds true on iPad2 IOS 5.01 which used to work as well (Calendar/Tasks/Address Book) In the SOGo Log, when forcing the creation of a single account, the following appears when trying to sync/create/edit: localhost - - [14/Dec/2011:19:47:54 GMT] "POST /SOGo/so/dcouot/Calendar/eventsblocks?sd=20111128&ed=20120101&view=monthview HTTP/1.1" 200 647/0 0.055 2565 74% 0 Similar entries exist for the iPad. | ||||
Tags | No tags attached. | ||||
I sent Dominique a test request and it turned out that the value of the response>href element startet with http:/www... instead of http://www... . My app skips those responses and hence it doesn't sync. |
|
I have no problem syncing with caldav-sync or iOS and SOGo 1.3.11. I've also seen no other complaints. Are you sure the problem isn't a typo in the apache configuration, for example in x-webobjects-server-url? |
|
I am not saying SOGO 1.3.11 does not sync ... I say it does sync when installed on Ubuntu 11.10 |
|
We're having the very same problem here - sync with CalDAV stopped working after an upgrade from SOGo 1.3.10 to 1.3.11 (on Ubuntu 10.04). Is there anything new regarding this issue? |
|
Can you post your SOGo log and apache config? Because it's working for everyone else, it might be something wrong in your configuration, or at least something different than everyone else has. |
|
2012-01-11 11:02
|
|
2012-01-11 11:03
|
sogo.log (2,606 bytes)
127.0.0.1 - - [11/Jan/2012:06:39:34 GMT] "OPTIONS /SOGo/dav/myuser/Calendar/eimi_EC8-4ACB3780-3-F4D520/ HTTP/1.1" 401 0/0 0.002 - - 8K 2012-01-11 06:39:34.703 sogod[10433] -[WEClientCapabilities initWithRequest:]: Unknown WebClient: user-agent='CalDAV-Sync for Android (gzip)' 127.0.0.1 - - [11/Jan/2012:06:39:34 GMT] "OPTIONS /SOGo/dav/myuser/Calendar/eimi_EC8-4ACB3780-3-F4D520/ HTTP/1.1" 200 0/0 0.085 - - 8K 127.0.0.1 - - [11/Jan/2012:06:39:34 GMT] "REPORT /SOGo/dav/eimi/Calendar/EC8-4ACB3780-1-F4D520/ HTTP/1.1" 207 2875/349 0.049 - - 0 127.0.0.1 - - [11/Jan/2012:06:39:34 GMT] "REPORT /SOGo/dav/eimi/Calendar/6C1-4D2EDC80-1-CF4EE80/ HTTP/1.1" 207 126/349 0.038 - - 0 127.0.0.1 - - [11/Jan/2012:06:39:34 GMT] "REPORT /SOGo/dav/eimi/Calendar/EC8-4ACB3780-1-F4D520/ HTTP/1.1" 207 15490/255 0.038 - - 0 127.0.0.1 - - [11/Jan/2012:06:39:34 GMT] "REPORT /SOGo/dav/eimi/Calendar/7A48-4B59B980-2A9-957590/ HTTP/1.1" 207 366/349 0.037 - - 0 127.0.0.1 - - [11/Jan/2012:06:39:34 GMT] "REPORT /SOGo/dav/myuser/Calendar/eimi_EC8-4ACB3780-3-F4D520/ HTTP/1.1" 401 0/351 0.025 - - 0 127.0.0.1 - - [11/Jan/2012:06:39:34 GMT] "REPORT /SOGo/dav/eimi/Calendar/6C1-4D2EDC80-1-CF4EE80/ HTTP/1.1" 207 1895/255 0.037 - - 0 127.0.0.1 - - [11/Jan/2012:06:39:34 GMT] "REPORT /SOGo/dav/eimi/Calendar/7A48-4B59B980-2A9-957590/ HTTP/1.1" 207 2331/255 0.037 - - 0 127.0.0.1 - - [11/Jan/2012:06:39:35 GMT] "REPORT /SOGo/dav/myuser/Calendar/eimi_EC8-4ACB3780-3-F4D520/ HTTP/1.1" 207 1577/351 0.041 18848 91% 24K 127.0.0.1 - - [11/Jan/2012:06:39:36 GMT] "REPORT /SOGo/dav/eimi/Calendar/6ECD-4AE18E00-9-48B520/ HTTP/1.1" 207 126/349 0.039 - - 0 127.0.0.1 - - [11/Jan/2012:06:39:36 GMT] "REPORT /SOGo/dav/eimi/Calendar/6ECD-4AE18E00-9-48B520/ HTTP/1.1" 207 5147/255 0.039 - - 0 127.0.0.1 - - [11/Jan/2012:06:39:36 GMT] "OPTIONS /SOGo/dav/myuser/Calendar/personal/ HTTP/1.1" 401 0/0 0.002 - - 0 2012-01-11 06:39:36.192 sogod[10433] -[WEClientCapabilities initWithRequest:]: Unknown WebClient: user-agent='CalDAV-Sync for Android (gzip)' 127.0.0.1 - - [11/Jan/2012:06:39:36 GMT] "OPTIONS /SOGo/dav/myuser/Calendar/personal/ HTTP/1.1" 200 0/0 0.028 - - 0 127.0.0.1 - - [11/Jan/2012:06:39:36 GMT] "REPORT /SOGo/dav/myuser/Calendar/personal/ HTTP/1.1" 401 0/351 0.007 - - 0 127.0.0.1 - - [11/Jan/2012:06:39:36 GMT] "REPORT /SOGo/dav/myuser/Calendar/personal/ HTTP/1.1" 207 643/351 0.043 5133 87% 0 127.0.0.1 - - [11/Jan/2012:06:39:37 GMT] "REPORT /SOGo/dav/myuser/Calendar/personal/ HTTP/1.1" 401 0/287 0.005 - - 0 127.0.0.1 - - [11/Jan/2012:06:39:37 GMT] "REPORT /SOGo/dav/myuser/Calendar/personal/ HTTP/1.1" 207 771/287 0.034 1367 43% 0 |
@Marten: Can you send me the test request you mentioned, please? Turns out we're only having problems syncing with some devices, not all. |
|
2012-01-16 16:45
|
current-user-principal.xml (128 bytes)
<?xml version="1.0" encoding="UTF-8"?> <D:propfind xmlns:D="DAV:"> <D:prop> <D:current-user-principal/> </D:prop> </D:propfind> |
I've attached the request xml file I sent to Dominique (current-user-principal.xml) . Send it to the server with something like: curl -k --data-binary @current-user-principal.xml -H "Content-type: application/xml" -H "depth:1" -D - -X PROPFIND -u <USERNAME> https://<SERVERNAME>/SOGo/dav/ > response.txt be sure to replace <USRNAME> and <SERVERNAME> with the actual values and that current-user-principal.xml is in the current working directory. (don't copy the [^]) The response from Dominique's server was HTTP/1.1 207 Multi-Status <?xml version="1.0" encoding="utf-8"?> You can see that the first href value starts with http:/ instead of http:// |
|
Dominique, show your .GNUstepDefaults. |
|
In my case the result looks a little different: HTTP/1.1 207 Multi-Status Vary: Accept-Encoding <?xml version="1.0" encoding="utf-8"?> I replaced SERVERNAME and USERNAME. Yet SERVERNAME doesn't appear at all the respone! |
|
My guess is that Dominique uses WOApplicationRedirectURL which MUST NOT be used anymore with SOGo. |
|
Here is my .GNUstepDefaults (see attachments) which is working fine for SOGo 1.3.11 on both Ubuntu 10.04 and 11.04 without editing it. Same file was used for Ubuntu 1.3.11 install. |
|
2012-01-16 21:19
|
|
Remove "WOUseRelativeURLs = NO;". |
|
OK, that did it, however the "WOUseRelativeURLs = NO;" did not create problems prior to version 1.3.11 under Ubuntu (nightly version 2.0.0 20120116090 to be exact for this last test). Maybe Inverse should document entries in .GNUstepDefaults being deprecated by each growing version (the one just removed is not even called the same way in two different entries here "WOUseRelativeURLs" and "WOApplicationRedirectURL "). |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2011-12-15 10:06 | Dominique | New Issue | |
2011-12-16 07:23 | Marten Gajda | Note Added: 0003176 | |
2011-12-23 15:18 | dekkers | Note Added: 0003191 | |
2011-12-23 15:30 | Dominique | Note Added: 0003192 | |
2012-01-11 09:41 | mfies | Note Added: 0003266 | |
2012-01-11 10:23 | dekkers | Note Added: 0003267 | |
2012-01-11 11:02 | mfies | File Added: apache.conf | |
2012-01-11 11:03 | mfies | File Added: sogo.log | |
2012-01-16 15:24 | mfies | Note Added: 0003273 | |
2012-01-16 16:45 | Marten Gajda | File Added: current-user-principal.xml | |
2012-01-16 16:54 | Marten Gajda | Note Added: 0003274 | |
2012-01-16 16:55 | Marten Gajda | Note Edited: 0003274 | |
2012-01-16 19:24 | ludovic | Note Added: 0003277 | |
2012-01-16 20:24 | mfies | Note Added: 0003278 | |
2012-01-16 20:26 | ludovic | Note Added: 0003279 | |
2012-01-16 20:33 | mfies | Note Edited: 0003278 | |
2012-01-16 21:19 | Dominique | Note Added: 0003280 | |
2012-01-16 21:19 | Dominique | File Added: .GNUstepDefaults | |
2012-01-16 21:20 | Dominique | Note Edited: 0003280 | |
2012-01-16 21:21 | ludovic | Note Added: 0003281 | |
2012-01-16 21:24 | Dominique | Note Edited: 0003280 | |
2012-01-16 21:43 | Dominique | Note Added: 0003282 | |
2012-01-16 21:45 | ludovic | Status | new => closed |
2012-01-16 21:45 | ludovic | Resolution | open => no change required |