Common Error when running chia wallet show. Persistent needs fixed

Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x0000022CB3370EE0>
Traceback (most recent call last):
  File "asyncio\proactor_events.py", line 116, in __del__
  File "asyncio\proactor_events.py", line 108, in close
  File "asyncio\base_events.py", line 751, in call_soon
  File "asyncio\base_events.py", line 515, in _check_closed
RuntimeError: Event loop is closed

I see it all the time when I run my python scripts. I see it in 1.3.4 and I saw it back when version was 1.1.7 and all version in between. To be honest I just upgraded to 1.3.4 and I am seeing it more often then ever.

I generally run windows but I think I have seen the error in Linux as well.

Your running Linux for an OS correct?

I see it often when running the command chia farm summary too.

Like you say it’s been there since day 1.

I just ignore it and run the command again.

You sure there is nothing more in logs on this?

Nothing more that i know if in logs. My programs keep running fine by just ignoring the error I just think something could be done on chia side to fix it from ever happening.

I see it in my payment processor and pool client programs every few minutes.

Can you somehow share the whole log file? I’ll try to look for the reason of this.

Here is a log sample showing one of the errors happening

height: 1887757
2022-04-25T10:48:48.035 full_node chia.full_node.full_node: WARNING  Block validation time: 2.89 seconds, pre_validation time: 0.34 seconds, cost: 3811376242, percent full: 34.649% header_hash: f01c04ec349faf50d7d4e0faf5ea62411b4033f1a1c5152705cc4cfda899a7e9 height: 1887760
2022-04-25T10:50:58.831 full_node chia.full_node.full_node: WARNING  Block validation time: 2.07 seconds, pre_validation time: 0.36 seconds, cost: 3989196541, percent full: 36.265% header_hash: 536a1cc6d28815dc55221e3fb1f946a1b24cb20f0c8eed605947090bc99e8baf height: 1887769
2022-04-25T10:51:45.926 full_node chia.full_node.full_node: WARNING  Block validation time: 3.59 seconds, pre_validation time: 0.35 seconds, cost: 3890438478, percent full: 35.368% header_hash: 0f8598d4c73b61d855999b9493f136e0c721ddd741f31bc57be8edf6a52dcace height: 1887772
2022-04-25T10:51:50.026 full_node chia.full_node.full_node: WARNING  Block validation time: 3.40 seconds, pre_validation time: 0.36 seconds, cost: None header_hash: 299330917f932b507ec73e376142abd6b915d491c91cb5a764ffe5d0600a6f94 height: 1887773
2022-04-25T10:52:30.189 full_node chia.full_node.full_node: WARNING  Block validation time: 3.83 seconds, pre_validation time: 0.72 seconds, cost: 5340371625, percent full: 48.549% header_hash: 9362d9b0d9460ad71e83e77463596d313aa029a2b15384a9e0dd85d963e41fd4 height: 1887776
2022-04-25T10:53:45.806 full_node chia.full_node.full_node: WARNING  Block validation time: 2.01 seconds, pre_validation time: 0.34 seconds, cost: 3911441389, percent full: 35.559% header_hash: c1afa9ba6d65c5e14214690e02ef3c3f07855e527125aa4108abe5d94e790f7b height: 1887785
2022-04-25T10:54:45.552 full_node chia.full_node.full_node: WARNING  Block validation time: 3.44 seconds, pre_validation time: 0.42 seconds, cost: 4111292738, percent full: 37.375% header_hash: 20133c5887b4e760f9aa0550f067abbf43bdf775fceb46800b36fcc9765a9882 height: 1887790
2022-04-25T10:57:07.162 full_node chia.full_node.full_node: WARNING  Block validation time: 3.17 seconds, pre_validation time: 0.37 seconds, cost: 4285665800, percent full: 38.961% header_hash: 5e4f812a3a08537fc22e493ee5810b41d091cfa42ed5fb2820596adac671a123 height: 1887799
2022-04-25T10:58:46.222 full_node asyncio                 : ERROR    Task exception was never retrieved
future: <Task finished name='Task-16177877' coro=<RpcServer._state_changed() done, defined at chia\rpc\rpc_server.py:53> exception=ValueError('Newer block not found')>
Traceback (most recent call last):
  File "chia\rpc\rpc_server.py", line 56, in _state_changed
  File "chia\rpc\full_node_rpc_api.py", line 72, in _state_changed
  File "chia\rpc\full_node_rpc_api.py", line 165, in get_blockchain_state
  File "chia\rpc\full_node_rpc_api.py", line 473, in get_network_space
