Horde SabreDAV CardDAV Connection Errors

325 Views Asked by At

I am trying to create a CardDAV client that is connecting to a Hostgator server. I am using the correct CardDAV url, but when I execute the request below, I get the response below.

Request

GET /addressbooks/[email protected]/contacts~430ea1-57a6-5b5e-8c68-fad1ce80def6
Authorization: Basic [insert base 64 username:password]

Response

User [email protected] is not authorized (Remote host: 54.191.45.246)
In /usr/local/cpanel/3rdparty/php/54/lib/php/Horde/Registry.php on line 1573

 1. Horde_Rpc_Webdav->getResponse() /usr/local/cpanel/base/horde/rpc.php:158
 2. Sabre\DAV\Server->exec() /usr/local/cpanel/3rdparty/php/54/lib/php/Horde/Rpc/Webdav.php:66
 3. Sabre\DAV\Server->invokeMethod() /usr/local/cpanel/3rdparty/php/54/lib/php/Sabre/DAV/Server.php:214
 4. Sabre\DAV\Server->broadcastEvent() /usr/local/cpanel/3rdparty/php/54/lib/php/Sabre/DAV/Server.php:455
 5. call_user_func_array() /usr/local/cpanel/3rdparty/php/54/lib/php/Sabre/DAV/Server.php:433
 6. Sabre\DAVACL\Plugin->beforeMethod()
 7. Sabre\DAV\ObjectTree->nodeExists() /usr/local/cpanel/3rdparty/php/54/lib/php/Sabre/DAVACL/Plugin.php:701
 8. Sabre\DAV\ObjectTree->getNodeForPath() /usr/local/cpanel/3rdparty/php/54/lib/php/Sabre/DAV/ObjectTree.php:96
 9. Sabre\DAV\ObjectTree->getNodeForPath() /usr/local/cpanel/3rdparty/php/54/lib/php/Sabre/DAV/ObjectTree.php:67
10. Sabre\DAV\Collection->getChild() /usr/local/cpanel/3rdparty/php/54/lib/php/Sabre/DAV/ObjectTree.php:64
11. Horde_Dav_RootCollection->getChildren() /usr/local/cpanel/3rdparty/php/54/lib/php/Sabre/DAV/Collection.php:33
12. Horde_Registry->hasMethod() /usr/local/cpanel/3rdparty/php/54/lib/php/Horde/Dav/RootCollection.php:85
13. Horde_Registry->_doHasSearch() /usr/local/cpanel/3rdparty/php/54/lib/php/Horde/Registry.php:1011
14. Horde_Registry_Api->methods() /usr/local/cpanel/3rdparty/php/54/lib/php/Horde/Registry.php:1060
15. Ingo_Api->disabled() /usr/local/cpanel/3rdparty/php/54/lib/php/Horde/Registry/Api.php:86
16. Horde_Registry->pushApp() /usr/local/cpanel/base/horde/ingo/lib/Api.php:33

====================

I hope this isn't a bad question. I am fairly new to this community.

0

There are 0 best solutions below