Description
Description
I encountered an issue while configuring Authentication and Analytics in our cross-platform mobile app (Android, iOS, Windows). When attempting Amplify.configure(amplifyConfig)
, an error is triggered, but this issue is isolated to certain Windows devices. The configuration process works without issues on Android and iOS devices.
Error Details:
The error message received is as follows:
flutter: WARN | Analytics | Could not update endpoint: NetworkException {
"message": "The request failed due to a network error.",
"recoverySuggestion": "Ensure that you have an active network connection",
"underlyingException": "POST https://cognito-identity.us-west-2.amazonaws.com/? failed: HandshakeException: Handshake error in client (OS Error: \n\tCERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate(../../third_party/boringssl/src/ssl/handshake.cc:393))"
}
In certain cases, reinstalling the app temporarily resolves the issue on affected Windows devices. However, the problem resurfaces consistently after 1-2 days post reinstallation.
Auth error is a similar one with the same underlyingException.
Notes
Connectivity: Stable internet connection via LAN wire.
Windows version: Windows 10 Home
Categories
- Analytics
- API (REST)
- API (GraphQL)
- Auth
- Authenticator
- DataStore
- Notifications (Push)
- Storage
Steps to Reproduce
Try to configure amplify plugins using Amplify.configure(amplifyConfig)
Screenshots


Platforms
- iOS
- Android
- Web
- macOS
- Windows
- Linux
Flutter Version
3.10.0
Amplify Flutter Version
1.7.0 and lower
Deployment Method
Amplify CLI
Schema
No response