# Broken pipe

**URL:** <https://forum.datomic.com/t/broken-pipe/1391>\
**Category:** Datomic Cloud\
**Created:** [March 16, 2020, 2:26pm UTC](https://forum.datomic.com/t/broken-pipe/1391 "2020-03-16T14:26:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hden](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.datomic.com/hden/32/388_2.png) [@hden](https://forum.datomic.com/u/hden)\
**Post date:** [March 16, 2020, 2:26pm UTC](https://forum.datomic.com/t/broken-pipe/1391/1 "2020-03-16T14:26:23Z")

</div>

The `datomic client access` command starts a local proxy to the bastion (a.k.a. access gateway) instance during development. However, once in a while the connection is dropped and the process exits with the following error message.

```auto
packet_write_wait: Connection to xx.xxx.xx.xxx port 22: Broken pipe

```

The reality is that the local machine might go to sleep. We might been using Wi-Fi on the train, Ethernet in a hotel, and LTE on a hammock.

Is there anyway we can communicate with the bastion through a robust protocol, for example UDP or Mosh?

---

<div class="post-metadata">

**Author:** ![marshall](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.datomic.com/marshall/32/48_2.png) [@marshall](https://forum.datomic.com/u/marshall)\
**Post date:** [March 17, 2020, 2:54pm UTC](https://forum.datomic.com/t/broken-pipe/1391/2 "2020-03-17T14:54:26Z")

</div>

The connection via the access gateway is not intended for production/live system connectivity. The client is designed to communicate via HTTP from within a trusted network and the bastion SSH passthrough is for developer convenience.  
It is unlikely that the protocol for this connection will change in the future.

---

<div class="post-metadata">

**Author:** ![hden](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.datomic.com/hden/32/388_2.png) [@hden](https://forum.datomic.com/u/hden)\
**Post date:** [March 18, 2020, 12:28am UTC](https://forum.datomic.com/t/broken-pipe/1391/3 "2020-03-18T00:28:34Z")

</div>

> SSH passthrough is for developer convenience.

Yes that was what I was saying. Is it possible to at least seamlessly reconnect without throwing the error?
