After an upgrade to ubuntu 20.04 i receive this error from a python script launched from crontab:
Unable to init server: Could not connect: Connection refused