-
-
Notifications
You must be signed in to change notification settings - Fork 62
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:1409F07F:SSL routines:SSL3_WRITE_PENDING:bad write retry #64
Comments
Thanks for reporting this! Looks like nobody has run into this thus far, so I'm really curious about this. Can you provide a gist that demonstrates this or perhaps even a test case that helps us reproduce this? |
The PHP bug has been fixed. |
@kelunik yep, I have not verified it yet though |
The bug has been present in PHP for years and has been fixed recently via php/php-src@17e9fc9 which landed in 7.1.4 and 7.0.18. I've just filed PR #105 which allows us to limit the write chunk size, which can be used to work around this for affected versions. Once #105 is in, I'll close this ticket as resolved and address this in the socket component under the new ticket reactphp/socket#105 👍 |
Closed via #105 |
@clue Please keep in mind that setting chunk to lower on PHP before fix just lowers chance of getting the error, but not completely fixes it. Too bad that the only real fix is to update PHP. In our environment this problem has gone after switching PHP to 7.1.4 |
@nick4fake I concur and believe this is something that is best discussed in reactphp/socket#105 👍 |
It looks like there is currently a bug in PHP:
https://bugs.php.net/bug.php?id=72333
As a temporary solution we could try to limit fwrite data length to 4096 of 8192 bytes, like suggested here:
http://stackoverflow.com/questions/14695247/in-php-openssl-error-messages-error-1409f07f-ssl-routines-ssl3-write-pendin
The text was updated successfully, but these errors were encountered: