#738 updated error message, handled empty message for check connection