# Server closed the stream without sending trailiers

**URL:** <https://forum.pydio.com/t/server-closed-the-stream-without-sending-trailiers/3945>\
**Category:** Sync Client\
**Tags:** nginx\
**Created:** [July 15, 2021, 10:21am UTC](https://forum.pydio.com/t/server-closed-the-stream-without-sending-trailiers/3945 "2021-07-15T10:21:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vmattaur](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/vmattaur/32/1476_2.png) [@vmattaur](https://forum.pydio.com/u/vmattaur)\
**Post date:** [July 15, 2021, 10:21am UTC](https://forum.pydio.com/t/server-closed-the-stream-without-sending-trailiers/3945/1 "2021-07-15T10:21:04Z")

</div>

I have already read all existing topics. The topic posted Feb 25 seams to have a setup that mostly resembles my own which is: Unraid \> Nginx. This issue was solved by changing from Nginx to traefik and I don’t want to do that.

I am running Unraid 6.9.2. I’ve installed pydio cells. It is working and I can reach it on an external URL: [https://pydio.mydoman.com](https://pydio.mydoman.com).

I installed the CellsSync client on Mac - BigSur.

When I Create a Sync task - Connects to site BUT the TARGET PATH says… server closed the stream without sending trailers.

**NGINX Setup:**  
Domain Names - [pydio.mydomain.com](http://pydio.mydomain.com)  
Scheme - https  
Forward Hostnam/IP - [mydomain.com](http://mydomain.com)  
Forward Port - 8181  
Websockers Support - ON

**SSL Cert:**  
[pydio.mydomain.com](http://pydio.mydomain.com)  
Force SSL - ON  
HTTP2/ Support - ON  
HSTS Enabled - ON  
HSTS Subdomains - ON

Newbie - need help setting up CellsSync. All logs can be provided.

---

<div class="post-metadata">

**Author:** ![charles](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/charles/32/3_2.png) [@charles](https://forum.pydio.com/u/charles)\
**Post date:** [July 19, 2021, 10:04am UTC](https://forum.pydio.com/t/server-closed-the-stream-without-sending-trailiers/3945/2 "2021-07-19T10:04:54Z")

</div>

Hi, did you check [Running Cells behind a Nginx reverse proxy | Pydio](https://pydio.com/en/docs/kb/deployment/running-cells-behind-nginx-reverse-proxy) ?  
You may have to enable the grpc\_pass instruction in your nginx

---

<div class="post-metadata">

**Author:** ![vmattaur](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/vmattaur/32/1476_2.png) [@vmattaur](https://forum.pydio.com/u/vmattaur)\
**Post date:** [July 19, 2021, 11:46pm UTC](https://forum.pydio.com/t/server-closed-the-stream-without-sending-trailiers/3945/3 "2021-07-19T23:46:29Z")

</div>

Thanks Charles…

### Cells Sync

**Mandatory section for the Sync Client to work behind a Nginx reverse proxy.**

If your Cells Server is running behind a Nginx reverse proxy you must meet 2 requirements and then add the config below to your main nginx reverse proxy configuration.

- You need TLS encryption between Cells and Nginx.
- HTTP 2 need to be enabled like this `listen 443 ssl http2;` .

**Not sure how to complete the following steps.**  
Unraid NginxProxyManager - allows me to set up SSL using HTTP2.

I am not sure how to confirm TLS encryption between Cells and Nginx exist  
I need to know how to add the config below to your main nginx reverse proxy configuration. When it says “main nginx” is there a top level file OR do they mean to the pydio cells config file?

---

<div class="post-metadata">

**Author:** ![charles](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/charles/32/3_2.png) [@charles](https://forum.pydio.com/u/charles)\
**Post date:** [July 20, 2021, 10:54am UTC](https://forum.pydio.com/t/server-closed-the-stream-without-sending-trailiers/3945/4 "2021-07-20T10:54:26Z")

</div>

Hi, I don’t know Unraid … And not sure to understand your question.  
Cells does not ship its own nginx : so when we are talking about the nginx configuration, it’s about your own nginx proxy.

---

<div class="post-metadata">

**Author:** ![vmattaur](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/vmattaur/32/1476_2.png) [@vmattaur](https://forum.pydio.com/u/vmattaur)\
**Post date:** [July 20, 2021, 11:10am UTC](https://forum.pydio.com/t/server-closed-the-stream-without-sending-trailiers/3945/5 "2021-07-20T11:10:19Z")

</div>

Thanks for the help… sorry to confuse, I wasn’t sure what config file to change but I don’t think that is my issue. The nginx file is correct.

thanks again for the attempt.
