Expected behavior
Until recently Core made outbound connections and I frequently saw up to 30 incoming connections via its onion address.
Actual behavior
Core is unable to connect through Tor or accept incoming connections through Tor.
connect() to 127.0.0.1:9050 failed after select(): Connection refused (111)
To reproduce
I have configured Core to connect through the Tor Socks proxy at 127.0.0.1:9050. I have verified that the Tor Socks proxy is functional at this ip:port.
bitcoin.conf
listen=1
externalip=rn2rjwuxfjzvjfkg2hmrduc2n7tjjpasrlianfskdhhhhfqqvf7kliyd.onion
discover=1
System information
I'm running Bitcoin Core version v0.20.1, installed via Snap on Ubuntu 18.04.5 LTS