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

MY Code is working perfect on local host but its showing curl error on live sever. #268

Closed
sandeep-ed opened this issue Jul 17, 2020 · 2 comments

Comments

@sandeep-ed
Copy link

Vimeo\Exceptions\VimeoUploadException Object ( [message:protected] => cURL error 2: (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) [string:Exception:private] => [code:protected] => 0 [file:protected] => /home/public_html/vendor/vimeo/vimeo-api/src/Vimeo/Vimeo.php [line:protected] => 610

@nyavo
Copy link

nyavo commented Nov 29, 2020

@elitedigitaltech This is surely due to the ankitpokhrel/tus-php cache folder.
This bundle create cache at vendor/ankitpokhrel/tus-php/.cache, that is most of the time not writable. So, they are unable to get the tus url and the upload fails.
I have the same issue but in different way and I analyzed the sdk code step by step since 3 days.
The only solution for now is to manage the ACL for this cache folder.

@aaronm67
Copy link
Collaborator

aaronm67 commented Feb 3, 2022

You can see instructions here: #308 for using a custom cache folder.

@aaronm67 aaronm67 closed this as completed Feb 3, 2022
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

3 participants