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
Error of activate the readable watcher for event extension #276
Comments
I have no idea why that might happen. Could you report that as a bug to the event extension at https://bitbucket.org/osmanov/pecl-event? |
@deadbeat88 created an issue here: https://bitbucket.org/osmanov/pecl-event/issues/56/bug-of-stream-conversion. The warning occurs when It should be noted that the warning wouldn't appear in case of using numeric file descriptor, or a socket resource instead of a PHP stream. |
@rosmanov I guess it might be a TLS socket? @deadbeat88 Could you check with stream_get_meta_data which kind of steam is responsible for that warning? |
@kelunik could be just any stream resource (resource created with the sockets extension is a different thing) @kelunik @deadbeat88 I've now added |
Today after your comment about stream resource I narrowed down the search and found that the error occurs when using
for example for Approximately 1 time out of 10-15 when executing the code
ends with an error. Later, I will check with an update of event extension) |
@rosmanov released new version 2.5.3, bug fixed and issue can be closed. |
Cool! |
At application where there are a lot of async filesytem operations, also uses rabbitmq and postgres. Sometimes I get the following error: Warning: Event::__construct(): 2 bytes of buffered data lost during stream conversion!' at /var/www/vendor/amphp/amp/lib/Loop/EventDriver.php:245 and then application is crushed. Any idea with this error? Use v2.1.2.
The text was updated successfully, but these errors were encountered: