Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flutter Windows App for AppSync - CERTIFICATE_VERIFY_FAILED #5737

Open
2 of 14 tasks
jobypthomas opened this issue Nov 29, 2024 · 3 comments
Open
2 of 14 tasks

Flutter Windows App for AppSync - CERTIFICATE_VERIFY_FAILED #5737

jobypthomas opened this issue Nov 29, 2024 · 3 comments
Labels
duplicate This issue or pull request already exists feature-request A request for a new feature or an enhancement to an existing API or category. GraphQL API Issues related to the API (GraphQL) Category

Comments

@jobypthomas
Copy link

Description

I built a flutter app few years ago with Amplify to glue the AWS backend. I have iOS, Android, Web and Windows apps. All of them were working just fine. However, I started getting the following error in ONLY Windows App about a month ago:
flutter: UnknownException {
"message": "unable to send GraphQLRequest to client.",
"underlyingException": "POST https://xxxxxxxxxxxxxxxxx.appsync-api.us-east-1.amazonaws.com/graphql/ 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))"
}
The requests fails for local certs and also for the Microsoft issued certificates for Windows App Store.
Authentication works (Cognito) just fine. It is the GQL API requests that fails. I use msix for signing (https://pub.dev/packages/msix)
Anyone?
Dart packages
msix | Dart package

Categories

  • Analytics
  • API (REST)
  • API (GraphQL)
  • Auth
  • Authenticator
  • DataStore
  • Notifications (Push)
  • Storage

Steps to Reproduce

Login using the App (Auth services works just fine)
The data is fetched and instead raised the error:
flutter: UnknownException {
"message": "unable to send GraphQLRequest to client.",
"underlyingException": "POST https://xxxxxxxxxxxxxxxxx.appsync-api.us-east-1.amazonaws.com/graphql/ 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))"
}

Screenshots

No response

Platforms

  • iOS
  • Android
  • Web
  • macOS
  • Windows
  • Linux

Flutter Version

3.7.0

Amplify Flutter Version

12.4.0

Deployment Method

Amplify CLI (Gen 1)

Schema

No response

@github-actions github-actions bot added pending-triage This issue is in the backlog of issues to triage pending-maintainer-response Pending response from a maintainer of this repository labels Nov 29, 2024
@jobypthomas
Copy link
Author

I noticed similar issue but with a different category - #4161
@BeamTrakLLC

@ekjotmultani
Copy link
Member

Hi @jobypthomas, thanks for taking the time to raise this issue, I'm sorry that you are facing this. We will investigate and attempt to reproduce this issue, will get back to you with an update when we have one

@github-actions github-actions bot removed the pending-maintainer-response Pending response from a maintainer of this repository label Nov 29, 2024
@ekjotmultani ekjotmultani added REST API Issues related to the API (REST) Category GraphQL API Issues related to the API (GraphQL) Category and removed REST API Issues related to the API (REST) Category labels Nov 29, 2024
@NikaHsn
Copy link
Member

NikaHsn commented Dec 3, 2024

@jobypthomas I think this is duplicate of #4714. if so please follow #4714 for update.

@NikaHsn NikaHsn added duplicate This issue or pull request already exists feature-request A request for a new feature or an enhancement to an existing API or category. and removed pending-triage This issue is in the backlog of issues to triage labels Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists feature-request A request for a new feature or an enhancement to an existing API or category. GraphQL API Issues related to the API (GraphQL) Category
Projects
None yet
Development

No branches or pull requests

3 participants