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

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

and this is my nginx config

### 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

[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

1 Like

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