Relationship Graph
View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002311 | SOGo Connector | with external server | public | 2013-05-09 16:14 | 2014-02-07 13:38 |
Reporter | MichelR | Assigned To | ludovic | ||
Priority | normal | Severity | block | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Fixed in Version | 24.0.4 | ||||
Summary | 0002311: Sogo doesn't handle a 403 response after a REPORT request | ||||
Description | The problem appeared with IceWarp server and Connector v17.0.5. Here is the process : -1- Sogo makes a PROPFIND request
| ||||
Additional Information | I'm a dev and currently working on this bug. | ||||
Tags | No tags attached. | ||||
I have similar problem with PHP-Push-2 project. I've changed query in PROPFIND and sync seems work correctly.... but I think this is not a solution. |
|
@MichelR |
|
Any updates on the patches? |
|
2013-05-28 08:33
|
icewarp_403.patch (1,199 bytes)
diff --git a/chrome/content/sogo-connector/general/sync.addressbook.groupdav.js b/chrome/content/sogo-connector/general/sync.addressbook.groupdav.js index 848c38b..6de7c67 100644 --- a/chrome/content/sogo-connector/general/sync.addressbook.groupdav.js +++ b/chrome/content/sogo-connector/general/sync.addressbook.groupdav.js @@ -1215,7 +1215,20 @@ new: } } else - dump("onServerHashQueryComlete: the server returned an empty response\n"); + { + dump("onServerSyncQueryComplete: the server returned an empty response\n"); + // We handle a special case : server returns a 403 status but with an empty response. + // It is not well defined in RFC how to handle that. + // It seems that IceWarp Server wants the client to retry without a token. + if (status == 403) { + dump("[sogo-connector] received '403' status" + + ", retrying without a token...\n"); + this.webdavSyncToken = ""; + this.triggerWebDAVSync(); + } else { + this.abort(); + } + } }, processCards: function() { |
Please find the file "icewarp_403.patch" In a similar way, I have a question about the "onServerHashQueryComplete" method (/chrome/content/sogo-connector/general/sync.addressbook.groupdav.js) : current version :
Shouldn't it need a "abort()" when there is no json response ?
|
|
Patch pushed: https://github.com/inverse-inc/sogo-connector.tb24/commit/e90acfbe7de32992e61108a446fd34eed9978765 I don't understand your command 0005616 - that's exactly what the patch does! |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2013-05-09 16:14 | MichelR | New Issue | |
2013-05-10 09:56 | onofabio | Note Added: 0005573 | |
2013-05-10 14:35 | Christian Mack | Note Added: 0005575 | |
2013-05-24 11:40 | ludovic | Note Added: 0005609 | |
2013-05-28 08:33 | MichelR | File Added: icewarp_403.patch | |
2013-05-28 08:39 | MichelR | Note Added: 0005616 | |
2013-09-17 19:37 |
|
Status | new => assigned |
2013-09-17 19:37 |
|
Assigned To | => jraby |
2014-02-07 13:38 | ludovic | Note Added: 0006520 | |
2014-02-07 13:38 | ludovic | Status | assigned => closed |
2014-02-07 13:38 | ludovic | Assigned To | jraby => ludovic |
2014-02-07 13:38 | ludovic | Resolution | open => fixed |
2014-02-07 13:38 | ludovic | Fixed in Version | => 24.0.4 |