Streaming API not working on 000WebHost

98 views
Skip to first unread message

wertz...@gmail.com

unread,
Jun 21, 2016, 8:23:20 PM6/21/16
to Phirehose Users
Hi all,

I have a script to track tweets that have specific keywords and its working fine when running it from localhost (Windows) but when I try to run it on a 000WebHost server (Linux) I am receiving a connection timeout.

I did some googling and I found this link, which mentions 000WebHost, so I assume that Phirehose should work on the server, so maybe something is configured incorrectly in my copy of the Phirehose lib.

Here is the error log for when I tried to run my script. 
Note that I shortened the timeout to 2 retries instead of 20.

[21-Jun-2016 20:08:06] Phirehose: Connecting to twitter stream: https://stream.twitter.com/1.1/statuses/filter.json with params: array (  'track' => 'the',)
[21-Jun-2016 20:08:06] Phirehose: Connecting to ssl://stream.twitter.com, port=443, connectTimeout=5
[21-Jun-2016 20:08:11] Phirehose: TCP failure 1 of 1 connecting to stream: Connection timed out (110). Sleeping for 1 seconds.
[21-Jun-2016 20:08:12] Phirehose: Connecting to twitter stream: https://stream.twitter.com/1.1/statuses/filter.json with params: array (  'track' => 'the',)
[21-Jun-2016 20:08:12] Phirehose: Connecting to ssl://stream.twitter.com, port=443, connectTimeout=5
[21-Jun-2016 20:08:17] Phirehose: TCP failure limit exceeded with 2 failures. Last error: Connection timed out

Any help or suggestions would be greatly appreciated.

Thanks

wertz...@gmail.com

unread,
Jun 21, 2016, 8:24:03 PM6/21/16
to Phirehose Users, wertz...@gmail.com
Also, let me know if I need to provide any additional information.
Reply all
Reply to author
Forward
0 new messages