-
Notifications
You must be signed in to change notification settings - Fork 85
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
uploader.finish() cause exception #28
Comments
What tus server are you using? |
tus-java-serverhttps://github.com/tomdesair/tus-java-server |
Ok, does this error also occur when you upload to |
FWIW (in case someone else stumbles on this and finds it helpful)—we were running into something similar while trying to use this client for a custom jmeter script. A little more context: After much confusion, we finally realized the
After even more confusion I found the setRequestPayloadSize method, which I had a hard time reasoning about what the difference would be between this and the Anyway tl;dr if you call |
Thank you for the feedback! We know that these two methods are very confusing, especially since the term chunk size has a different meaning for different tus clients. We have plan to rework the internals of tus-java-client in the near future and |
We plan to overall the API in the next major release and make such configuration with payload and chunk sizes easier: #78 |
io.tus.java.client.ProtocolException: response contains different Upload-Offset value (1024) than expected (51778)
The text was updated successfully, but these errors were encountered: