-
Notifications
You must be signed in to change notification settings - Fork 29.3k
Closed
Description
Steps to Reproduce
I've run into an issue where flutter pub get
fails consistently, timing out when it tries to git fetch
(See logs below). This issue started to happen after upgrading my Mac to 12.3.1 and XCode to 13.0. The application was working fine prior to upgrading my OS and XCode. I've tried deleting & repairing my ./pub-cache
, cleaning rebuilding the app for ios.
flutter pub get
Git error. Command: `git fetch`
stdout:
stderr: fatal: unable to connect to github.com:
github.com[0: 140.82.113.3]: errno=Operation timed out
exit code: 128
- Upgraded Mac to 12.3.1, XCode to 13.0
- Clone a flutter repository
- run
flutter pub get
Logs
Logs
flutter pub get
Git error. Command: `git fetch`
stdout:
stderr: fatal: unable to connect to github.com:
github.com[0: 140.82.114.3]: errno=Operation timed out
exit code: 128
pub get failed (server unavailable) -- attempting retry 1 in 1 second...
Git error. Command: `git fetch`
stdout:
stderr: fatal: unable to connect to github.com:
github.com[0: 140.82.112.3]: errno=Operation timed out
exit code: 128
pub get failed (server unavailable) -- attempting retry 2 in 2 seconds...
Git error. Command: `git fetch`
stdout:
stderr: fatal: unable to connect to github.com:
github.com[0: 140.82.112.3]: errno=Operation timed out
exit code: 128
flutter doctor -v
[✓] Flutter (Channel stable, 2.0.6, on macOS 12.3.1 21E258 darwin-x64, locale en-US)
• Flutter version 2.0.6 at /Users/jsmglorenzo/Documents/Programs/sdk/flutter
• Framework revision 1d9032c7e1 (1 year ago), 2021-04-29 17:37:58 -0700
• Engine revision 05e680e202
• Dart version 2.12.3
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /Users/jsmglorenzo/Library/Android/sdk
• Platform android-30, build-tools 30.0.2
• ANDROID_HOME = /Users/jsmglorenzo/Library/Android/sdk
• ANDROID_SDK_ROOT = /Users/jsmglorenzo/Library/Android/sdk
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 13.0, Build version 13A233
• CocoaPods version 1.10.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Ch
[flutter pub get error.txt](https://github.com/flutter/flutter/files/8694338/flutter.pub.get.error.txt)
rome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[✓] VS Code (version 1.67.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.40.0
[✓] Connected device (1 available)
• Chrome (web) • chrome • web-javascript • Google Chrome 101.0.4951.64
! Error: iPhone is not connected. Xcode will continue when iPhone is connected. (code
-13)
• No issues found!
Metadata
Metadata
Assignees
Labels
No labels