# Files does not upload from Uppy using companion

**URL:** <https://community.transloadit.com/t/files-does-not-upload-from-uppy-using-companion/16792>\
**Category:** Uppy\
**Created:** [September 15, 2023, 9:52am UTC](https://community.transloadit.com/t/files-does-not-upload-from-uppy-using-companion/16792 "2023-09-15T09:52:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![OrigamiPT](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/origamipt/32/943_2.png) [@OrigamiPT](https://community.transloadit.com/u/OrigamiPT)\
**Post date:** [September 15, 2023, 9:52am UTC](https://community.transloadit.com/t/files-does-not-upload-from-uppy-using-companion/16792/1 "2023-09-15T09:52:21Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![OrigamiPT](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/origamipt/32/943_2.png) [@OrigamiPT](https://community.transloadit.com/u/OrigamiPT)\
**Post date:** [November 6, 2023, 2:51pm UTC](https://community.transloadit.com/t/files-does-not-upload-from-uppy-using-companion/16792/2 "2023-11-06T14:51:36Z")

</div>

Up, anyone with this problem?

---

<div class="post-metadata">

**Author:** ![akshay-agsft](https://avatars.discourse-cdn.com/v4/letter/a/67e7ee/32.png) [@akshay-agsft](https://community.transloadit.com/u/akshay-agsft)\
**Post date:** [January 10, 2024, 4:39pm UTC](https://community.transloadit.com/t/files-does-not-upload-from-uppy-using-companion/16792/3 "2024-01-10T16:39:03Z")

</div>

same issue i was facing added some configuration in nginx file

location /companion/api {  
proxy\_pass [http://localhost:3001/companion/api](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”;  
}
