admin管理员组文章数量:1403355
I recently updated Flutter to version 3.29.2, and since then, I have been experiencing issues when running flutter doctor or pub upgrade. The error message I receive is:
flutter doctor
Building flutter tool.
Running pub upgrade - -.
Resolving dependencies ..
Got TLS error trying to find package crypto at .
Error <69>: Unable to
Ratseconds ... (9 tries left>
flutter tool. Retrying in five
Waiting for 0 seconds, press CTRL+C to quit
Running pub upgrade.
Resolving dependencies ... (41.6s>_
I have tried the following solutions, but the issue persists:
Checked my internet connection and ensured is accessible from my browser.
Used a VPN to bypass possible network restrictions.
Ran flutter upgrade --force, but the error remains.
Deleted the bin/cache folder inside the Flutter directory and retried flutter doctor.
Unset any proxy settings using flutter config --unset http-proxy and flutter config --unset https-proxy.
Ran dart pub upgrade separately before running flutter doctor.
Executed all commands with administrator privileges.
The issue only started occurring after updating to Flutter 3.29.2 Previous versions worked fine.
System Info: OS: Windows 10 (64-bit)
Flutter version: 3.29.2
Dart version: (from flutter --version)
Network: No proxy, direct internet access
Has anyone else encountered this issue with Flutter 3.29.2? Any solutions or workarounds would be greatly appreciated!
I recently updated Flutter to version 3.29.2, and since then, I have been experiencing issues when running flutter doctor or pub upgrade. The error message I receive is:
flutter doctor
Building flutter tool.
Running pub upgrade - -.
Resolving dependencies ..
Got TLS error trying to find package crypto at https://pub.dev.
Error <69>: Unable to
Ratseconds ... (9 tries left>
flutter tool. Retrying in five
Waiting for 0 seconds, press CTRL+C to quit
Running pub upgrade.
Resolving dependencies ... (41.6s>_
I have tried the following solutions, but the issue persists:
Checked my internet connection and ensured https://pub.dev is accessible from my browser.
Used a VPN to bypass possible network restrictions.
Ran flutter upgrade --force, but the error remains.
Deleted the bin/cache folder inside the Flutter directory and retried flutter doctor.
Unset any proxy settings using flutter config --unset http-proxy and flutter config --unset https-proxy.
Ran dart pub upgrade separately before running flutter doctor.
Executed all commands with administrator privileges.
The issue only started occurring after updating to Flutter 3.29.2 Previous versions worked fine.
System Info: OS: Windows 10 (64-bit)
Flutter version: 3.29.2
Dart version: (from flutter --version)
Network: No proxy, direct internet access
Has anyone else encountered this issue with Flutter 3.29.2? Any solutions or workarounds would be greatly appreciated!
Share Improve this question edited Mar 24 at 2:42 Mustafa Alqershi asked Mar 22 at 3:31 Mustafa AlqershiMustafa Alqershi 517 bronze badges1 Answer
Reset to default 0Solution:
✅ 1: Open Command Prompt (CMD) as administrator.
✅ 2: Execute the following command to force the connection over TLS 1.2:
curl --tlsv1.2 https://pub.flutter-io.cn
本文标签:
版权声明:本文标题:dart - Got TLS error trying to find package. TLS Error When Running flutter doctor or pub upgrade - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744325681a2600713.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论