Summary | issue with automatic synckronization from clients |
Queue | Kronolith |
Queue Version | 4.1.4 |
Type | Bug |
State | Not A Bug |
Priority | 2. Medium |
Owners | |
Requester | gerard.breiner (at) ias (dot) u-psud (dot) fr |
Created | 01/31/2014 (4122 days ago) |
Due | 01/31/2014 (4122 days ago) |
Updated | 03/24/2014 (4070 days ago) |
Assigned | |
Resolved | 03/21/2014 (4073 days ago) |
Milestone | |
Patch | No |
first. Some clients allow to activate "preemptive" authentication.
"preemptive" authentication ? I did not find where it is in the
options....
Best regards.
Gérard Breiner
State ⇒ Not A Bug
first. Some clients allow to activate "preemptive" authentication.
Priority ⇒ 2. Medium
Patch ⇒ No
Milestone ⇒
Queue ⇒ Kronolith
Due ⇒ 01/31/2014
Summary ⇒ issue with automatic synckronization from clients
Type ⇒ Bug
State ⇒ Unconfirmed
My horde.log is polluted with error messages :
EMERG: HORDE [horde] User is not authorized [pid 7706 on line 1547 of
« /www/horde5/pear/php/Horde/Registry.php « ]
It appears that this issue are linked with subscriptions at kronolith
agendas from thunderbird/Lightning or Calendar (MacOS).
In order to trace this issue, I added two lines in Registry.php ($file
and $tt) as below.
[code]
if ($checkPerms) {
if ($this->getAuth() && !$this->checkExistingAuth()) {
$file = '/www/horde5/pear/php/Horde/debug-backtrace.txt';
$tt = Horde::debug($GLOBALS['registry']->getAuth(), $file);
throw new Horde_Exception_PushApp(
'User is not authorized'.$tt,
self::AUTH_FAILURE, $app);
}
[/code]
"tail -300 debug-backtrace.txt" give the output below.
2014-01-14T14:37:40+01:00 DEBUG: Variable information:
string(8) "jmartin"
Backtrace:
1. Horde_Rpc_Webdav->getResponse() /www/horde5/rpc.php:156
2. Sabre\DAV\Server->exec() /www/horde5/pear/php/Horde/Rpc/Webdav.php:67
3. Sabre\DAV\Server->invokeMethod()
/www/horde5/pear/php/Sabre/DAV/Server.php:214
4. Sabre\DAV\Server->broadcastEvent()
/www/horde5/pear/php/Sabre/DAV/Server.php:455
5. call_user_func_array() /www/horde5/pear/php/Sabre/DAV/Server.php:433
6. Sabre\DAVACL\Plugin->beforeMethod()
7. Sabre\DAV\ObjectTree->nodeExists()
/www/horde5/pear/php/Sabre/DAVACL/Plugin.php:701
8. Sabre\DAV\ObjectTree->getNodeForPath()
/www/horde5/pear/php/Sabre/DAV/ObjectTree.php:96
9. Sabre\DAV\Collection->getChild()
/www/horde5/pear/php/Sabre/DAV/ObjectTree.php:64
10. Horde_Dav_RootCollection->getChildren()
/www/horde5/pear/php/Sabre/DAV/Collection.php:33
11. Horde_Registry->hasMethod()
/www/horde5/pear/php/Horde/Dav/RootCollection.php:85
12. Horde_Registry_Api->methods()
/www/horde5/pear/php/Horde/Registry.php:1077
13. Ingo_Api->disabled() /www/horde5/pear/php/Horde/Registry/Api.php:86
14. Horde_Registry->pushApp() /www/horde5/ingo/lib/Api.php:37
15. Horde::debug() /www/horde5/pear/php/Horde/Registry.php:1548
I eventually managed to reproduce this issue with my own account? It
appears that theses error messages (User is not authorized) are logged
when the users configure his client Thunderbird/Lightning or Calendar
(apple) for an automatic synchronization. With a manual
synchronization, all works very fine?
I have never encountered this issue with horde 5.1.1 kronolith 4.1.0.
Now it is horde 5.1.5 and kronolith 4.1.4.
A request that is not recognized by horde ?
Thanks in advance.
Best regards.
Gérard Breiner