if we can't determine the peer, the connect should fail. (cherry picked from commit 8fcad58ea6)
8fcad58ea6