invertase / flutterfire_cli

A CLI to help with using FlutterFire in your Flutter applications.
Apache License 2.0
173 stars 49 forks source link

[bug]: TimeoutException after 0:00:15.000000: Future not completed #337

Open Musabumair098 opened 2 months ago

Musabumair098 commented 2 months ago

Is there an existing issue for this?

CLI Version

1.0.0

Firebase Tools version

13.16.0

Flutter Doctor Output

• Flutter version 3.22.3 on channel stable at C:\src\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision b0850beeb2 (7 weeks ago), 2024-07-16 21:43:41 -0700 • Engine revision 235db911ba • Dart version 3.4.4 • DevTools version 2.34.3

Description

it create issue while fetching project from cli : ⠼ Fetching available Firebase projects... TimeoutException after 0:00:15.000000: Future not completed

Steps to reproduce

when firebase is connection established through CLI

Expected behavior

time out Exception

Screenshots

not important

Additional context and comments

kindly provide me this solution

github-actions[bot] commented 1 month ago

Hello 👋, to help manage issues we automatically close stale issues.

This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?

This issue will be closed in 15 days if no further activity occurs.

Thank you for your contributions.

GozziCode commented 1 month ago

Hi, I have been having this issue for couple of weeks now. Please, is there a fix?

simonpetersgh commented 1 month ago

Hello, I added the firebase_core package, to my pubspec file and issue got resolved for me. Try that and see if it works for you.

On Wed, Oct 9, 2024, 11:17 Uma Godwin Eke @.***> wrote:

Hi, I have been having this issue for couple of weeks now, please is there a fix

— Reply to this email directly, view it on GitHub https://github.com/invertase/flutterfire_cli/issues/337#issuecomment-2402036302, or unsubscribe https://github.com/notifications/unsubscribe-auth/BF6XV76FYRMHDYJOPFYVGZLZ2UGE3AVCNFSM6AAAAABNWMDT2SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBSGAZTMMZQGI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

KoamiviKELEDOME commented 2 weeks ago

Hi, I have been having this issue for couple of weeks now. Please, is there a fix?

I'm also having this problem. Did you get a solution?

GozziCode commented 2 weeks ago

I had to use another PC to run the CLI command, i guess its a firewall issue or something

DavidJ19 commented 1 week ago

Issue resolved for me by switching off Panda Antivirus

Any updates on a solution as I can't get beyond this issue

I'm using Node version v22.11.0

Flutter Doctor finds no issues

[√] Flutter (Channel stable, 3.24.4, on Microsoft Windows [Version 10.0.22631.4391], locale en-GB) • Flutter version 3.24.4 on channel stable at C:\Flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 603104015d (3 weeks ago), 2024-10-24 08:01:25 -0700 • Engine revision db49896cf2 • Dart version 3.5.4 • DevTools version 2.37.3

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0-rc3) • Android SDK at C:\Users\d_jennings\AppData\Local\Android\sdk • Platform android-34, build-tools 35.0.0-rc3 • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java • Java version OpenJDK Runtime Environment (build 17.0.9+0--11185874) • All Android licenses accepted.

[√] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 2023.2) • Android Studio at C:\Program Files\Android\Android Studio • 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 17.0.9+0--11185874)

[√] VS Code (version 1.95.1) • VS Code at C:\Users\d_jennings\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 3.100.0

[√] Connected device (2 available) • Chrome (web) • chrome • web-javascript • Google Chrome 130.0.6723.117 • Edge (web) • edge • web-javascript • Microsoft Edge 130.0.2849.80

[√] Network resources • All expected network resources are available.

• No issues found!

Pubspec.yaml is as below

name: faker_app_flutter_firebase description: A new Flutter project. publish_to: 'none' version: 1.0.0+1

environment: sdk: '>=3.4.0 <4.0.0'

dependencies: flutter: sdk: flutter cupertino_icons: 1.0.8 flutter_riverpod: ^2.6.1 go_router: ^14.4.1 equatable: 2.0.5 firebase_core: ^3.7.0

dev_dependencies: flutter_test: sdk: flutter flutter_lints: ^5.0.0

flutter: uses-material-design: true