Skip to content

curl upload error on production server #96

@stapel-tv

Description

@stapel-tv

Hello,
I use Vimeo\Laravel\Facades\Vimeo Vimeo::upload to upload my video's and it works great on my dev machine.

If i run it on my production server, i get a cURL error.

cURL error 56: OpenSSL SSL_read: Connection reset by peer, errno 104 (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://europe-files.tus.vimeo.com/files/vimeo-prod-src-tus-eu/7b64d81dfad0fc58b46ddc7d053387fa {"userId":1,"exception":"[object] (Vimeo\Exceptions\VimeoUploadException(code: 0): cURL error 56: OpenSSL SSL_read: Connection reset by peer, errno 104 (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://europe-files.tus.vimeo.com/files/vimeo-prod-src-tus-eu/7b64d81dfad0fc58b46ddc7d053387fa at ******/vendor/vimeo/vimeo-api/src/Vimeo/Vimeo.php:615)

However, i can create a folder on vimeo from my production server with Vimeo::request('/me/projects/', ...

Any tips on how to solve this error? Thanks in advance.

ubuntu 22.04 - php 8.1 - curl 7.81.0

--- edit ---
It happens only in a VM, running on a synology nas. I've tested it on another machine in the same room / connection as the nas, then there is no problem. So i guess i am in the wrong place to ask my question.

Thanks for reading anyway

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions