chia-blockchain: [BUG] Cannot connect to host 127.0.0.1:8444 ssl
Describe the bug
Second upgrade to latest results in the farm not working. Last time I needed to delete the dbs and let sync from beginning. I tried a backed up db and also had same error.Now I am down for days while it syncs again.
To Reproduce
Steps to reproduce the behavior:
- Upgrade to latest.
- Start Farm
- Open debug.log and see errors
Expected behavior
Connect to farmer.Screenshots
2021-07-13T14:29:20.291 wallet wallet_server : INFO Cannot connect to host 127.0.0.1:8444 ssl:<ssl.SSLContext object at 0x7>
2021-07-13T14:29:23.021 farmer farmer : INFO Reconnecting to peer {'host': '127.0.0.1', 'port': 8444}
2021-07-13T14:29:23.024 farmer farmer_server : INFO Cannot connect to host 127.0.0.1:8444 ssl:<ssl.SSLContext object at 0x7>
2021-07-13T14:29:23.293 wallet wallet : INFO Reconnecting to peer {'host': '127.0.0.1', 'port': 8444}
2021-07-13T14:29:23.295 wallet wallet_server : INFO Cannot connect to host 127.0.0.1:8444 ssl:<ssl.SSLContext object at 0x7>
2021-07-13T14:29:26.026 farmer farmer : INFO Reconnecting to peer {'host': '127.0.0.1', 'port': 8444}
2021-07-13T14:29:26.028 farmer farmer_server : INFO Cannot connect to host 127.0.0.1:8444 ssl:<ssl.SSLContext object at 0x7>
2021-07-13T14:29:26.296 wallet wallet : INFO Reconnecting to peer {'host': '127.0.0.1', 'port': 8444}
2021-07-13T14:29:26.298 wallet wallet_server : INFO Cannot connect to host 127.0.0.1:8444 ssl:<ssl.SSLContext object at 0x7>
2021-07-13T14:29:29.029 farmer farmer : INFO Reconnecting to peer {'host': '127.0.0.1', 'port': 8444}
2021-07-13T14:29:29.030 farmer farmer_server : INFO Cannot connect to host 127.0.0.1:8444 ssl:<ssl.SSLContext object at 0x7>
2021-07-13T14:29:29.300 wallet wallet : INFO Reconnecting to peer {'host': '127.0.0.1', 'port': 8444}
2021-07-13T14:29:29.301 wallet wallet_server : INFO Cannot connect to host 127.0.0.1:8444 ssl:<ssl.SSLContext object at 0x7>
2021-07-13T14:29:32.031 farmer farmer : INFO Reconnecting to peer {'host': '127.0.0.1', 'port': 8444}
2021-07-13T14:29:32.033 farmer farmer_server : INFO Cannot connect to host 127.0.0.1:8444 ssl:<ssl.SSLContext object at 0x7>
2021-07-13T14:29:32.303 wallet wallet : INFO Reconnecting to peer {'host': '127.0.0.1', 'port': 8444}
2021-07-13T14:29:32.305 wallet wallet_server : INFO Cannot connect to host 127.0.0.1:8444 ssl:<ssl.SSLContext object at 0x7>
2021-07-13T14:29:34.704 wallet chia.wallet.wallet_node : INFO Validated, fork point is 565645
2021-07-13T14:29:34.705 wallet chia.wallet.wallet_node : INFO self.sync_event.set()
2021-07-13T14:29:34.779 wallet chia.wallet.wallet_node : INFO Have collected 1 potential peaks
2021-07-13T14:29:35.035 farmer farmer : INFO Reconnecting to peer {'host': '127.0.0.1', 'port': 8444}
2021-07-13T14:29:35.040 farmer farmer_server : INFO Cannot connect to host 127.0.0.1:8444 ssl:<ssl.SSLContext object at 0x7>
2021-07-13T14:29:35.308 wallet wallet : INFO Reconnecting to peer {'host': '127.0.0.1', 'port': 8444}
2021-07-13T14:29:35.315 wallet wallet_server : INFO Cannot connect to host 127.0.0.1:8444 ssl:<ssl.SSLContext object at 0x7>
2021-07-13T14:29:36.680 wallet chia.wallet.wallet_node : INFO Requesting blocks 565644-565676
2021-07-13T14:29:38.042 farmer farmer : INFO Reconnecting to peer {'host': '127.0.0.1', 'port': 8444}
2021-07-13T14:29:38.045 farmer farmer_server : INFO Cannot connect to host 127.0.0.1:8444 ssl:<ssl.SSLContext object at 0x7>
2021-07-13T14:29:38.318 wallet wallet : INFO Reconnecting to peer {'host': '127.0.0.1', 'port': 8444}
2021-07-13T14:29:38.322 wallet wallet_server : INFO Cannot connect to host 127.0.0.1:8444 ssl:<ssl.SSLContext object at 0x7>
2021-07-13T14:29:41.046 farmer farmer : INFO Reconnecting to peer {'host': '127.0.0.1', 'port': 8444}
2021-07-13T14:29:41.048 farmer farmer_server : INFO Cannot connect to host 127.0.0.1:8444 ssl:<ssl.SSLContext object at 0x7>
2021-07-13T14:29:41.080 wallet chia.wallet.wallet_node : INFO Requesting blocks 565676-565708
2021-07-13T14:29:41.323 wallet wallet : INFO Reconnecting to peer {'host': '127.0.0.1', 'port': 8444}
2021-07-13T14:29:41.326 wallet wallet_server : INFO Cannot connect to host 127.0.0.1:8444 ssl:<ssl.SSLContext object at 0x7>
2021-07-13T14:29:44.049 farmer farmer : INFO Reconnecting to peer {'host': '127.0.0.1', 'port': 8444}
2021-07-13T14:29:44.050 farmer farmer_server : INFO Cannot connect to host 127.0.0.1:8444 ssl:<ssl.SSLContext object at 0x7>
Desktop
- OS: Linux
- OS Version/Flavor: Ubuntu 20.04.2
- CPU: Intel i7 3770k
Additional context
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 8
- Comments: 59 (10 by maintainers)
The only solution I found is to downgrade the client to version 1.2.7. Seems to be working.
Something like this on Linux…
Just replace
8771with any PR number…Wallet can’t sync … running since april, stopped yesterday o.O
1.4.0 проблема такая же вы будете ее решать?
This got me going again as well. I had to delete the database first though.
Yes, that’s right. Once your
nodestarts up OK, you can start the other services separately. I’d start theharvesterfirst, thenfarmer, thenwallet. Seechia start -hfor more info.I’m not exactly sure on the technicality of the works, but depending on the hardware configuration, starting up slowly through manual intervention can make a significant difference.
It will be slow the first time. The idea is the next start should be faster though.
I did a lot of things, and finally after giving this command the node start to work again:
.\chia.exe configure --set-farmer-peer 192.168.1.106:8447
Where 192.168.1.106 must be replaced for your node local IP. I did this trying that node instead of connecting to the IP loopback, it did it to the local IP of the node.
I hope that it works for you too.
I’m experiencing this issue. Anyone have a solution?
Same here. System was hung up today (noticed space pool has almost no space for hours today). Had to reboot the system and now the node will not start. There’s tons of this:
And netstat shows:
There’s probably 50-60 of those.
I tried restarting just the node and got a trace back.
Netstat did say chia_full_node running on ::8444 though. Even after trying chia stop all -d and restarting.
Just restarted again, tried chia start farmer:
Nothing is on that port. And I’ve got IPv6 disabled. This is a Debian 10 virtual machine. Not seeing any hardware or journalctl errors. It looks like this is only attempting IPv6? That’s can’t be right?
Edit: I was able to get the node started finally. I edited /etc/hosts and commented:
then the node would stop trying to use IPv6. Now the node looks like ok, but nothing is farming yet. Probably needs to sync. I’m not sure what happened with the crash except after reboot I saw in the debug log many many lines about mempool. The last log entries looked like this:
There were a lot more mempool_manager log entries all day in the logs. Not sure if any of this is helpful. I’m blaming something on my end.
I have the same issue. I used to use client 1.1.7 Yesterday updated the cliënt to 1.2.7. Since then my wallet is not able to sync and shows 0 xch. The log continuesly showing “Cannot connect to host 127.0.0.1:8444”. Local firewall temporarly disabled to see if it helped. It makes no difference. “Wallet Status: Not Synced (0)”