# Error: Connection(Closed) terminating client

**URL:** <https://forum.autonomys.xyz/t/error-connection-closed-terminating-client/287>\
**Category:** Support\
**Created:** [June 10, 2022, 12:45am UTC](https://forum.autonomys.xyz/t/error-connection-closed-terminating-client/287 "2022-06-10T00:45:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hua](https://avatars.discourse-cdn.com/v4/letter/h/cdc98d/32.png) [@hua](https://forum.autonomys.xyz/u/hua)\
**Post date:** [June 10, 2022, 12:45am UTC](https://forum.autonomys.xyz/t/error-connection-closed-terminating-client/287/1 "2022-06-10T00:45:03Z")

</div>

e[2m2022-06-10T00:09:50.064585Ze[0m e[32m INFOe[0m e[2msubspace\_farmer::utilse[0me[2m:e[0m Increase file limit from soft to hard (limit is 1048576)  
e[2m2022-06-10T00:09:50.064617Ze[0m e[32m INFOe[0m e[2msubspace\_farmer::commands::farme[0me[2m:e[0m Connecting to node at ws://127.0.0.1:9944  
e[2m2022-06-10T00:09:50.064981Ze[0m e[32m INFOe[0m e[2mjsonrpsee\_client\_transport::wse[0me[2m:e[0m Connection established to target: Target { sockaddrs: , host: “127.0.0.1”, host\_header: “127.0.0.1:9944”, \_mode: Plain, path\_and\_query: “/” }  
e[2m2022-06-10T00:09:50.073580Ze[0m e[32m INFOe[0m e[2msubspace\_farmer::commands::farme[0me[2m:e[0m Opening object mapping  
e[2m2022-06-10T00:09:50.100411Ze[0m e[32m INFOe[0m e[2msubspace\_farmer::multi\_farminge[0me[2m:e[0m Opening plot  
e[2m2022-06-10T00:09:50.124139Ze[0m e[32m INFOe[0m e[2msubspace\_farmer::multi\_farminge[0me[2m:e[0m Opening commitments  
e[2m2022-06-10T00:09:50.144580Ze[0m e[32m INFOe[0m e[2msubspace\_farmer::farminge[0me[2m:e[0m Subscribing to slot info notifications  
e[2m2022-06-10T00:09:50.154897Ze[0m e[32m INFOe[0m e[2msubspace\_farmer::archivinge[0me[2m:e[0m Subscribing to archived segments  
e[2m2022-06-10T00:09:50.154967Ze[0m e[32m INFOe[0m e[2msubspace\_farmer::multi\_farminge[0me[2m:e[0m Sync done  
e[2m2022-06-10T00:09:50.155181Ze[0m e[32m INFOe[0m e[2msubspace\_farmer::commands::farme[0me[2m:e[0m WS RPC server listening on 127.0.0.1:9955  
e[2m2022-06-10T00:09:51.182176Ze[0m e[32m INFOe[0m e[2msubspace\_farmer::archivinge[0me[2m:e[0m Plotted segment e[3msegment\_indexe[0me[2m=e[0m0  
e[2m2022-06-10T00:12:42.200249Ze[0m e[31mERRORe[0m e[2mjsonrpsee\_core::client::async\_cliente[0me[2m:e[0m Error: Connection(Closed) terminating client

---

<div class="post-metadata">

**Author:** ![nbk1\_nnu](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.autonomys.xyz/nbk1_nnu/32/143_2.png) [@nbk1\_nnu](https://forum.autonomys.xyz/u/nbk1_nnu)\
**Post date:** [June 10, 2022, 9:07pm UTC](https://forum.autonomys.xyz/t/error-connection-closed-terminating-client/287/3 "2022-06-10T21:07:56Z")

</div>

I am getting the same error with subspace-farmer-ubuntu-x86\_64-gemini-1b-2022-jun-10 on 20.04 Ubuntu. Port 30333 is open. No prior installation, everything setup from scratch. 75G allocated. Farmer and node are fine for a few thousand blocks and then the process suddently ends and needs a restart. Any suggestions?

2022-06-10T20:12:16.874471Z INFO subspace\_farmer::archiving: Plotted segment segment\_index=38317  
2022-06-10T20:12:16.940178Z INFO subspace\_farmer::archiving: Plotted segment segment\_index=38318  
2022-06-10T20:12:28.742354Z ERROR jsonrpsee\_core::client::async\_client: Error: Connection(Closed) terminating client  
2022-06-10T20:12:28.745333Z ERROR jsonrpsee\_core::client::async\_client: Error: Connection(Closed) terminating client

---

<div class="post-metadata">

**Author:** ![ImmaZoni](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.autonomys.xyz/immazoni/32/7_2.png) [@ImmaZoni](https://forum.autonomys.xyz/u/ImmaZoni)\
**Post date:** [June 13, 2022, 5:10pm UTC](https://forum.autonomys.xyz/t/error-connection-closed-terminating-client/287/4 "2022-06-13T17:10:14Z")

</div>

this very well could be connected to a few issues we identified to resource usage on the farmer, it should be improved in our next release 🙂

(please report back if it doesnt get better)
