Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught exception in Phirehose failure #28

Open
magsol opened this issue Nov 30, 2011 · 1 comment
Open

Uncaught exception in Phirehose failure #28

magsol opened this issue Nov 30, 2011 · 1 comment
Assignees

Comments

@magsol
Copy link
Owner

magsol commented Nov 30, 2011

Need better error-handling in the main loop to account for this exception and perform a clean shutdown:

PHP Fatal error:  Uncaught exception 'PhirehoseConnectLimitExceeded' with message 'TCP failure limit exceeded with 21 failures. Last error: Connection timed out' in Phirehose.php:575
Stack trace:
#0 Phirehose.php(752): Phirehose->connect()
#1 Phirehose.php(379): Phirehose->reconnect()
#2 twitterbot.php(82): Phirehose->consume()
#3 run.php(55): Twitterbot->loop()
#4 {main}
  thrown in Phirehose.php on line 575
@ghost ghost assigned magsol Nov 30, 2011
@magsol
Copy link
Owner Author

magsol commented May 21, 2012

New exception:

PHP Fatal error:  Uncaught exception 'PhirehoseNetworkException' with message 'Unable to resolve hostname: 'stream.twitter.com"' in Phirehose.php:557
Stack trace:
#0 Phirehose.php(752): Phirehose->connect()
#1 Phirehose.php(379): Phirehose->reconnect()
#2 twitterbot.php(82): Phirehose->consume()
#3 run.php(55): Twitterbot->loop()
#4 {main}
  thrown in Phirehose.php on line 557

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant