Skip to content

geth immediately closes websocket connection out of the blue #19001

@gnorbsl

Description

@gnorbsl

System information

Geth/v1.8.22-stable-7fa3509e/linux-amd64/go1.11.5
OS & Version: Debian Stretch

Expected behaviour

Web3js connects to geth

Actual behaviour

Web3js attempts to connect but socket gets closed immediately with response ' reason: 'Normal connection closure'

Everything worked absolutely fine a day ago and now its impossible to connect to the node over websocket. As long as the script stayed connected it revceived block events, but as soon as I restarted the script without any changes to geth or web3js the websockets drop immediately.

The only error I've found so far is this:

{"jsonrpc":"2.0","error":{"code":-32600,"message":"unexpected EOF"}}

Steps to reproduce the behaviour

install latest stable geth
install latest web3js

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions