Human readable error in connect function