i think the code needs to be updated to v 2.0

im getting this error ::

    Notice: Undefined offset: 1 in HPCloud\Transport\Response->parseHeaders() (line 328 of /var/www/html/modules/hpcloud/HPCloud-PHP/src/HPCloud/Transport/Response.php).
    Notice: Undefined offset: 2 in HPCloud\Transport\Response->parseHeaders() (line 329 of /var/www/html/modules/hpcloud/HPCloud-PHP/src/HPCloud/Transport/Response.php).
    Authentication to HPCloud failed.
    Authentication to HPCloud failed.

when i input my api keys

and when i put in the correct endpoint it replys
The endpoint URL has been normalized to https://region-a.geo-1.identity.hpcloudsvc.com:35357 but not as an error

and nothing reported in /var/log/httpd/error_log

if there is some other log file or test i can run please let me know

Comments

mbutcher’s picture

The error above indicates that whatever server you connected to did not return a valid HTTP response. Chances are this is related to network configuration. If you are running behind a proxy, that may be what is causing the issue.

The best way to test is to go into the HPCloud module's `test/` directory and run `php AuthTest.php` to see if you can connect at the commandline.

aditaa’s picture

the issue seams to stem from HPCloud-PHP not actually supporting PHP v 5.3.3 it works w/ version 5.4.6 i have filled a bug report here : https://github.com/hpcloud/HPCloud-PHP/issues/6

jeambriz’s picture

When I was trying to authenticate my HP Cloud services account - I noticed it asks for the alphanumeric Account ID. The Account IDs are not alphanumeric, they're just a series of numbers. When I plugged in my access key I was able to authenticate my service.

mfer’s picture

Status: Active » Fixed

There are two parts to this issues.

The part noted by jeambriz about the naming conventions is fixed in 23301b1. The part by aditaa is in the bindings and has an issue there. It's not for the module to fix.

So, I'm closing this one out.

Automatically closed -- issue fixed for 2 weeks with no activity.