added connection debug info on failure