Request error :server closed the stream without sending trailers

When attempting to browse the file tree to add a task from the desktop sync client, I receive this error:

2020-12-31T11:15:20.355-0500	ERROR	http-server	Request error :server closed the stream without sending trailers

image

My current setup has the pydio-cells server behind a nginx reverse proxy on the same machine.

This page in the docs leads me to believe that I should be able to use cells over a single port if my reverse proxy is using HTTP/2, and the connection is over SSL.
I have tried both for cells to use it’s own self-signed SSL certs and have it use my server’s certs, but neither seems to have solved the problem.

The web ui works as expected. Which leads me to believe it’s a gRPC problem I’m overlooking.


Relevant nginx config:

server {
        listen 443 ssl http2;
        listen [::]:443 ssl http2;

        client_max_body_size 200M;

        server_name cells.example.com;

        include snippets/ssl/ssl-params.conf;
        include snippets/ssl/ssl-example.com.conf;

        location / {
                proxy_set_header Host $host;
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_set_header X-Forwarded-Proto $scheme;
                proxy_set_header Connection $connection_upgrade;

                proxy_pass https://localhost:3030$request_uri;
                proxy_set_header X-Real-IP $remote_addr;

                proxy_buffering off;
        }

        location /ws {
                proxy_set_header Host $host;
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_set_header X-Forwarded-Proto $scheme;
                proxy_set_header Connection $connection_upgrade;

                proxy_pass https://localhost:3030;
                proxy_set_header Upgrade $http_upgrade;
                proxy_read_timeout 86400;

                proxy_buffering off;
        }
}

Any help would be greatly appreciated!

Hi,

Try to add following params into nginx config:

server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
client_max_body_size 200M;
server_name cells.example.com;

    proxy_send_timeout   600;
    proxy_read_timeout   600;
    proxy_request_buffering off;

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