Skip to content
This repository was archived by the owner on May 23, 2026. It is now read-only.
This repository was archived by the owner on May 23, 2026. It is now read-only.

Uncaught exception in Phirehose failure #28

Description

@magsol

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions