question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] RuntimeError: Trying to connect to a peer

See original GitHub issue

Expected behavior Expect to have synced with the mainnet

Screenshots image

Desktop (please complete the following information):

  • OS: Windows 10
  • OS Version/Flavor: Latest Windows 10 version
  • CPU: i5-9600k

Additional context Add any other context about the problem here.

LOG:

2021-05-08T04:05:57.804 harvester chia.harvester.harvester: WARNING  Not farming any plots on this harvester. Check your configuration.
2021-05-08T04:06:10.572 full_node full_node_server        : ERROR    Exception Trying to connect to a peer ({'host': 'introducer.chia.net', 'port': 8444}) with the same peer_id: 0afa748b8ef8fa05a8d4426a2dd3800ccca7a7d5ee5dbbc3399709d2e26a351f, exception Stack: Traceback (most recent call last):
  File "chia\server\server.py", line 373, in start_client
RuntimeError: Trying to connect to a peer ({'host': 'introducer.chia.net', 'port': 8444}) with the same peer_id: 0afa748b8ef8fa05a8d4426a2dd3800ccca7a7d5ee5dbbc3399709d2e26a351f

2021-05-08T04:06:13.432 wallet chia.rpc.wallet_rpc_api    : ERROR    error 0, message='Attempt to decode JSON with unexpected mimetype: text/plain; charset=utf-8', url=URL('https://backup.chia.net/download_backup')
2021-05-08T04:06:17.604 full_node full_node_server        : ERROR    Exception Trying to connect to a peer ({'host': 'introducer.chia.net', 'port': 8444}) with the same peer_id: 0afa748b8ef8fa05a8d4426a2dd3800ccca7a7d5ee5dbbc3399709d2e26a351f, exception Stack: Traceback (most recent call last):
  File "chia\server\server.py", line 373, in start_client
RuntimeError: Trying to connect to a peer ({'host': 'introducer.chia.net', 'port': 8444}) with the same peer_id: 0afa748b8ef8fa05a8d4426a2dd3800ccca7a7d5ee5dbbc3399709d2e26a351f

2021-05-08T04:06:26.657 full_node full_node_server        : ERROR    Exception Trying to connect to a peer ({'host': 'introducer.chia.net', 'port': 8444}) with the same peer_id: 0afa748b8ef8fa05a8d4426a2dd3800ccca7a7d5ee5dbbc3399709d2e26a351f, exception Stack: Traceback (most recent call last):
  File "chia\server\server.py", line 373, in start_client
RuntimeError: Trying to connect to a peer ({'host': 'introducer.chia.net', 'port': 8444}) with the same peer_id: 0afa748b8ef8fa05a8d4426a2dd3800ccca7a7d5ee5dbbc3399709d2e26a351f

2021-05-08T04:06:39.717 full_node full_node_server        : ERROR    Exception Trying to connect to a peer ({'host': 'introducer.chia.net', 'port': 8444}) with the same peer_id: 0afa748b8ef8fa05a8d4426a2dd3800ccca7a7d5ee5dbbc3399709d2e26a351f, exception Stack: Traceback (most recent call last):
  File "chia\server\server.py", line 373, in start_client
RuntimeError: Trying to connect to a peer ({'host': 'introducer.chia.net', 'port': 8444}) with the same peer_id: 0afa748b8ef8fa05a8d4426a2dd3800ccca7a7d5ee5dbbc3399709d2e26a351f

2021-05-08T04:07:00.843 full_node full_node_server        : ERROR    Exception Trying to connect to a peer ({'host': 'introducer.chia.net', 'port': 8444}) with the same peer_id: 0afa748b8ef8fa05a8d4426a2dd3800ccca7a7d5ee5dbbc3399709d2e26a351f, exception Stack: Traceback (most recent call last):
  File "chia\server\server.py", line 373, in start_client
RuntimeError: Trying to connect to a peer ({'host': 'introducer.chia.net', 'port': 8444}) with the same peer_id: 0afa748b8ef8fa05a8d4426a2dd3800ccca7a7d5ee5dbbc3399709d2e26a351f

2021-05-08T04:08:38.348 full_node asyncio                 : ERROR    Task exception was never retrieved
future: <Task finished coro=<WebSocketWriter.ping() done, defined at aiohttp\http_websocket.py:669> exception=ConnectionResetError('Cannot write to closing transport')>
Traceback (most recent call last):
  File "aiohttp\http_websocket.py", line 673, in ping
  File "aiohttp\http_websocket.py", line 643, in _send_frame
  File "aiohttp\http_websocket.py", line 660, in _write
ConnectionResetError: Cannot write to closing transport
2021-05-08T04:08:47.071 full_node full_node_server        : ERROR    Exception Trying to connect to a peer ({'host': 'introducer.chia.net', 'port': 8444}) with the same peer_id: 0afa748b8ef8fa05a8d4426a2dd3800ccca7a7d5ee5dbbc3399709d2e26a351f, exception Stack: Traceback (most recent call last):
  File "chia\server\server.py", line 373, in start_client
RuntimeError: Trying to connect to a peer ({'host': 'introducer.chia.net', 'port': 8444}) with the same peer_id: 0afa748b8ef8fa05a8d4426a2dd3800ccca7a7d5ee5dbbc3399709d2e26a351f

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
simsebcommented, May 10, 2021

Yes I managed to debug the problem myself

and what was the issue?

1reaction
Kusey86commented, May 10, 2021

?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why do we get the error "Connection reset by peer ... - IBM
The error message "Connection reset by peer" appears, if the web services client was waiting for a SOAP response from the remote web...
Read more >
golang runtime error when i am trying to use db.QueryRow
Attempt to take the address of response.Title and response.Description . These fields don't have an address because response is a pointer ...
Read more >
How To Fix the Error “Connection Reset by Peer” - Alphr
A “connection reset by peer” error means the TCP stream was closed, for whatever reason, from the other end of the connection.
Read more >
In Cataloging, run-time error after removing Remote Database ...
Wait longer that the timeout period. Try to remove the database from the list of remote search connections. Receive RTEs below: Run-time error...
Read more >
Known Issues - Tableau
When refreshing or connecting to Amazon Redshift in Tableau Online, errors would sometimes display showing "Error occurred while trying to prepare a query" ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found