flutter-ml / google_ml_kit_flutter

A flutter plugin that implements Google's standalone ML Kit
MIT License
991 stars 747 forks source link

Every ten seconds, it will be affected #710

Open simanlx opened 1 month ago

simanlx commented 1 month ago

Describe your issue. If applicable, add screenshots to help explain your problem.

Every ten seconds, it will be affected

Steps to reproduce.

The selected imageFormatGroup is not supported by iOS. Defaulting to brga8888 Task .<3> finished with error [-1001] Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={_kCFStreamErrorCodeKey=-2102, NSUnderlyingError=0x281eb3570 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask .<3>, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalDataTask .<3>" ), NSLocalizedDescription=The request timed out., NSErrorFailingURLStringKey=https://www.googleapis.com/experimentsandconfigs/v1/getExperimentsAndConfigs, NSErrorFailingURLKey=https://www.googleapis.com/experimentsandconfigs/v1/getExperimentsAndConfigs, _kCFStreamErrorDomainKey=4} [unspecified] container_create_or_lookup_app_group_path_by_app_group_identifier: client is not entitled [] -[MLKITx_GIPPseudonymousIDStore initializeStorage]: Shared App Groups unavailable [VERBOSE-2:profiler_metricsios.mm(203)] Error retrieving thread information: (os/kern) invalid argument [BackgroundTask] Background Task 66 ("GTMSessionFetcher-www.googleapis.com"), was created over 30 seconds ago. In applications running in the background, this creates a risk of termination. Remember to call UIApplication.endBackgroundTask(:) for your task in a timely manner to avoid this. Task <98A66F48-88E0-420B-860E-BDB3268DB804>.<4> finished with error [-1001] Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={_kCFStreamErrorCodeKey=-2102, NSUnderlyingError=0x281e015f0 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <98A66F48-88E0-420B-860E-BDB3268DB804>.<4>, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalDataTask <98A66F48-88E0-420B-860E-BDB3268DB804>.<4>" ), NSLocalizedDescription=The request timed out., NSErrorFailingURLStringKey=https://www.googleapis.com/experimentsandconfigs/v1/getExperimentsAndConfigs, NSErrorFailingURLKey=https://www.googleapis.com/experimentsandconfigs/v1/getExperimentsAndConfigs, _kCFStreamErrorDomainKey=4} [unspecified] container_create_or_lookup_app_group_path_by_app_group_identifier: client is not entitled [] -[MLKITxGIPPseudonymousIDStore initializeStorage]: Shared App Groups unavailable [BackgroundTask] Background Task 75 ("GTMSessionFetcher-www.googleapis.com"), was created over 30 seconds ago. In applications running in the background, this creates a risk of termination. Remember to call UIApplication.endBackgroundTask(:) for your task in a timely manner to avoid this. Task <412442C6-5BF5-4F9D-9223-E3AC472555C2>.<5> finished with error [-1001] Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={_kCFStreamErrorCodeKey=-2102, NSUnderlyingError=0x281e8e1f0 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <412442C6-5BF5-4F9D-9223-E3AC472555C2>.<5>, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalDataTask <412442C6-5BF5-4F9D-9223-E3AC472555C2>.<5>" ), NSLocalizedDescription=The request timed out., NSErrorFailingURLStringKey=https://www.googleapis.com/experimentsandconfigs/v1/getExperimentsAndConfigs, NSErrorFailingURLKey=https://www.googleapis.com/experimentsandconfigs/v1/getExperimentsAndConfigs, _kCFStreamErrorDomainKey=4} [unspecified] container_create_or_lookup_app_group_path_by_app_group_identifier: client is not entitled [] -[MLKITxGIPPseudonymousIDStore initializeStorage]: Shared App Groups unavailable [BackgroundTask] Background Task 84 ("GTMSessionFetcher-www.googleapis.com"), was created over 30 seconds ago. In applications running in the background, this creates a risk of termination. Remember to call UIApplication.endBackgroundTask(:) for your task in a timely manner to avoid this. Task <18787C0A-B6DC-4D97-A16C-F9989BD00684>.<6> finished with error [-1001] Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={_kCFStreamErrorCodeKey=-2102, NSUnderlyingError=0x281e8de90 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <18787C0A-B6DC-4D97-A16C-F9989BD00684>.<6>, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalDataTask <18787C0A-B6DC-4D97-A16C-F9989BD00684>.<6>" ), NSLocalizedDescription=The request timed out., NSErrorFailingURLStringKey=https://www.googleapis.com/experimentsandconfigs/v1/getExperimentsAndConfigs, NSErrorFailingURLKey=https://www.googleapis.com/experimentsandconfigs/v1/getExperimentsAndConfigs, _kCFStreamErrorDomainKey=4}

What is the expected result?

Every ten seconds, it will be affected

Did you try our example app?

Yes

Is it reproducible in the example app?

Yes

Reproducible in which OS?

iOS

Flutter/Dart Version?

3.12

Plugin Version?

0.10+

github-actions[bot] commented 2 days ago

This issue is stale because it has been open for 30 days with no activity.