You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Query/Executor::doQuer(). if createConnection throws exception (eg. ErrorException: stream_socket_client(): unable to connect to udp://8.8.8.8:53 (Network is unreachable) if not internet connections) than timeout timer calls $conn->close() on "null object", which causes fatal: PHP Fatal error: Call to a member function close() on a non-object in /var/www/projects/DomainScrapper/vendor/react/dns/Query/Executor.php on line 62
The text was updated successfully, but these errors were encountered:
For the reference: This bug has actually been addressed somewhat indirectly via reactphp/stream#9 a looong time ago. Ever since this change is in, it should pass through an uncaught exception, but should no longer try to invoke an invalid method on a non-object.
Obviously, this behavior is still broken, so I've just filed #45 that updates the dependencies, handles these exceptions and adds some tests to verify this should no longer happen.
Query/Executor::doQuer(). if createConnection throws exception (eg. ErrorException: stream_socket_client(): unable to connect to udp://8.8.8.8:53 (Network is unreachable) if not internet connections) than timeout timer calls $conn->close() on "null object", which causes fatal: PHP Fatal error: Call to a member function close() on a non-object in /var/www/projects/DomainScrapper/vendor/react/dns/Query/Executor.php on line 62
The text was updated successfully, but these errors were encountered: