Connection methods of electronic connectors under different environmental conditions