device connection always error