Files does not upload from Uppy using companion

When i use a companion to try to make my upload the uploading that stay at 0% undefinetly and on the companion itself e get this messages:

29|Compani | companion: 2023-09-15T09:49:40.146Z [debug] null Instantiating uploader.
29|Compani | companion: 2023-09-15T09:49:40.147Z [debug] null Starting download stream.
29|Compani | companion: 2023-09-15T09:49:40.384Z [info] provider.drive.export calling google file export for 1svCWxd2UElACgGSTQU09qRqOfj297y_g9QbhBXS4Ous to application/vnd.openxmlformats-officedocument.wordprocessingml.document
29|Compani | companion: 2023-09-15T09:49:41.280Z [debug] null Waiting for socket connection before beginning remote download/upload.
29|Compani | companion: 2023-09-15T09:49:41.281Z [debug] 4c8d3f01 uploader.socket.wait waiting for socket connection
29|Compani | companion: 2023-09-15T09:49:41.494Z [info] companion.client.version uppy client version 1.0.0

29|CompanionGoogleDrive | companion: 2023-09-15T09:50:41.282Z [error] Error: Timed out waiting for socket connection
29|CompanionGoogleDrive | at Timeout. (/var/servicos/CompanionGoogleDrive/node_modules/@uppy/companion/lib/server/Uploader.js:388:32)
29|CompanionGoogleDrive | at listOnTimeout (node:internal/timers:559:17)
29|CompanionGoogleDrive | at processTimers (node:internal/timers:502:7)

anyone ever saw this happen? on the side of the receiver i have a TUS service that i developed

Up, anyone with this problem?

same issue i was facing added some configuration in nginx file

location /companion/api {
proxy_pass http://localhost:3001/companion/api;
proxy_redirect off;
proxy_set_header Host $host;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection “upgrade”;
}