# Redirect to S3 presigned url times out

**URL:** <https://community.postman.com/t/redirect-to-s3-presigned-url-times-out/59905>\
**Category:** Help Hub\
**Tags:** tests, postman, redirect\
**Created:** [April 12, 2024, 8:42pm UTC](https://community.postman.com/t/redirect-to-s3-presigned-url-times-out/59905 "2024-04-12T20:42:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![security-cosmonaut16](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@security-cosmonaut16](https://community.postman.com/u/security-cosmonaut16)\
**Post date:** [April 12, 2024, 8:42pm UTC](https://community.postman.com/t/redirect-to-s3-presigned-url-times-out/59905/1 "2024-04-12T20:42:18Z")

</div>

I am sending a PUT to an endpoint that returns 307 and redirects to a newly generated s3 presigned URL.

When I use this endpoint with curl `curl -L https://example.com/upload --upload-file path/to/file.csv` everything works. I am trying to recreate this in postman, by selecting `binary` for body and selecting the file. Unfortunately it keeps timing out.

If I look at the console I can see that the redirect happened, and then the PUT request to the presigned URL times out after 55 seconds. With `Your socket connection to the server was not read from or written to within the timeout period. Idle connections will be closed.`

What am I missing?

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [May 12, 2024, 8:42pm UTC](https://community.postman.com/t/redirect-to-s3-presigned-url-times-out/59905/2 "2024-05-12T20:42:45Z")

</div>

Closed on May 12, 2024, 8:42pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
