tus / tus-android-client

The tus client for Android.
https://tus.io/
161 stars 46 forks source link

Is tus android client compatible with spring boot server #95

Closed AdityaKBhadragond14 closed 1 year ago

AdityaKBhadragond14 commented 1 year ago

Question I am using a spring boot server and I have a android client through which I am trying to upload the images to my server. I have also configured my spring boot server for tus protocol.

But I get this error when I try to upload image from my android client: io.tus.java.client.ProtocolException: unexpected status code (403) while creating upload

Setup details Please provide following details, if applicable to your situation:

Acconut commented 1 year ago

It should be compatible, yes. You get a 403 Forbidden response here, which can be triggered if the server does not allow access to a resource. I am not sure if tus-java-server is able to return this. Maybe you have some proxy inbetween that is restricting access?

AdityaKBhadragond14 commented 1 year ago

okay thanks, I will close this issue.