连接到英国的Rackspace云文件时出现问题

不知道为什么以下代码
$auth = new CF_Authentication(USERNAME, API_KEY, NULL, UK_AUTHURL);
给了我
PHP Fatal error: Uncaught exception 'InvalidResponseException' with message 'Unexpected response (): ' in /var/www/sites/mysite/http/inc/rackspace/cloudfiles.php:212
Stack trace:
0 /var/www/sites/mysite/http//test-rackspace.html(17): CF_Authentication->authenticate()
1 {main}
thrown in /var/www/sites/mysite/http/inc/rackspace/cloudfiles.php on line 212
? 以前我错误地尝试使用以下方法连接到美国服务器:
$auth = new CF_Authentication(USERNAME, API_KEY);
这给了我:
PHP Fatal error: Uncaught exception 'AuthenticationException' with message 'Invalid username or access key.' in /var/www/sites/mysite/http/inc/rackspace/cloudfiles.php:209
Stack trace:
0 /var/www/sites/mysite/http/test-rackspace.html(17): CF_Authentication->authenticate()
1 {main}
thrown in /var/www/sites/mysite/http/inc/rackspace/cloudfiles.php on line 209
我已经尝试过1.7.9 / 1.7.8 / 1.7.6版本的代码。没有任何区别。 任何帮助大量赞赏,撕裂我的头发在这里!     
已邀请:
我无法在这里复制这个问题。以下打印我的UK Files帐户上的容器列表。 $ auth = new CF_Authentication($ username,$ api_key,NULL,UK_AUTHURL); $ auth->认证(); $ conn = new CF_Connection($ auth); 的print_r($ conn-> list_containers()); 如果您仍然遇到问题,您可能应该使用Rackspace打开支持票。     

要回复问题请先登录注册