You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dart SDK Version: Dart VM version: 2.1.2-dev.0.0.flutter-0a7dcf17eb (Tue Feb 12 01:59:15 2019 +0000) on "windows_x64" Windows 10 OS
I will start by saying I have thoroughly read all the Dart/Pub/Flutter issues I can find on this subject, and none of the solutions have fixed the issue for me. I am not behind a proxy.
When I run flutter packages get, or for more information, flutter packages pub get --verbosity=all, I get the following error:
HTTP error:
| HandshakeException: Handshake error in client (OS Error:
| CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate(handshake.cc:352))
My flutter doctor -v output is:
[√] Flutter (Channel stable, v1.2.1, on Microsoft Windows [Version 10.0.17134.590], locale en-US)
• Flutter version 1.2.1 at C:\flutter
• Framework revision 8661d8a (4 weeks ago), 2019-02-14 19:19:53 -0800
• Engine revision 3757390fa4
• Dart version 2.1.2 (build 2.1.2-dev.0.0 0a7dcf1)
[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at C:\Users\Me\AppData\Local\Android\Sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• ANDROID_HOME = C:\Users\Me\AppData\Local\Android\Sdk
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
• All Android licenses accepted.
[√] Android Studio (version 3.3)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 33.3.1
• Dart plugin version 182.5215
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
I have installed android studio, flutter, dart on a different machine with Windows 10 on the same network, and had no problems. But it is not the computer I need for development.
Things I have tried that did not resolve the issue:
Disable Windows Defender (no other antivirus on the computer)
Set the DART_VM_OPTIONS environment variable pointing to a self-signed certificate as per the discussion in this issue: Iron Port TLS 1.0 proxy, pub get fails #25615 (although I've not sure if I'm doing this correctly)
Are you running behind a corporate proxy that is monitoring your HTTPS traffic by putting itself in the middle and requiring all users to trust a self-signed CA?
Previously I was getting self signed certificate Handshake error.
I tried this (https://github.com/dart-lang/sdk/issues/25615#issuecomment-415588236) workaround and now I'm getting a different error saying Got TLS error trying to find package google_maps_flutter at https://pub.dartlang.org.
Dart SDK Version: Dart VM version: 2.1.2-dev.0.0.flutter-0a7dcf17eb (Tue Feb 12 01:59:15 2019 +0000) on "windows_x64"
Windows 10 OS
I will start by saying I have thoroughly read all the Dart/Pub/Flutter issues I can find on this subject, and none of the solutions have fixed the issue for me. I am not behind a proxy.
I have a new installation of Dart and Flutter and am trying to do this simple tutorial: https://flutter.dev/docs/get-started/codelab
When I run
flutter packages get
, or for more information,flutter packages pub get --verbosity=all
, I get the following error:HTTP error:
| HandshakeException: Handshake error in client (OS Error:
| CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate(handshake.cc:352))
My
flutter doctor -v
output is:[√] Flutter (Channel stable, v1.2.1, on Microsoft Windows [Version 10.0.17134.590], locale en-US)
• Flutter version 1.2.1 at C:\flutter
• Framework revision 8661d8a (4 weeks ago), 2019-02-14 19:19:53 -0800
• Engine revision 3757390fa4
• Dart version 2.1.2 (build 2.1.2-dev.0.0 0a7dcf1)
[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at C:\Users\Me\AppData\Local\Android\Sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• ANDROID_HOME = C:\Users\Me\AppData\Local\Android\Sdk
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
• All Android licenses accepted.
[√] Android Studio (version 3.3)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 33.3.1
• Dart plugin version 182.5215
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
I have installed android studio, flutter, dart on a different machine with Windows 10 on the same network, and had no problems. But it is not the computer I need for development.
Things I have tried that did not resolve the issue:
Hoping someone can help figure out what may be causing this, as I can't use dart without resolving. Thanks!
The text was updated successfully, but these errors were encountered: