# Cant upload big artifacts

**URL:** <https://hub.mender.io/t/cant-upload-big-artifacts/7605>\
**Category:** General Discussions\
**Tags:** mender-server\
**Created:** [February 28, 2025, 8:57pm UTC](https://hub.mender.io/t/cant-upload-big-artifacts/7605 "2025-02-28T20:57:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![davrex](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/davrex/32/2412_2.png) [@davrex](https://hub.mender.io/u/davrex)\
**Post date:** [February 28, 2025, 8:57pm UTC](https://hub.mender.io/t/cant-upload-big-artifacts/7605/1 "2025-02-28T20:57:01Z")

</div>

I am having trouble with uploading big artifact smaller ones like 15mb is fine but when I am upload 2gb files i gets errors. I am hosting the files in aws s3 but melder self hosted local. I have tried following this guide: [Mender Server | Mender documentation](https://docs.mender.io/3.7/server-installation/production-installation-with-kubernetes/mender-server)

If I am reading the pod/mender-deployments-\* i find this if there is any help.

```auto
reading artifact error: Payload: can not install Payload: rootfs.img: operation error S3: CreateMultipartUpload, failed to get rate limit token, retry quota exceeded, 3 available, 5 requested: Cannot parse artifact file" caller="http.(*DeploymentsApiHandlers).newImageWithContext@api_deployments.go:741" request_id=1d639f87-f55f-41d8-bc6e-3b938c39e646 user_id=b1b66ba2-7957-44fa-a8d3-cc4a21b17f5e
time="2025-02-28T20:50:48Z" level=error msg="reading artifact error: Payload: can not install Payload: rootfs.img: operation error S3: CreateMultipartUpload, failed to get rate limit token, retry quota exceeded, 3 available, 5 requested" caller="view.(*RESTView).RenderError@view.go:62" request_id=1d639f87-f55f-41d8-bc6e-3b938c39e646 user_id=b1b66ba2-7957-44fa-a8d3-cc4a21b17f5e
time="2025-02-28T20:50:48Z" level=info msg="400 1981058μs POST /api/management/v1/deployments/artifacts HTTP/1.1 - Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36" byteswritten=255 caller="accesslog.(*AccessLogMiddleware).MiddlewareFunc.func1@middleware.go:82" method=POST path=/api/management/v1/deployments/artifacts qs= request_id=1d639f87-f55f-41d8-bc6e-3b938c39e646 responsetime=1.9810586 status=400 ts="2025-02-28 20:50:46.5918638 +0000 UTC" type=http user_id=b1b66ba2-7957-44fa-a8d3-cc4a21b17f5e
time="2025-02-28T20:50:50Z" level=error msg="error reaching artifact storage service: operation error S3: HeadBucket, failed to get rate limit token, retry quota exceeded, 3 ava

```

And sometimes i have gotten this message witch o don’t under stands why it mixing my url with s3

```auto
time="2025-02-28T21:06:33Z" level=error msg="reading artifact error: Payload: can not install Payload: rootfs.img: operation error S3: UploadPart, exceeded maximum number of attempts, 3, https response error StatusCode: 0, RequestID: , HostID: , request send failed, Put \"https:// *****.s3.eu-north-1.amazonaws.com/1f9337ae-2b65-4969-a60c-33802d2601a7?partNumber=192&uploadId=XbIVhhg53X89BBXjWZbDvQVhXTcdNvWvZca7pNJEjUgTKfaTe6xZwsNLSVqKzuymYBC4GfhOCDSS8EP6ax9L6Pc5WG8vQFVN12RytCs5QnM-&x-id=UploadPart\": tls: failed to verify certificate: x509: certificate is valid for <My URL>, not*******.s3.eu-north-1.amazonaws.com" caller="view.(*RESTView).RenderError@view.go:62" request_id=a7041f91-0a47-4deb-8efa-ceaac7a1cbe6 user_id=b1b66ba2-7957-44fa-a8d3-cc4a21b17f5e

```
