Page MenuHomePhabricator

HTTPSFuture

Authored By
joshuaspence
Feb 16 2015, 8:47 PM
Size
1 KB
Referenced Files
None
Subscribers
None

HTTPSFuture

* Hostname was NOT found in DNS cache
* Trying 184.72.239.46...
* Connected to api.hipchat.com (184.72.239.46) port 443 (#0)
* successfully set certificate verify locations:
* CAfile: /home/joshua/workspace/github.com/phacility/libphutil/resources/ssl/default.pem
CApath: /etc/ssl/certs
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* Server certificate:
* subject: C=US; ST=California; L=San Francisco; O=Atlassian, Inc.; OU=HipChat; CN=*.hipchat.com
* start date: 2013-10-22 12:00:01 GMT
* expire date: 2015-12-20 12:00:00 GMT
* subjectAltName: api.hipchat.com matched
* issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert SHA2 High Assurance Server CA
* SSL certificate verify ok.
> GET /v1/users/list HTTP/1.1
Host: api.hipchat.com
Accept: */*
Content-Length: 53
Content-Type: application/x-www-form-urlencoded
* upload completely sent off: 53 out of 53 bytes
< HTTP/1.1 401 Unauthorized
< Content-Type: application/json
< Date: Mon, 16 Feb 2015 20:45:26 GMT
* Server nginx is not blacklisted
< Server: nginx
< Content-Length: 133
< Connection: keep-alive
<
* Connection #0 to host api.hipchat.com left intact
[2015-02-17 07:45:26] EXCEPTION: (HTTPFutureHTTPResponseStatus) [HTTP/401]
{"error":{"code":401,"type":"Unauthorized","message":"Auth token not found. Please see: https:\/\/www.hipchat.com\/docs\/api\/auth"}} at [<phutil>/src/future/http/BaseHTTPFuture.php:337]
#0 BaseHTTPFuture::parseRawHTTPResponse(string) called at [<phutil>/src/future/http/HTTPSFuture.php:415]
#1 HTTPSFuture::isReady() called at [<phutil>/src/future/Future.php:39]
#2 Future::resolve() called at [<phutil>/src/future/http/BaseHTTPFuture.php:277]
#3 BaseHTTPFuture::resolvex() called at [<phlab>/infrastructure/HipChatClient.php:215]
#4 HipChatClient::makeRequest(string) called at [<phlab>/infrastructure/HipChatClient.php:189]
#5 HipChatClient::getUsers() called at [/home/joshua/workspace/git.freelancer.com/sys/phlab/test.php:7]

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/73/uu/s5qy7xf7ncqlss5w
Default Alt Text
HTTPSFuture (1 KB)

Event Timeline