You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an angular app which has an upload file feature. On the frontend side I'm using tus-js-client, the tusd server is v2.4.0 and the hook is grpc. From the frontend, I upload the file with the Authorization header but the tusd doesn't seem to pass them to the grpc server that I have written in Java. Is there an option that I should enable in order for the Authorization token to be passed to my java app?
Is there an option to enable more logging in tusd in order for me to see also the headers that are send from tus-js-client to it?
In my java app, I can see that on the grpc hook I have no headers.
Setup details
Please provide following details, if applicable to your situation:
Operating System: Linux
Used tusd version: v2.4.0
Used tusd data storage: disk store
Used tusd configuration: --hooks-grpc 192.168.1.201:7333 --hooks-grpc-retry 5 --hooks-enabled-events "pre-create,post-create,post-receive,post-terminate,post-finish,pre-finish"
-upload-dir=/opt/tusd/uploads/
Headers from the incoming requests are not attached to HTTP/2 requests for gRPC. Such an option to forward HTTP headers is only available for HTTP hooks (see the flag).
However, the headers from the incoming requests are also provided in the payload provided via gRPC:
I have an angular app which has an upload file feature. On the frontend side I'm using tus-js-client, the tusd server is v2.4.0 and the hook is grpc. From the frontend, I upload the file with the Authorization header but the tusd doesn't seem to pass them to the grpc server that I have written in Java. Is there an option that I should enable in order for the Authorization token to be passed to my java app?
Is there an option to enable more logging in tusd in order for me to see also the headers that are send from tus-js-client to it?
In my java app, I can see that on the grpc hook I have no headers.
Setup details
Please provide following details, if applicable to your situation:
-upload-dir=/opt/tusd/uploads/
The text was updated successfully, but these errors were encountered: