# File Upload: Unable to write the file using Vultr Object Storage

**URL:** <https://forum.mattermost.com/t/file-upload-unable-to-write-the-file-using-vultr-object-storage/15501>\
**Category:** Troubleshooting\
**Created:** [March 25, 2023, 7:59pm UTC](https://forum.mattermost.com/t/file-upload-unable-to-write-the-file-using-vultr-object-storage/15501 "2023-03-25T19:59:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlexR1712](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/alexr1712/32/6622_2.png) [@AlexR1712](https://forum.mattermost.com/u/AlexR1712)\
**Post date:** [March 25, 2023, 7:59pm UTC](https://forum.mattermost.com/t/file-upload-unable-to-write-the-file-using-vultr-object-storage/15501/1 "2023-03-25T19:59:24Z")

</div>

Hello, how are you?

I am having a problem with Mattermost and my Vultr Object Storage service, for some reason it is not letting me upload files of any kind but days ago if it worked properly I would like to know how I could solve or get more information of the error to solve it, then I share the log that appears every time I upload a file.

```auto
{
  "caller": "web/context.go:117",
  "err_where": "WriteFile",
  "error": "WriteFile: No se puede escribir el archivo., unable write the data in the file 20230320/teams/noteam/channels/wya4h3cnkbfe3yr8hqg5uuew5c/users/sfgga5ds6tgo8kdfea6pp1ys1r/ucsgpmde13yf5cb4gjqj6aeqnc/image.png: Put \"https://ewr1.vultrobjects.com/mattermost-media/20230320/teams/noteam/channels/wya4h3cnkbfe3yr8hqg5uuew5c/users/sfgga5ds6tgo8kdfea6pp1ys1r/ucsgpmde13yf5cb4gjqj6aeqnc/image.png?partNumber=1&uploadId=2~43pu78PQC1PTVxgd4VrwqS3dSOg9Oy-\": context deadline exceeded",
  "http_code": 500,
  "ip_addr": "xxx.xxx.xxx.xxx",
  "level": "error",
  "method": "POST",
  "msg": "Unable to write the file.",
  "path": "/api/v4/files",
  "request_id": "y5hi3wjrjbnr7b5pg77zd5cube",
  "timestamp": "2023-03-20 22:08:42.464 Z",
  "user_id": "sfgga5ds6tgo8kdfea6pp1ysxx"
}

```

---

<div class="post-metadata">

**Author:** ![agnivade](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/agnivade/32/3846_2.png) [@agnivade](https://forum.mattermost.com/u/agnivade)\
**Post date:** [March 27, 2023, 5:01am UTC](https://forum.mattermost.com/t/file-upload-unable-to-write-the-file-using-vultr-object-storage/15501/2 "2023-03-27T05:01:02Z")

</div>

Looks like you are running into timeouts while writing to the storage.

What is the value of your `FileSettings.AmazonS3RequestTimeoutMilliseconds` ? You might want to bump that higher.

---

<div class="post-metadata">

**Author:** ![AlexR1712](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/alexr1712/32/6622_2.png) [@AlexR1712](https://forum.mattermost.com/u/AlexR1712)\
**Post date:** [March 27, 2023, 5:12am UTC](https://forum.mattermost.com/t/file-upload-unable-to-write-the-file-using-vultr-object-storage/15501/3 "2023-03-27T05:12:24Z")

</div>

I was testing with s3cmd on the server and from my computer with CyberDuck and it seems that the problem is the Vultr Object Storage service.

I will keep you informed
