# Request error :server closed the stream without sending trailers

**URL:** <https://forum.pydio.com/t/request-error-server-closed-the-stream-without-sending-trailers/3654>\
**Category:** Pydio Cells\
**Created:** [December 31, 2020, 4:28pm UTC](https://forum.pydio.com/t/request-error-server-closed-the-stream-without-sending-trailers/3654 "2020-12-31T16:28:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![manton](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/manton/32/1340_2.png) [@manton](https://forum.pydio.com/u/manton)\
**Post date:** [December 31, 2020, 4:28pm UTC](https://forum.pydio.com/t/request-error-server-closed-the-stream-without-sending-trailers/3654/1 "2020-12-31T16:28:57Z")

</div>

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

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

```

![image](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/2X/6/6dcf6e8a298318243201b811c48bbba6adf5bf41.png)

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

[This page](https://pydio.com/en/docs/kb/client-applications/setup-cells-server-cellssync) 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:

```auto
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!

---

<div class="post-metadata">

**Author:** ![c12simple](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/c12simple/32/90_2.png) [@c12simple](https://forum.pydio.com/u/c12simple)\
**Post date:** [January 4, 2021, 9:07am UTC](https://forum.pydio.com/t/request-error-server-closed-the-stream-without-sending-trailers/3654/2 "2021-01-04T09:07:21Z")

</div>

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](http://cells.example.com);

```
    proxy_send_timeout 600;
    proxy_read_timeout 600;
    proxy_request_buffering off;
```

---

<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:** [February 8, 2021, 9:07am UTC](https://forum.pydio.com/t/request-error-server-closed-the-stream-without-sending-trailers/3654/3 "2021-02-08T09:07:23Z")

</div>

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