ValueError: Newer block not found
2022-04-25T10:58:47.711 full_node chia.full_node.full_node: WARNING  Block validation time: 2.45 seconds, pre_validation time: 0.41 seconds, cost: 5473243369, percent full: 49.757% header_hash: d552b16d5cf520523823b5e8839b9368a8d437bb24de83017963b864bdb9f23c height: 1887807
2022-04-25T10:59:58.261 full_node chia.full_node.full_node: WARNING  Block validation time: 3.26 seconds, pre_validation time: 0.37 seconds, cost: 3844282124, percent full: 34.948% header_hash: 44c9b468837fb841b3d92d105eebbf2b65c8f984b899d220341f7916a0da353c height: 1887808
2022-04-25T11:00:02.954 full_node chia.full_node.full_node: WARNING  Block validation time: 3.82 seconds, pre_validation time: 0.37 seconds, cost: None header_hash: a360015d491cb32eaea3b4273e8d8e68b66ac699b0059474d344d52c54ff35c7 height: 1887809
2022-04-25T11:01:00.738 full_node chia.full_node.full_node: WARNING  Block validation time: 4.28 seconds, pre_validation time: 0.34 seconds, cost: 4658124134, percent full: 42.347% header_hash: a70c650e497237c67bba882c9e12f4d3fd6971e8f32b326b3b783889a2a47061 height: 1887811
2022-04-25T11:03:56.653 full_node chia.full_node.full_node: WARNING  Block validation time: 4.32 seconds, pre_validation time: 0.39 seconds, cost: 3963732603, percent full: 36.034% header_hash: 183518556d492fe919e57186a401f08b5fd1e4b42ca8a0af65295682ae88cad3 height: 1887822
2022-04-25T11:05:07.963 full_node chia.full_node.full_node: WARNING  Block validation time: 3.25 seconds, pre_validation time: 0.35 seconds, cost: 3947895130, percent full: 35.89% header_hash: 0e5a581b343e4ae44c790a2d654c8c3489f561cf1e526e85612c3b38c0a81d37 height: 1887828
2022-04-25T11:07:00.762 full_node chia.full_node.full_node: WARNING  Block validation time: 5.69 seconds, pre_validation time: 0.45 seconds, cost: 5101902445, percent full: 46.381% header_hash: 75e996995321307df80cc23fbf75a460b44dcedcc27345e407f316be1bfe6fac height: 1887834
2022-04-25T11:08:29.140 full_node chia.full_node.full_node: WARNING  Block validation time: 3.03 seconds, pre_validation time: 0.33 seconds, cost: 4246457742, percent full: 38.604% header_hash: f0cfa41b5bc2e92d5c9115a046b074e05d4ee4acf64b3d69bed4e6de341a803e height: 1887837
2022-04-25T11:09:01.652 full_node chia.full_node.full_node: WARNING  Block validation time: 4.18 seconds, pre_validation time: 0.44 seconds, cost: 5489483641, percent full: 49.904% header_hash: 1f27f8906c3fc6ff9365174fda71f15d9ffa28fc77cde4206e9c9d7ea9bd9476 height: 1887839

I have problems when launch “chia show” command. It doesn’t have any output.

Do this errors correspond to when you have a script connecting to the node via API or RPC? I’ve never seen these on Linux, but did one time when I connected and sent a command to the node over the node RPC. I’m pretty sure the connection and RPC call were done correctly, but nonetheless may have caused this same error at the same time.

I can’t now, but I’ll take a look and see if I can replicate that later.