firebase / flutterfire

🔥 A collection of Firebase plugins for Flutter apps.
https://firebase.google.com/docs/flutter/setup
BSD 3-Clause "New" or "Revised" License
8.68k stars 3.97k forks source link

🐛 [RemoteConfig][RCN000026] Crashing the Flutter iOS app with 4.2.1 version #10981

Closed raghavsatyadev closed 3 months ago

raghavsatyadev commented 1 year ago

Bug report

Describe the bug The remote config is crashing the iOS app with the 4.2.1 version.

Steps to reproduce

Steps to reproduce the behavior:

  1. Just opening the app after it calls the fetchAndActivate method.

Expected behavior

App should download configs without crash

Sample project

Don't have the sample project now. It is happening in production


Additional context


Flutter doctor

Click To Expand ``` Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel master, 3.11.0-6.0.pre.66, on Microsoft Windows [Version 10.0.22621.1702], locale en-IN) [√] Windows Version (Installed version of Windows is version 10 or higher) [√] Android toolchain - develop for Android devices (Android SDK version 33.0.1) [√] Chrome - develop for the web [!] Visual Studio - develop Windows apps (Visual Studio Build Tools 2019 16.11.21) X Visual Studio is missing necessary components. Please re-run the Visual Studio installer for the "Desktop development with C++" workload, and include these components: MSVC v142 - VS 2019 C++ x64/x86 build tools - If there are multiple build tool versions available, install the latest C++ CMake tools for Windows Windows 10 SDK [√] Android Studio (version 2022.2) [√] Android Studio (version 2023.1) [√] IntelliJ IDEA Community Edition (version 2023.2) [√] VS Code (version 1.75.0) [√] Connected device (3 available) [√] Network resources ! Doctor found issues in 1 category. ```

Flutter dependencies

Click To Expand ``` Dart SDK 3.1.0-111.0.dev Flutter SDK 3.11.0-6.0.pre.66 mobileone 1.0.75+75 dependencies: - app_settings 4.2.0 [flutter] - archive 3.3.7 [crypto path pointycastle] - bonsoir 2.2.0+1 [flutter bonsoir_platform_interface bonsoir_android bonsoir_darwin] - cached_network_image 3.2.3 [flutter flutter_cache_manager octo_image cached_network_image_platform_interface cached_network_image_web] - cloud_firestore 4.7.1 [cloud_firestore_platform_interface cloud_firestore_web collection firebase_core firebase_core_platform_interface flutter meta] - connectivity_plus 4.0.0 [flutter flutter_web_plugins connectivity_plus_platform_interface js meta nm] - convert 3.1.1 [typed_data] - country_codes 2.2.0 [flutter] - crypto 3.0.3 [typed_data] - device_info_plus 8.2.2 [device_info_plus_platform_interface ffi file flutter flutter_web_plugins meta win32] - dio 5.1.2 [http_parser meta path] - drift 2.8.0 [async convert collection js meta stream_channel sqlite3] - drift_local_storage_inspector 0.5.0 [drift flutter storage_inspector] - dropdown_button2 2.1.2 [flutter meta] - envied 0.3.0+3 - external_path 1.0.3 [flutter] - firebase_analytics 10.4.1 [firebase_analytics_platform_interface firebase_analytics_web firebase_core firebase_core_platform_interface flutter] - firebase_core 2.13.0 [firebase_core_platform_interface firebase_core_web flutter meta] - firebase_crashlytics 3.3.1 [firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface flutter stack_trace] - firebase_dynamic_links 5.3.1 [firebase_core firebase_core_platform_interface firebase_dynamic_links_platform_interface flutter meta plugin_platform_interface] - firebase_messaging 14.6.1 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta] - firebase_remote_config 4.2.1 [firebase_core firebase_core_platform_interface firebase_remote_config_platform_interface firebase_remote_config_web flutter] - flick_video_player 0.5.0 [flutter video_player provider wakelock universal_html] - flutter 0.0.0 [characters collection js material_color_utilities meta vector_math sky_engine] - flutter_background_service 2.4.6 [flutter flutter_background_service_platform_interface flutter_background_service_android flutter_background_service_ios] - flutter_background_service_android 3.0.3 [flutter flutter_background_service_platform_interface] - flutter_email_sender 5.2.0 [flutter] - flutter_genius_scan 4.9.0 [flutter] - flutter_inappwebview 5.7.2+3 [flutter] - flutter_launcher_icons 0.13.1 [args checked_yaml cli_util image json_annotation path yaml] - flutter_local_notifications 14.0.0+2 [clock flutter flutter_local_notifications_linux flutter_local_notifications_platform_interface timezone] - flutter_localizations 0.0.0 [flutter intl characters clock collection js material_color_utilities meta path vector_math] - flutter_native_splash 2.3.0 [args flutter flutter_web_plugins js html image meta path universal_io xml yaml] - flutter_rating_bar 4.0.1 [flutter] - flutter_screenutil 5.8.1 [flutter] - flutter_svg 2.0.5 [flutter vector_graphics vector_graphics_codec vector_graphics_compiler] - flutter_typeahead 4.3.8 [flutter flutter_keyboard_visibility] - get 4.6.5 [flutter] - get_storage 2.1.1 [flutter get path_provider] - http 0.13.6 [async http_parser meta] - http_mock_adapter 0.4.4 [collection dio http_parser] - internet_connection_checker 1.0.0+1 - intl 0.18.1 [clock meta path] - json_annotation 4.8.1 [meta] - launch_review 3.0.1 [flutter] - lexmark_support 0.0.1 [flutter convert plugin_platform_interface] - location 4.4.0 [flutter location_platform_interface location_web] - logger 1.3.0 - mockito 5.4.0 [analyzer build code_builder collection dart_style matcher meta path source_gen test_api] - modal_progress_hud_nsn 0.4.0 [flutter flutter_web_plugins plugin_platform_interface] - multicast_dns 0.3.2+3 [meta] - open_file_manager 0.0.2 [flutter plugin_platform_interface] - open_filex 4.3.2 [flutter ffi] - package_info_plus 3.1.2 [ffi flutter flutter_web_plugins http meta path package_info_plus_platform_interface win32] - path 1.8.3 - path_provider 2.0.15 [flutter path_provider_android path_provider_foundation path_provider_linux path_provider_platform_interface path_provider_windows] - permission_handler 10.2.0 [flutter meta permission_handler_android permission_handler_apple permission_handler_windows permission_handler_platform_interface] - plugin_platform_interface 2.1.4 [meta] - provider 6.0.5 [collection flutter nested] - qr_code_scanner 1.0.1 [js flutter flutter_web_plugins] - responsive_framework 0.2.0 [flutter collection] - sqlite3_flutter_libs 0.5.14 [flutter] - storage_inspector 0.3.0 [async dart_service_announcement flutter synchronized tuple uri uuid] - synchronized 3.1.0 - universal_html 2.2.2 [async csslib charcode collection html meta source_span typed_data universal_io] - url_launcher 6.1.11 [flutter url_launcher_android url_launcher_ios url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows] - vector_graphics 1.1.5+1 [flutter vector_graphics_codec] - vector_graphics_compiler 1.1.5+1 [args meta path_parsing xml vector_graphics_codec] - video_player 2.6.1 [flutter html video_player_android video_player_avfoundation video_player_platform_interface video_player_web] - visibility_detector 0.4.0+2 [flutter] - wifi_iot 0.3.18 [flutter] - wifi_scan 0.4.0+1 [flutter] - xml 6.3.0 [collection meta petitparser] - xml2json 6.0.0 [xml] - yaml 3.1.2 [collection source_span string_scanner] dev dependencies: - build_runner 2.4.4 [analyzer args async build build_config build_daemon build_resolvers build_runner_core code_builder collection crypto dart_style frontend_server_client glob graphs http_multi_server io js logging meta mime package_config path pool pub_semver pubspec_parse shelf shelf_web_socket stack_trace stream_transform timing watcher web_socket_channel yaml] - dependency_validator 3.2.2 [args build_config checked_yaml glob io json_annotation logging package_config path pub_semver pubspec_parse yaml] - drift_dev 2.8.2 [charcode collection recase meta path json_annotation stream_transform args logging cli_util yaml io drift sqlite3 sqlparser analyzer analyzer_plugin source_span package_config pub_semver build build_resolvers build_config dart_style source_gen string_scanner] - envied_generator 0.3.0+3 [envied build source_gen analyzer] - flutter_lints 2.0.1 [lints] - flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters collection js matcher material_color_utilities meta source_span stream_channel string_scanner term_glyph] - json_serializable 6.7.0 [analyzer async build build_config collection json_annotation meta path pub_semver pubspec_parse source_gen source_helper] - source_gen 1.3.2 [analyzer async build dart_style glob path source_span yaml] transitive dependencies: - _fe_analyzer_shared 60.0.0 [meta] - _flutterfire_internals 1.3.1 [collection firebase_core firebase_core_platform_interface flutter meta] - analyzer 5.12.0 [_fe_analyzer_shared collection convert crypto glob meta package_config path pub_semver source_span watcher yaml] - analyzer_plugin 0.11.2 [analyzer collection dart_style pub_semver yaml] - args 2.4.1 - async 2.11.0 [collection meta] - bonsoir_android 2.2.0 [flutter bonsoir_platform_interface] - bonsoir_darwin 2.2.0+1 [flutter bonsoir_platform_interface] - bonsoir_platform_interface 2.2.0 [flutter meta plugin_platform_interface] - boolean_selector 2.1.1 [source_span string_scanner] - build 2.4.0 [analyzer async convert crypto glob logging meta package_config path] - build_config 1.1.1 [checked_yaml json_annotation path pubspec_parse yaml] - build_daemon 4.0.0 [built_collection built_value http_multi_server logging path pool shelf shelf_web_socket stream_transform watcher web_socket_channel] - build_resolvers 2.2.0 [analyzer async build collection crypto graphs logging path package_config pool pub_semver stream_transform yaml] - build_runner_core 7.2.8 [async build build_config build_resolvers collection convert crypto glob graphs json_annotation logging meta path package_config pool timing watcher yaml] - built_collection 5.1.1 - built_value 8.5.0 [built_collection collection fixnum meta] - cached_network_image_platform_interface 2.0.0 [flutter flutter_cache_manager] - cached_network_image_web 1.0.2 [flutter flutter_cache_manager cached_network_image_platform_interface] - characters 1.3.0 - charcode 1.3.1 - checked_yaml 2.0.3 [json_annotation source_span yaml] - cli_util 0.4.0 [meta path] - clock 1.1.1 - cloud_firestore_platform_interface 5.14.1 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface] - cloud_firestore_web 3.5.1 [_flutterfire_internals cloud_firestore_platform_interface collection firebase_core firebase_core_web flutter flutter_web_plugins js] - code_builder 4.4.0 [built_collection built_value collection matcher meta] - collection 1.17.1 - connectivity_plus_platform_interface 1.2.4 [flutter meta plugin_platform_interface] - csslib 0.17.2 [source_span] - dart_service_announcement 1.2.3 [logging synchronized] - dart_style 2.3.1 [analyzer args path pub_semver source_span] - dbus 0.7.8 [args ffi meta xml] - device_info_plus_platform_interface 7.0.0 [flutter meta plugin_platform_interface] - fake_async 1.3.1 [clock collection] - ffi 2.0.2 - file 6.1.4 [meta path] - firebase_analytics_platform_interface 3.6.1 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface] - firebase_analytics_web 0.5.4+1 [_flutterfire_internals firebase_analytics_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js] - firebase_core_platform_interface 4.8.0 [collection flutter flutter_test meta plugin_platform_interface] - firebase_core_web 2.5.0 [firebase_core_platform_interface flutter flutter_web_plugins js meta] - firebase_crashlytics_platform_interface 3.6.1 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface] - firebase_dynamic_links_platform_interface 0.2.6+1 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface] - firebase_messaging_platform_interface 4.5.1 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface] - firebase_messaging_web 3.5.1 [_flutterfire_internals firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta] - firebase_remote_config_platform_interface 1.4.1 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface] - firebase_remote_config_web 1.4.1 [firebase_core firebase_core_web firebase_remote_config_platform_interface flutter flutter_web_plugins js] - fixnum 1.1.0 - flutter_background_service_ios 2.4.0 [flutter flutter_background_service_platform_interface] - flutter_background_service_platform_interface 2.2.0 [flutter platform plugin_platform_interface] - flutter_blurhash 0.7.0 [flutter] - flutter_cache_manager 3.3.0 [clock collection file flutter http path path_provider pedantic rxdart sqflite uuid] - flutter_keyboard_visibility 5.4.1 [meta flutter_keyboard_visibility_platform_interface flutter_keyboard_visibility_linux flutter_keyboard_visibility_macos flutter_keyboard_visibility_web flutter_keyboard_visibility_windows flutter] - flutter_keyboard_visibility_linux 1.0.0 [flutter_keyboard_visibility_platform_interface flutter] - flutter_keyboard_visibility_macos 1.0.0 [flutter_keyboard_visibility_platform_interface flutter] - flutter_keyboard_visibility_platform_interface 2.0.0 [flutter meta plugin_platform_interface] - flutter_keyboard_visibility_web 2.0.0 [flutter_keyboard_visibility_platform_interface flutter_web_plugins flutter] - flutter_keyboard_visibility_windows 1.0.0 [flutter_keyboard_visibility_platform_interface flutter] - flutter_local_notifications_linux 4.0.0+1 [dbus ffi flutter flutter_local_notifications_platform_interface path xdg_directories] - flutter_local_notifications_platform_interface 7.0.0+1 [flutter plugin_platform_interface] - flutter_web_plugins 0.0.0 [flutter js characters collection material_color_utilities meta vector_math] - frontend_server_client 3.2.0 [async path] - glob 2.1.1 [async collection file path string_scanner] - graphs 2.2.0 [collection] - html 0.15.3 [csslib source_span] - http_multi_server 3.2.1 [async] - http_parser 4.0.2 [collection source_span string_scanner typed_data] - image 4.0.17 [archive meta xml] - io 1.0.4 [meta path string_scanner] - js 0.6.7 [meta] - lints 2.1.0 - location_platform_interface 2.3.0 [flutter meta plugin_platform_interface] - location_web 3.1.1 [flutter flutter_web_plugins http_parser js location_platform_interface meta] - logging 1.1.1 - matcher 0.12.15 [async meta stack_trace term_glyph test_api] - material_color_utilities 0.5.0 [collection] - meta 1.9.1 - mime 1.0.4 - nested 1.0.0 [flutter] - nm 0.5.0 [dbus] - octo_image 1.0.2 [flutter flutter_blurhash] - package_config 2.1.0 [path] - package_info_plus_platform_interface 2.0.1 [flutter meta plugin_platform_interface] - path_parsing 1.0.1 [vector_math meta] - path_provider_android 2.0.27 [flutter path_provider_platform_interface] - path_provider_foundation 2.2.3 [flutter path_provider_platform_interface] - path_provider_linux 2.1.10 [ffi flutter path path_provider_platform_interface xdg_directories] - path_provider_platform_interface 2.0.6 [flutter platform plugin_platform_interface] - path_provider_windows 2.1.6 [ffi flutter path path_provider_platform_interface win32] - pedantic 1.11.1 - permission_handler_android 10.2.1 [flutter permission_handler_platform_interface] - permission_handler_apple 9.0.8 [flutter permission_handler_platform_interface] - permission_handler_platform_interface 3.9.0 [flutter meta plugin_platform_interface] - permission_handler_windows 0.1.2 [flutter permission_handler_platform_interface] - petitparser 5.4.0 [meta] - platform 3.1.0 - pointycastle 3.7.3 [collection convert js] - pool 1.5.1 [async stack_trace] - process 4.2.4 [file path platform] - pub_semver 2.1.4 [collection meta] - pubspec_parse 1.2.3 [checked_yaml collection json_annotation pub_semver yaml] - quiver 3.2.1 [matcher] - recase 4.1.0 - rxdart 0.27.7 - shelf 1.4.1 [async collection http_parser path stack_trace stream_channel] - shelf_web_socket 1.0.4 [shelf stream_channel web_socket_channel] - sky_engine 0.0.99 - source_helper 1.3.3 [analyzer collection source_gen] - source_span 1.10.0 [collection path term_glyph] - sqflite 2.2.8+4 [flutter sqflite_common path] - sqflite_common 2.4.5 [synchronized path meta] - sqlite3 1.11.1 [collection ffi js meta path] - sqlparser 0.30.0 [meta collection source_span charcode] - stack_trace 1.11.0 [path] - stream_channel 2.1.1 [async] - stream_transform 2.1.0 - string_scanner 1.2.0 [source_span] - term_glyph 1.2.1 - test_api 0.5.2 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher] - timezone 0.9.2 [path] - timing 1.0.1 [json_annotation] - tuple 2.0.1 - typed_data 1.3.2 [collection] - universal_io 2.2.0 [collection meta typed_data] - uri 1.0.0 [matcher quiver] - url_launcher_android 6.0.33 [flutter url_launcher_platform_interface] - url_launcher_ios 6.1.4 [flutter url_launcher_platform_interface] - url_launcher_linux 3.0.5 [flutter url_launcher_platform_interface] - url_launcher_macos 3.0.5 [flutter url_launcher_platform_interface] - url_launcher_platform_interface 2.1.2 [flutter plugin_platform_interface] - url_launcher_web 2.0.16 [flutter flutter_web_plugins url_launcher_platform_interface] - url_launcher_windows 3.0.6 [flutter url_launcher_platform_interface] - uuid 3.0.7 [crypto] - vector_graphics_codec 1.1.5+1 - vector_math 2.1.4 - video_player_android 2.4.7 [flutter video_player_platform_interface] - video_player_avfoundation 2.4.6 [flutter video_player_platform_interface] - video_player_platform_interface 6.1.0 [flutter plugin_platform_interface] - video_player_web 2.0.16 [flutter flutter_web_plugins video_player_platform_interface] - wakelock 0.6.2 [flutter meta wakelock_macos wakelock_platform_interface wakelock_web wakelock_windows] - wakelock_macos 0.4.0 [flutter flutter_web_plugins wakelock_platform_interface] - wakelock_platform_interface 0.3.0 [flutter meta] - wakelock_web 0.4.0 [flutter flutter_web_plugins js wakelock_platform_interface] - wakelock_windows 0.2.1 [flutter wakelock_platform_interface win32] - watcher 1.1.0 [async path] - web_socket_channel 2.4.0 [async crypto stream_channel] - win32 3.1.4 [ffi] - xdg_directories 1.0.0 [meta path process] ```

Stacktrace

Click To Expand ``` [FirebaseRemoteConfig][I-RCN000026] RCN Fetch failure: Error Domain=NSURLErrorDomain Code=-1003 "A server with the specified hostname could not be found." UserInfo={_kCFStreamErrorCodeKey=8, NSUnderlyingError=0x28235abe0 {Error Domain=kCFErrorDomainCFNetwork Code=-1003 "(null)" UserInfo={_NSURLErrorNWPathKey=satisfied (Path is satisfied), interface: en0[802.11], ipv4, dns, _kCFStreamErrorCodeKey=8, _kCFStreamErrorDomainKey=12}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <3BC9EFBA-D8A1-4FB1-94A6-C34D90DB514F>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=( [ ] "LocalDataTask <3BC9EFBA-D8A1-4FB1-94A6-C34D90DB514F>.<1>" [GETX] Instance "ApplicationEntryController" has been created [ ] ), NSLocalizedDescription=A server with the specified hostname could not be found., NSErrorFailingURLStringKey=https://firebaseremoteconfig.googleapis.com/v1/projects/lexmark-mobileone/namespaces/firebase:fetch?key=AIzaSyCv61SJIc3CEp8eG-tRoQFcNuUnKjbZrok, NSErrorFailingURLKey=https://firebaseremoteconfig.googleapis.com/v1/projects/lexmark-mobileone/namespaces/firebase:fetch?key=AIzaSyCv61SJIc3CEp8eG-tRoQFcNuUnKjbZrok, _kCFStreamErrorDomainKey=12}. No cached config result. [GETX] Instance "ApplicationEntryController" has been initialized [ ] 10.7.0 - [FirebaseRemoteConfig][I-RCN000026] RCN Fetch failure. Response http error code: 0 [GETX] Instance "LifecycleService" has been created [GETX] Instance "LifecycleService" has been initialized [ +22 ms] flutter: \^[[38;5;196m┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────<…> [ ] flutter: \^[[38;5;196m│ #0 AppLog.logE (package:mobileone/app/common/utils/app_log.dart:28:13)<…> [ ] flutter: \^[[38;5;196m│ #1 RemoteConfigUtil.init (package:mobileone/app/common/utils/firebase/remote_config_util.dart:28:14)<…> [ ] flutter: \^[[38;5;196m├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄<…> [ ] flutter: \^[[38;5;196m│ 18:27:50.488 (+0:00:00.102872)<…> [ ] flutter: \^[[38;5;196m├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄<…> [ ] flutter: \^[[38;5;196m│ ⛔ [firebase_remote_config/internal] A server with the specified hostname could not be found.<…> [ ] flutter: \^[[38;5;196m└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────<…> [ ] flutter: \^[[38;5;196m┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────<…> [ ] flutter: \^[[38;5;196m│ #0 AppLog.logE (package:mobileone/app/common/utils/app_log.dart:34:15)<…> [ ] flutter: \^[[38;5;196m│ #1 RemoteConfigUtil.init (package:mobileone/app/common/utils/firebase/remote_config_util.dart:28:14)<…> [ ] flutter: \^[[38;5;196m├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄<…> [ ] flutter: \^[[38;5;196m│ 18:27:50.489 (+0:00:00.104200)<…> [ ] flutter: \^[[38;5;196m├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄<…> [ ] flutter: \^[[38;5;196m│ ⛔ [firebase_remote_config/internal] A server with the specified hostname could not be found.<…> [ ] flutter: \^[[38;5;196m└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────<…> ```

danagbemava-nc commented 1 year ago

There was a similar issue in the past which was reportedly fixed, but it seems like a new error is popping up. Older issue https://github.com/firebase/flutterfire/issues/6196

I attempted to use the steps in https://github.com/firebase/flutterfire/issues/6196#issuecomment-848830488 but I couldn't reproduce it.

Labeling for further investigation.

cc @russellwheatley

raghavsatyadev commented 1 year ago

Is there any update for this issue?

russellwheatley commented 1 year ago

The exception is "A server with the specified hostname could not be found".

Could be no internet or it could be that you haven't enabled remote config API on Google Cloud Platform. I would rule those out first.

raghavsatyadev commented 1 year ago

Internet check - checked multiple times in multiple locations (different cities) and devices GCP enable - it is enabled

raghavsatyadev commented 1 year ago

Please provide a new release with a fix. The latest version also has the same issue. Our app is not working because of this issue from 2 weeks

google-oss-bot commented 1 year ago

Hey @raghavsatyadev. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

raghavsatyadev commented 1 year ago

I have already replied to this issue and provided information 7 days ago. This issue must not be closed

russellwheatley commented 1 year ago

Could you provide a reproduction, please?

raghavsatyadev commented 1 year ago

Here's the github repo for the repro code

https://github.com/raghavsatyadev/replicate

@russellwheatley

raghavsatyadev commented 1 year ago

Any solution for this? been 3 weeks

ewertonls commented 1 year ago

i'm facing similar issues. but i also get sometimes [firebase_remote_config/internal] cancelled.

Seems to be something with remote config ^4.2.0, downgrading to 4.0.0 got my app working again on iOS

the issue never happens on android

update: downgrading fixed the issue temporarily, but it came back afterwards. same error and the fetch future never completes

rkpontes commented 1 year ago

I'm going through the same error, not even going back to the version solves it.

loic-hamdi commented 1 year ago

Getting the same [firebase_remote_config/internal] cancelled error message after resuming the app that has been on background for quite a moment

iliosana commented 10 months ago

This comment in issue #6196 solved the problem for me, more precisely:

Awaiting RemoteConfig.instance.setConfigSettings before calling RemoteConfig.instance.fetchAndActivate solved my issue.

TarekkMA commented 3 months ago

Hello @raghavsatyadev,

Thank you for your report! Since this issue was opened, the implementation details have changed significantly. If you feel that this issue is still relevant, please feel free to open a new issue with updated context. We appreciate your understanding and support.