0

我正在尝试创建一个连接到 Hostgator 服务器的 CardDAV 客户端。我使用了正确的 CardDAV url,但是当我执行下面的请求时,我得到了下面的响应。

要求

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

回复

User email@example.com 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

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

我希望这不是一个坏问题。我对这个社区相当陌生。

4

0 回答 0