Phirehose stopped working


#1

I just noted today, my app under Phirehose is no longer working. This is the message I get:

Phirehose: Connecting to twitter stream: https://userstream.twitter.com/2/user.json with params: array ( ‘delimited’ => ‘length’,)
Phirehose: Resolved host userstream.twitter.com to 199.16.156.81, 199.16.156.48
Phirehose: Connecting to 199.16.156.48
Phirehose: Connection established to 199.16.156.48
Phirehose: DEBUG: 'POST&https%3A%2F%2Fuserstream.twitter.com%2F2%2Fuser.json&delimited%3Dlength%26oauth_consumer_key%3D1FlXrrtMYUFOTorAFc5UXQ%26oauth_nonce%3De86327e0adfb839f3a2d5e8bf54b47fc%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1385680841%26oauth_token%3D9180152-8Jo8iuE8Cozu33H8enjFxxQGzMvx4Q0uoFkc1GtY%26oauth_version%3D1.0’
Phirehose: POST /2/user.json HTTP/1.0
Phirehose: Host: userstream.twitter.com:443
Phirehose: Content-type: application/x-www-form-urlencoded
Phirehose: Content-length: 16
Phirehose: User-Agent: Phirehose (https://github.com/fennb/phirehose)
Phirehose: Authorization: OAuth realm=“https://userstream.twitter.com/2/user.json”, oauth_consumer_key="…", oauth_token="…", oauth_nonce="…", oauth_timestamp=“1385680841”, oauth_signature_method=“HMAC-SHA1”, oauth_version=“1.0”, oauth_signature="…"
Phirehose:
Phirehose: delimited=length
Phirehose:
Phirehose: HTTP failure 1 of 20 connecting to stream: HTTP ERROR 403: Forbidden (Error 403 Access Forbidden.

HTTP ERROR: 403

Problem accessing ‘/2/user.json’. Reason:

    Access Forbidden.
). Sleeping for 10 seconds.

Any help would be appreciated. I am a novice level developer.

=m


#2

It looks like the library you’re using still uses HTTP 1.0 – the Streaming APIs now require HTTP 1.1 to function. Perhaps look into upgrading your library?