Error: Error in the WebSocket handshake: os error 104

Please provide as much information as possible to help the community/ team resolve your issue quicker


I am attempting to start the farmer and keep getting this error.

[2022-05-01T07:35:05Z INFO subspace_farmer::commands::farm] Opening plot
[2022-05-01T07:35:05Z INFO subspace_farmer::commands::farm] Opening commitments
[2022-05-01T07:35:05Z INFO subspace_farmer::commands::farm]  Opening object mapping
[2022-05-01T07:35:05Z INFO subspace_farmer::commands::farm]  Connecting to node at ws://127.0.0.1:9944
Error: Networking or low-level protocol error: Error in the WebSocket handshake: i/o error: Connection reset by peer (os error 104)
Caused by:
  0: Error in the WebSocket handshake: i/o error: Connection reset by peer (os error 104)

This error is usually caused prior to the node being ready for connection, try starting the farmer after you have verified the node has started effectively.

1 Like

Is this the same error or something else? @ImmaZoni

2022-06-06T05:38:14.771103Z ERROR jsonrpsee_core::client::async_client: Error: Connection(Io(Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" })) terminating client
2022-06-06T05:38:14.775814Z ERROR subspace_farmer::archiving: Failed to send archived segment acknowledgement error=The background task been terminated because: Networking or low-level protocol error: WebSocket connection error: i/o error: Connection reset by peer (os error 104); restart required
2022-06-06T05:38:14.911755Z  INFO subspace_farmer::archiving: Plotted segment segment_index=17346
2022-06-06T05:38:14.911801Z ERROR subspace_farmer::archiving: Failed to send archived segment acknowledgement 

This is the same, check the node for errors. Once node is “healthy” this issue should self resolve.

1 Like