# PG::UnableToSend: server closed the connection unexpectedly

**URL:** <https://meta.discourse.org/t/pg-server-closed-the-connection-unexpectedly/121531>\
**Category:** Self-hosting\
**Created:** [27 ביוני,‏ 2019,‏ 8:59pm UTC](https://meta.discourse.org/t/pg-server-closed-the-connection-unexpectedly/121531 "2019-06-27T20:59:59Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)\
**Post date:** [28 ביוני,‏ 2019,‏ 1:33am UTC](https://meta.discourse.org/t/pg-server-closed-the-connection-unexpectedly/121531/5 "2019-06-28T01:33:51Z")

</div>

This is not a crash per se:

> [@yanokwa](#):
>
> Caused by: PG::UnableToSend: server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request.

The postgres DB going away is not something that we normally see.

How did you install? What is different/custom about your setup?

---

_[View the full topic](https://meta.discourse.org/t/pg-server-closed-the-connection-unexpectedly/121531)._
