Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

curl upload error on production server #96

Open
stapel-tv opened this issue Nov 3, 2022 · 0 comments
Open

curl upload error on production server #96

stapel-tv opened this issue Nov 3, 2022 · 0 comments

Comments

@stapel-tv
Copy link

stapel-tv commented Nov 3, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant