# 504 Gateway Time-out When Deleting File And creating a Folder

**URL:** <https://forum.pydio.com/t/504-gateway-time-out-when-deleting-file-and-creating-a-folder/3923>\
**Category:** Pydio Cells\
**Tags:** upload, api, s3\
**Created:** [June 25, 2021, 4:44pm UTC](https://forum.pydio.com/t/504-gateway-time-out-when-deleting-file-and-creating-a-folder/3923 "2021-06-25T16:44:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Teal\_c](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/teal_c/32/1460_2.png) [@Teal\_c](https://forum.pydio.com/u/Teal_c)\
**Post date:** [June 25, 2021, 4:44pm UTC](https://forum.pydio.com/t/504-gateway-time-out-when-deleting-file-and-creating-a-folder/3923/1 "2021-06-25T16:44:57Z")

</div>

Hello, i am running Cells behind nginx proxy  
i can upload files just fine, but i cant delete the selected file via the web ui, also i cant create a new Folder  
i keep getting 504 Gateway Time-out when deleting a file and creating a folder

i am using minio as my storage `https://minio.redacted.com`

this is my configuration file [pydio.json](https://hastebin.com/qehowipeda.json)

and this is my nginx config

```auto
### i commented out some lines to see if thats the issue, but its not
server {
    listen 443 ssl http2;
    listen [::]:443 ssl http2;
    server_name pydio.redacted.com;

    # SSL
    ssl_certificate /etc/letsencrypt/live/pydio.redacted.com/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/pydio.redacted.com/privkey.pem;
    ssl_trusted_certificate /etc/letsencrypt/live/pydio.redacted.com/chain.pem;

    # HSTS
    #add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;

    # security
    #include nginxconfig.io/security.conf;

    # reverse proxy
    location / {
        proxy_pass http://127.0.0.1:8080;
        grpc_pass grpcs://127.0.0.1:8080;
        #include nginxconfig.io/proxy.conf;
    }

    location /ws/ {
        proxy_pass https://127.0.0.1:8080;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "Upgrade";
    }

    # additional config
    #include nginxconfig.io/general.conf;
}

# HTTP redirect
server {
    listen 80;
    listen [::]:80;
    server_name pydio.redacted.com;
    include nginxconfig.io/letsencrypt.conf;

    location / {
        return 301 https://pydio.redacted.com$request_uri;
    }
}

```

pydio does not show any error logs  
but nginx error log is showing this

```auto
[error] 922#6922: *8 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 81.redacted.60, server: pydio.redacted.com, request: "GET /a/frontend/binaries/USER/deejavu?4c38aac6-729.jpeg?dim=38 HTTP/2.0", upstream: "grpcs://127.0.0.1:8080", host: "pydio.redacted.com", referrer: "https://pydio.redacted.com/ws-personal-files/"
[error] 6922#6922: *8 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 81.redacted.60, server: pydio.redacted.com, request: "POST /a/tree/create HTTP/2.0", upstream: "grpcs://127.0.0.1:8080", host: "pydio.redacted.com", referrer: "https://pydio.redacted.com/ws-personal-files/"

```

* * *

* * *

* * *

EDIT: Everyting works fine for now thanks to [MinIO | Setup Nginx proxy with MinIO - Cookbook/Recipe](https://docs.min.io/docs/setup-nginx-proxy-with-minio.html)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/2X/6/61f19fa52ec15fd4250db51aea351adba0e831fd.png) [@system](https://forum.pydio.com/u/system)\
**Post date:** [August 24, 2021, 4:45pm UTC](https://forum.pydio.com/t/504-gateway-time-out-when-deleting-file-and-creating-a-folder/3923/2 "2021-08-24T16:45:35Z")

</div>

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