J
J
jehord2014-11-03 19:08:00
Yii
jehord, 2014-11-03 19:08:00

What is error 55: SSL_write() returned SYSCALL, errno = 0?

I'm trying to upload a file to Yandex disk, only the first file is uploaded, after which this error appears

[curl] 55: SSL_write() returned SYSCALL, errno = 0 [url]

I use yandex-php-library
https://github.com/nixsolutions/yandex-php-library...
public function actionTest(){
    $file = \Yii::$app->basePath . '/web/podborka_19.jpg';
    Yii::$app->yadisk->disk->uploadFile(
      '/funny_images/',
      array(
        'path' => $file,
        //'size' => filesize($fileName),
        'name' => 'podborka_19.jpg'
      )
    );
  }

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question