flysystem-stream-wrapper icon indicating copy to clipboard operation
flysystem-stream-wrapper copied to clipboard

Warning: fwrite(): SSL: Broken pipe

Open JarJak opened this issue 7 years ago • 2 comments

I am connecting to Google Drive API with Flysystem and trying to stream files directly to it.

I'm trying to use your code but I'm getting:

Warning: fwrite(): SSL: Broken pipe
in vendor/twistor/flysystem-stream-wrapper/src/FlysystemStreamWrapper.php at line 661

this line is: https://github.com/twistor/flysystem-stream-wrapper/blob/master/src/FlysystemStreamWrapper.php#L661

Any ideas how to fix this error?

JarJak avatar Feb 16 '18 08:02 JarJak

After adding @ to fwrite I get:

Warning: fseek(): stream does not support seeking
in vendor/twistor/flysystem-stream-wrapper/src/FlysystemStreamWrapper.php at line 421

https://github.com/twistor/flysystem-stream-wrapper/blob/master/src/FlysystemStreamWrapper.php#L421

JarJak avatar Feb 16 '18 08:02 JarJak

What in your consuming code is trying to fseek? I think that is the problem to solve here.

Lewiscowles1986 avatar Feb 14 '20 06:02 Lewiscowles1986