TCP failure in PHP7 Ubuntu 16.04

56 views
Skip to first unread message

bellom...@gmail.com

unread,
Nov 7, 2016, 6:21:50 PM11/7/16
to Phirehose Users
Hello, I was trying to use Phirehose in my Ubuntu 16.04 with PHP7 . It worked on my Ubuntu 14.04 and PHP5.6 
but now, it doesn't connect to stream. And it doesn't show any error... this is what it says:


```
[08 Nov 2016 - 00:16:05] (streaming_monitor_generic_crawler) Phirehose: Resolved host stream.twitter.com to 199.16.156.20
[08 Nov 2016 - 00:16:05] (streaming_monitor_generic_crawler) Phirehose: Connecting to ssl://199.16.156.20, port=443, connectTimeout=5
[08 Nov 2016 - 00:16:05] (streaming_monitor_generic_crawler) Phirehose: TCP failure limit exceeded with 21 failures. Last error:
```

Do you know if it has some compatiblity issue with 16.04 or PHP7 ? 
It might be not a compatibility problem, though. 

Any idea?

cmo...@gmail.com

unread,
Jan 4, 2017, 10:26:48 AM1/4/17
to Phirehose Users, bellom...@gmail.com
Seeing the same issue after upgrading to OS X Sierra. The PHP version in my case is 5.6.27. Feels like this issue may be specific to certain versions of PHP?

cmo...@gmail.com

unread,
Jan 4, 2017, 2:21:28 PM1/4/17
to Phirehose Users, bellom...@gmail.com, cmo...@gmail.com

Yes, just confirmed, downgrading to PHP 5.5 fixed the issue. So, some kind of incompatibility with later versions of PHP, it seems. 

Salvatore Bellomo

unread,
Jan 4, 2017, 4:48:34 PM1/4/17
to Phirehose Users, cmo...@gmail.com
did you make sure that php-curl is installed?
apt-get install php-curl -y

--

---
You received this message because you are subscribed to a topic in the Google Groups "Phirehose Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/phirehose-users/CVDnDRWKBrg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to phirehose-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
------------------------------------------------
Salvatore Bellomo
Research Fellow

Reply all
Reply to author
Forward
0 new messages