flysystem-stream-wrapper
flysystem-stream-wrapper copied to clipboard
Warning: fwrite(): SSL: Broken pipe
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?
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
What in your consuming code is trying to fseek? I think that is the problem to solve here.