make connection error string message consistent between native and non-native