OneOffTech / laravel-tus-upload

A package for handling resumable file uploads in a Laravel application via the http://tus.io/ resumable file upload protocol.
https://oneofftech.xyz/open-source/
MIT License
50 stars 13 forks source link

Upload doesn't complete #11

Closed jammersonf closed 3 years ago

jammersonf commented 5 years ago

I always receive error on postFinish image

I've tried with and without hooks image

avvertix commented 5 years ago

From the second log, the metadata seems to show a complete upload. Have you tried to open the file or calculate the sha256 of the file and verify the uploaded file?

I've tried with and without hooks

I would exclude a problem in the hooks, but with the hooks active have you checked che Laravel log and or the permissions of the hook files?

Just for double checking could you try to run the tusd binary directly and let Javascript connect to it directly?

For example

vendor\oneofftech\laravel-tus-upload\bin\tusd-win.exe

Then check eventual errors in the Javascript console of the browser.

If I remember correctly it should listen on port 1080 and accept files on the /files/ path, cross origin should be handled by tusd.

avvertix commented 5 years ago

I also found traces of a similar problem in one of the instances we used to test the upload via TUS. I'm investigating the problem.

@jammersonf if you have new insights please let me know

avvertix commented 5 years ago

@jammersonf are you using Windows, MacOS or Linux?

avvertix commented 3 years ago

The issue is stale and the problem cannot be replicated with the latest version. Closing here.