Getting a "couldn't connect to server" error on getblockchaininfo
Are you doing that remotely? if so please make sure that your port is open.

sudo ufw allow 8333


Also can you provide us with the last a few lines of debug.log file.