Wednesday, November 23, 2022
HomeBitcoinConnection to my full node by way of Python script out of...

Connection to my full node by way of Python script out of the blue fails


I run a mynode full node on a raspi for fairly a while now and was enjoying round with Python scripts to attach and ship txs. This labored nice till currently. Seems the connection set up course of fails as a result of my full node refuses the connection request I ship from my PC.
Apparently, he is not nice with me connecting by way of port 8333 which I all the time did previously. Why would the request be rejected? Each, full node and PC are in the identical VLAN.
Beneath a photograph hyperlink from wireshark to a connection request with port 8333 (fails) and a request with port 8332 (no points).

https://postimg.cc/gallery/7ZwCxDH (server responds to TCP handshake with a TCP reset (RST))

The related code block comes right down to:

    import socket
    s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 
    HOST = "192.168.30.87" 
    PORT = 8333  
    s.join((HOST, PORT))

The complete node is absolutely synced with loads of connections (Tor and Non-Tor).

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments