try setting up the rpc connection