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
{{ message }}
Repository navigation
Error when sending large messages over secure HTTPS with older PHP versions #60
When sending large contents via POST, specifically images (~90kb+) the connection simply hangs. I have already filed the same bug in for the WyriHaximus guzzle adapter here: WyriHaximus/react-guzzle-psr7#10.
Thanks for letting us know, but from the details you've posted, the problem appears to be a bit unclear to me. Perhaps you can elaborate: What exactly is hanging here, what is the expected behavior and how does the observed behavior differ?
There are many different possible sources of problems, perhaps this helps pinpointing this. Thanks!
Could we perhaps be running into HTTP's keepalive connection timeouts here?
I fixed it by using by own external micro service in golang to upload files via https. As far as I can tell no one else has followed up with the different issues to finally fix this. From what I can tell it seems to be a problem either in PHP itself or in the way it is handled by react socket client.
From what I can tell it seems to be a problem either in PHP itself or […]
Please provide us with some more details so we can look into this (see above). So far, nobody has managed to run into the issue you're seeing, so I'm not sure there's a problem in any of the mentioned components in the first place.
We still need some more information / confirmation here, but I suppose this may be related to reactphp/stream#64, which indicates this is a general issues with sending large chunks over a TLS connection.
We have managed to reproduce and pin point this to a bug in PHP that has recently been fixed in 7.1.4 and 7.0.18. We're planning to provide a work around for this for affected versions via reactphp/socket#105 👍
changed the title [-]Sending large POST body via SSL/TLS times out[/-][+]Error when sending large messages over secure HTTPS with older PHP versions[/+]on Aug 25, 2017
Activity
WyriHaximus commentedon Jul 15, 2016
ping @clue, could this possibly be in the SSL part of react/socket-client?
pwhelan commentedon Jul 15, 2016
This also happens at the socket-client level, this is an example (without actually parsing the response to exit cleanly):
pwhelan commentedon Jul 15, 2016
I also tested it with a small file and it worked perfectly.
clue commentedon Jul 17, 2016
Thanks for letting us know, but from the details you've posted, the problem appears to be a bit unclear to me. Perhaps you can elaborate: What exactly is hanging here, what is the expected behavior and how does the observed behavior differ?
There are many different possible sources of problems, perhaps this helps pinpointing this. Thanks!
Could we perhaps be running into HTTP's keepalive connection timeouts here?
clue commentedon Oct 6, 2016
Ping @pwhelan, and new info on this on?
pwhelan commentedon Oct 11, 2016
I fixed it by using by own external micro service in golang to upload files via https. As far as I can tell no one else has followed up with the different issues to finally fix this. From what I can tell it seems to be a problem either in PHP itself or in the way it is handled by react socket client.
clue commentedon Oct 12, 2016
Please provide us with some more details so we can look into this (see above). So far, nobody has managed to run into the issue you're seeing, so I'm not sure there's a problem in any of the mentioned components in the first place.
clue commentedon Mar 10, 2017
We still need some more information / confirmation here, but I suppose this may be related to reactphp/stream#64, which indicates this is a general issues with sending large chunks over a TLS connection.
clue commentedon May 19, 2017
We have managed to reproduce and pin point this to a bug in PHP that has recently been fixed in 7.1.4 and 7.0.18. We're planning to provide a work around for this for affected versions via reactphp/socket#105 👍
[-]Sending large POST body via SSL/TLS times out[/-][+]Error when sending large messages over secure HTTPS with older PHP versions[/+]