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.46k stars 3.91k forks source link

πŸ› [firebase_storage] Unable to upload images on iOS 14+ #5976

Closed Wian-TMC closed 2 years ago

Wian-TMC commented 3 years ago

Bug report

Describe the bug When uploading a file using UploadTask task = FirebaseStorage.instance.ref('Your reference').putFile(File file) on iOS 14 I get the message "BackgroundSession <7D713C0B-93C0-4B46-952E-7519FB15A8BF> connection to background transfer daemon invalidated", resulting in the Future hanging and never uploading the file. Adding a listener on the UploadTask also does not seem to provide any output. Awaiting for the UploadTask to finish just hangs without ever resolving or throwing an error.

This seems to be an iOS issue, as it works perfectly fine on Android

Steps to reproduce

On an iOS 14+ device, try uploading a File to Firebase Storage using UploadTask task = FirebaseStorage.instance.ref('Your reference').putFile(File file) successfully.

Steps to reproduce the behavior:

  1. Try uploading a File to Firebase Storage using UploadTask task = FirebaseStorage.instance.ref('Your reference').putFile(File file)
  2. Await for the UploadTask to finish -> await task
  3. See debug console for "BackgroundSession <7D713C0B-93C0-4B46-952E-7519FB15A8BF> connection to background transfer daemon invalidated" message
  4. Wait forever for the UploadTask to never finish

Expected behavior

The UploadTask should either complete, or throw an error


Additional context

I am using the camera ^0.8.1 package to obtain an image from the camera. The package returns the File in XFile format, which I then convert to a normal File using final file = File('path to XFile location') before trying to upload the file to firebase storage.


Flutter doctor

Run flutter doctor and paste the output below:

Click To Expand ``` [βœ“] Flutter (Channel stable, 2.0.5, on Mac OS X 10.15.7 19H15 darwin-x64, locale en-ZA) [βœ“] Android toolchain - develop for Android devices (Android SDK version 30.0.2) [βœ“] Xcode - develop for iOS and macOS [βœ“] Chrome - develop for the web [βœ“] Android Studio (version 4.0) [βœ“] VS Code (version 1.55.2) [βœ“] Connected device (3 available) ```

Flutter dependencies

Run flutter pub deps -- --style=compact and paste the output below:

Click To Expand ``` Dart SDK 2.12.3 Flutter SDK 2.0.5 hero 1.0.2+3 dependencies: - background_locator 1.6.0+1-beta [flutter] - camera 0.8.1 [flutter camera_platform_interface pedantic quiver] - carousel_slider 3.0.0 [flutter] - cupertino_icons 1.0.2 - dart_date 1.1.0-nullsafety.0 [intl timeago] - firebase_auth 1.0.1 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta] - firebase_core 1.1.0 [firebase_core_platform_interface firebase_core_web flutter meta] - firebase_database 6.1.0 [flutter firebase_core] - firebase_messaging 9.1.1 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta] - firebase_storage 8.0.5 [firebase_core firebase_core_platform_interface firebase_storage_platform_interface firebase_storage_web flutter] - flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine] - flutter_polyline_points 0.2.6 [flutter http] - geolocator 7.0.1 [flutter geolocator_platform_interface geolocator_web] - google_maps_flutter 2.0.1 [flutter flutter_plugin_android_lifecycle google_maps_flutter_platform_interface] - http 0.13.0 [http_parser meta path pedantic] - intl 0.17.0 [clock path] - location_permissions 3.0.0+1 [flutter meta] - map_launcher 2.0.0 [flutter] - oktoast 3.0.0 [flutter] - overlay_support 1.2.1 [flutter async] - photo_view 0.11.1 [flutter] - provider 5.0.0 [collection flutter nested] - queue 2.0.7+2 - retry 3.1.0 - shared_preferences 2.0.5 [meta flutter shared_preferences_platform_interface shared_preferences_linux shared_preferences_macos shared_preferences_web shared_preferences_windows] - syncfusion_flutter_calendar 19.1.55 [flutter timezone syncfusion_flutter_core syncfusion_flutter_datepicker intl] dev dependencies: - flutter_launcher_icons 0.7.5 [image args yaml] - flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data] transitive dependencies: - archive 2.0.13 [crypto args path] - args 1.6.0 - async 2.5.0 [collection] - boolean_selector 2.1.0 [source_span string_scanner] - camera_platform_interface 2.0.1 [flutter meta plugin_platform_interface cross_file stream_transform] - characters 1.1.0 - charcode 1.2.0 - clock 1.1.0 - collection 1.15.0 - convert 2.1.1 [charcode typed_data] - cross_file 0.3.1+1 [flutter meta] - crypto 2.1.5 [collection convert typed_data] - fake_async 1.2.0 [clock collection] - ffi 1.0.0 - file 6.1.0 [meta path] - firebase_auth_platform_interface 4.0.0 [firebase_core flutter meta plugin_platform_interface] - firebase_auth_web 1.0.2 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser intl js meta] - firebase_core_platform_interface 4.0.0 [flutter meta plugin_platform_interface] - firebase_core_web 1.0.2 [firebase_core_platform_interface flutter flutter_web_plugins js meta] - firebase_messaging_platform_interface 2.1.1 [firebase_core flutter meta plugin_platform_interface] - firebase_messaging_web 1.0.4 [firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta] - firebase_storage_platform_interface 2.0.3 [collection firebase_core flutter meta plugin_platform_interface] - firebase_storage_web 1.0.5 [async firebase_core firebase_core_web firebase_storage_platform_interface flutter flutter_web_plugins http js meta] - flutter_plugin_android_lifecycle 2.0.0 [flutter] - flutter_web_plugins 0.0.0 [flutter js characters collection meta typed_data vector_math] - geolocator_platform_interface 2.0.0 [flutter plugin_platform_interface vector_math meta] - geolocator_web 2.0.1 [flutter flutter_web_plugins geolocator_platform_interface] - google_maps_flutter_platform_interface 2.0.1 [flutter meta plugin_platform_interface stream_transform collection] - http_parser 4.0.0 [charcode collection source_span string_scanner typed_data] - image 2.1.19 [archive xml meta] - js 0.6.3 - matcher 0.12.10 [stack_trace] - meta 1.3.0 - nested 1.0.0 [flutter] - path 1.8.0 - path_provider_linux 2.0.0 [path xdg_directories path_provider_platform_interface flutter] - path_provider_platform_interface 2.0.1 [flutter meta platform plugin_platform_interface] - path_provider_windows 2.0.0 [path_provider_platform_interface meta path flutter ffi win32] - pedantic 1.11.0 - petitparser 3.1.0 [meta] - platform 3.0.0 - plugin_platform_interface 2.0.0 [meta] - process 4.2.1 [file path platform] - quiver 3.0.0 [matcher] - shared_preferences_linux 2.0.0 [flutter file meta path path_provider_linux shared_preferences_platform_interface] - shared_preferences_macos 2.0.0 [shared_preferences_platform_interface flutter] - shared_preferences_platform_interface 2.0.0 [flutter] - shared_preferences_web 2.0.0 [shared_preferences_platform_interface flutter flutter_web_plugins meta] - shared_preferences_windows 2.0.0 [shared_preferences_platform_interface flutter file meta path path_provider_platform_interface path_provider_windows] - sky_engine 0.0.99 - source_span 1.8.0 [charcode collection path term_glyph] - stack_trace 1.10.0 [path] - stream_channel 2.1.0 [async] - stream_transform 2.0.0 - string_scanner 1.1.0 [charcode source_span] - syncfusion_flutter_core 19.1.55 [vector_math flutter] - syncfusion_flutter_datepicker 19.1.55-beta [flutter intl syncfusion_flutter_core] - term_glyph 1.2.0 - test_api 0.2.19 [async boolean_selector collection meta path source_span stack_trace stream_channel string_scanner term_glyph matcher] - timeago 3.0.2 - timezone 0.7.0-nullsafety.0 [path] - typed_data 1.3.0 [collection] - vector_math 2.1.0 - win32 2.0.5 [ffi] - xdg_directories 0.2.0 [meta path process] - xml 4.5.1 [collection convert meta petitparser] - yaml 2.2.1 [charcode collection string_scanner source_span] ```

markusaksli-nc commented 3 years ago

Hi @Wian-TMC Do you face this issue if you run the official example code? https://github.com/FirebaseExtended/flutterfire/tree/master/packages/firebase_storage/firebase_storage/example/lib

I wasn't able to reproduce this issue with the official example on firebase_storage: ^8.0.5 This message alone isn't really the cause of the issue and is also logged when the upload completes successfully. Thank you

Wian-TMC commented 3 years ago

@markusaksli-nc Will have a look at the example. From a glance, it seems the only difference is how they define a reference to the database using .child() instead of writing the entire reference in .ref().

I'm going to test the official example soon and let you know what I find.

google-oss-bot commented 3 years ago

Hey @Wian-TMC. 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!

Ralph-Li commented 3 years ago

same issue here, no state changed, await the task forever

Wian-TMC commented 3 years ago

@markusaksli-nc I have tested the example app with many variations to try replicate the issue, but I am also unable to do so. This leaves me stumped, as the issue still appears in my app.

@Ralph-Li Could you please send a list of your flutter dependencies flutter pub deps -- --style=compact and the output of your flutter doctor -v so that I can check for similarities as to why this issue appears in our apps?

markusaksli-nc commented 3 years ago

Have you checked the process-related device logs for any error messages about the file IO or transfer?

Wian-TMC commented 3 years ago

@markusaksli-nc Just the general output logs during debug. Are the process-related logs accessed through XCode while the app is running on a device?

Wian-TMC commented 3 years ago

I have noticed one difference though. I imported my info-plist file here:

image

, instead of here:

image

This might seem trivial as all other firebase services work perfectly fine with my current import.

markusaksli-nc commented 3 years ago

You can open up the device logs by searching for the Console app on macos. From there you can get absolutely everything logged by the connected devices. You will need to filter down by the process identifier or look for relevant logs close to your flutter app standard output (found by just searching for flutter).

The logs have a marker for if they are warnings or errors. If you look for these in the device logs it may give some clues as to what could be going wrong. Without relevant logs or an easily reproducible codes sample/steps this will obviously be impossible to fix for both you or us (if this is an issue with the plugin).

Wian-TMC commented 3 years ago

@markusaksli-nc Thanks i'll have a look. Any feedback on the import location for the google-services-plist file?

markusaksli-nc commented 3 years ago

It should not matter and it shouldn't be causing this issue

Wian-TMC commented 3 years ago

Here are the logs of an attempted upload. The name of the file is ryHHP.jpg . The output in BOLD seems to highlight the issue.

   ** ------------------------------ START OF LOGS ---------------------------------**

default 18:05:33.352952+0200 Runner flutter: ryHHP.jpg default 18:05:33.364618+0200 Runner flutter: AWAITING TASK default 18:05:33.371144+0200 Runner Task <132EB61C-8EB0-491A-98A6-F77BCACBB3EE>.<1> resuming, timeouts(600.0, 604800.0) QOS(0x19) Voucher (null) default 18:05:33.371208+0200 Runner [Telemetry]: Activity <nw_activity 12:2 [9672C33F-F653-4752-86C8-2B159DAAB005] (reporting strategy default)> on Task <132EB61C-8EB0-491A-98A6-F77BCACBB3EE>.<1> was not selected for reporting default 18:05:33.371684+0200 Runner Task <132EB61C-8EB0-491A-98A6-F77BCACBB3EE>.<1> {strength 1, tls 8, ct 0, sub 0, sig 0, ciphers 1, bundle 0, builtin 0} default 18:05:33.372108+0200 Runner Connection 7: enabling TLS default 18:05:33.372137+0200 Runner Connection 7: starting, TC(0x0) default 18:05:33.372186+0200 Runner [C7 9A817A57-E7A1-42CB-B6F9-C20672F916EA firebasestorage.googleapis.com:443 tcp, url hash: 8fd26dfb, tls, context: com.apple.CFNetwork.NSURLSession.{3533F643-7EF8-4310-B4FD-B4AD387D7E8D}{(null)}{Y}{2}, proc: D4F6DC8D-C35F-363F-B129-BC1854BF110F] start default 18:05:33.372275+0200 Runner [C7 firebasestorage.googleapis.com:443 initial path ((null))] event: path:start @0.000s default 18:05:33.372637+0200 Runner [C7 firebasestorage.googleapis.com:443 waiting path (satisfied (Path is satisfied), interface: en0)] event: path:satisfied @0.000s, uuid: 2D329D5B-9338-4897-B11A-A6EF542025CA default 18:05:33.373182+0200 Runner [C7 firebasestorage.googleapis.com:443 in_progress resolver (satisfied (Path is satisfied), interface: en0)] event: resolver:start_dns @0.000s default 18:05:33.373214+0200 Runner nw_connection_report_state_with_handler_on_nw_queue [C7] reporting state preparing default 18:05:33.374154+0200 Runner Task <132EB61C-8EB0-491A-98A6-F77BCACBB3EE>.<1> setting up Connection 7 default 18:05:33.375109+0200 Runner [C7 firebasestorage.googleapis.com:443 in_progress resolver (satisfied (Path is satisfied), interface: en0)] event: resolver:receive_dns @0.002s default 18:05:33.375206+0200 Runner [C7.1 172.217.170.74:443 initial path ((null))] event: path:start @0.002s default 18:05:33.375469+0200 Runner [C7.1 172.217.170.74:443 waiting path (satisfied (Path is satisfied), interface: en0)] event: path:satisfied @0.003s, uuid: BF7F236F-FA22-4038-BB19-634CF6779362 default 18:05:33.376008+0200 Runner [C7.1 172.217.170.74:443 in_progress socket-flow (satisfied (Path is satisfied), interface: en0)] event: flow:start_connect @0.003s default 18:05:33.377696+0200 Runner [C7 firebasestorage.googleapis.com:443 in_progress resolver (satisfied (Path is satisfied), interface: en0)] event: resolver:receive_dns @0.005s default 18:05:33.381535+0200 Runner nw_socket_handle_socket_event [C7.1:3] Socket received CONNECTED event default 18:05:33.381798+0200 Runner nw_flow_connected [C7.1 172.217.170.74:443 in_progress socket-flow (satisfied (Path is satisfied), interface: en0)] Transport protocol connected default 18:05:33.381946+0200 Runner [C7.1 172.217.170.74:443 in_progress socket-flow (satisfied (Path is satisfied), interface: en0)] event: flow:finish_transport @0.009s default 18:05:33.382057+0200 Runner [C7 firebasestorage.googleapis.com:443 in_progress resolver (satisfied (Path is satisfied), interface: en0)] event: flow:finish_transport @0.009s default 18:05:33.382778+0200 Runner boringssl_session_apply_protocol_options_for_transport_block_invoke(1689) [C7.1:2][0x7fe612e15c40] TLS configured [min_version(0x0303) max_version(0x0304) name() tickets(false) false_start(false) enforce_ev(false) enforce_ats(false)] default 18:05:33.382987+0200 Runner boringssl_context_info_handler(1821) [C7.1:2][0x7fe612e15c40] Client handshake started default 18:05:33.383483+0200 Runner boringssl_context_info_handler(1836) [C7.1:2][0x7fe612e15c40] Client handshake state: TLS client enter_early_data default 18:05:33.383594+0200 Runner boringssl_context_info_handler(1836) [C7.1:2][0x7fe612e15c40] Client handshake state: TLS client read_server_hello default 18:05:33.552262+0200 Runner boringssl_context_info_handler(1836) [C7.1:2][0x7fe612e15c40] Client handshake state: TLS 1.3 client read_hello_retry_request default 18:05:33.552364+0200 Runner boringssl_context_info_handler(1836) [C7.1:2][0x7fe612e15c40] Client handshake state: TLS 1.3 client read_server_hello default 18:05:33.552609+0200 Runner boringssl_context_info_handler(1836) [C7.1:2][0x7fe612e15c40] Client handshake state: TLS 1.3 client read_encrypted_extensions default 18:05:33.552705+0200 Runner boringssl_context_info_handler(1836) [C7.1:2][0x7fe612e15c40] Client handshake state: TLS 1.3 client read_certificate_request default 18:05:33.552750+0200 Runner boringssl_context_info_handler(1836) [C7.1:2][0x7fe612e15c40] Client handshake state: TLS 1.3 client read_server_certificate default 18:05:33.552814+0200 Runner boringssl_context_info_handler(1836) [C7.1:2][0x7fe612e15c40] Client handshake state: TLS 1.3 client read_server_certificate_verify default 18:05:33.553035+0200 Runner boringssl_context_evaluate_trust_async(1510) [C7.1:2][0x7fe612e15c40] Performing external trust evaluation default 18:05:33.553277+0200 Runner boringssl_context_evaluate_trust_async_external(1495) [C7.1:2][0x7fe612e15c40] Asyncing for external verify block default 18:05:33.553492+0200 Runner Connection 7: asked to evaluate TLS Trust default 18:05:33.557954+0200 Runner Task <132EB61C-8EB0-491A-98A6-F77BCACBB3EE>.<1> auth completion disp=0 cred=0x600003887750 default 18:05:33.561685+0200 Runner System Trust Evaluation yielded status(0) default 18:05:33.561811+0200 Runner Connection 7: TLS Trust result 0 default 18:05:33.561896+0200 Runner boringssl_context_evaluate_trust_async_external_block_invoke_3(1451) [C7.1:2][0x7fe612e15c40] Returning from external verify block with result: true default 18:05:33.562016+0200 Runner boringssl_context_certificate_verify_callback(1609) [C7.1:2][0x7fe612e15c40] Certificate verification result: OK default 18:05:33.562536+0200 Runner boringssl_context_info_handler(1836) [C7.1:2][0x7fe612e15c40] Client handshake state: TLS 1.3 client read_server_finished default 18:05:33.562695+0200 Runner boringssl_context_info_handler(1836) [C7.1:2][0x7fe612e15c40] Client handshake state: TLS 1.3 client send_end_of_early_data default 18:05:33.562769+0200 Runner boringssl_context_info_handler(1836) [C7.1:2][0x7fe612e15c40] Client handshake state: TLS 1.3 client send_client_certificate default 18:05:33.562805+0200 Runner boringssl_context_info_handler(1836) [C7.1:2][0x7fe612e15c40] Client handshake state: TLS 1.3 client complete_second_flight default 18:05:33.562899+0200 Runner boringssl_context_info_handler(1836) [C7.1:2][0x7fe612e15c40] Client handshake state: TLS 1.3 client done default 18:05:33.562993+0200 Runner boringssl_context_info_handler(1836) [C7.1:2][0x7fe612e15c40] Client handshake state: TLS client finish_client_handshake default 18:05:33.563040+0200 Runner boringssl_context_info_handler(1836) [C7.1:2][0x7fe612e15c40] Client handshake state: TLS client done default 18:05:33.563072+0200 Runner boringssl_context_info_handler(1826) [C7.1:2][0x7fe612e15c40] Client handshake done default 18:05:33.563442+0200 Runner nw_protocol_boringssl_signal_connected(728) [C7.1:2][0x7fe612e15c40] TLS connected [version(0x0304) ciphersuite(TLS_AES_128_GCM_SHA256) group(0x001d) signature_alg(0x0403) alpn(h2) resumed(0) offered_ticket(0) false_started(0) ocsp_received(0) sct_received(0) connect_time(181ms) flight_time(169ms) rtt(84ms) write_stalls(0) read_stalls(2)] default 18:05:33.563615+0200 Runner nw_flow_connected [C7.1 172.217.170.74:443 in_progress socket-flow (satisfied (Path is satisfied), interface: en0)] Output protocol connected default 18:05:33.564202+0200 Runner [C7.1 172.217.170.74:443 ready socket-flow (satisfied (Path is satisfied), interface: en0)] event: flow:finish_connect @0.191s default 18:05:33.564968+0200 Runner nw_connection_report_state_with_handler_on_nw_queue [C7] reporting state ready default 18:05:33.565388+0200 Runner [C7 firebasestorage.googleapis.com:443 ready resolver (satisfied (Path is satisfied), interface: en0)] event: flow:finish_connect @0.193s default 18:05:33.565491+0200 Runner [C7.1 172.217.170.74:443 ready socket-flow (satisfied (Path is satisfied), interface: en0)] event: flow:changed_viability @0.193s default 18:05:33.565722+0200 Runner [C7 firebasestorage.googleapis.com:443 ready resolver (satisfied (Path is satisfied), interface: en0)] event: flow:changed_viability @0.193s default 18:05:33.566102+0200 Runner Connection 7: connected successfully default 18:05:33.566199+0200 Runner Connection 7: TLS handshake complete default 18:05:33.566453+0200 Runner Connection 7: ready C(N) E(N) default 18:05:33.566767+0200 Runner Task <132EB61C-8EB0-491A-98A6-F77BCACBB3EE>.<1> now using Connection 7 default 18:05:33.566822+0200 Runner Connection 7: received viability advisory(Y) default 18:05:33.567157+0200 Runner Task <132EB61C-8EB0-491A-98A6-F77BCACBB3EE>.<1> sent request, body S 96 default 18:05:33.802529+0200 Runner Task <132EB61C-8EB0-491A-98A6-F77BCACBB3EE>.<1> received response, status 200 content K default 18:05:33.802767+0200 Runner Task <132EB61C-8EB0-491A-98A6-F77BCACBB3EE>.<1> done using Connection 7 default 18:05:33.803061+0200 Runner Task <132EB61C-8EB0-491A-98A6-F77BCACBB3EE>.<1> response ended default 18:05:33.803150+0200 Runner Task <132EB61C-8EB0-491A-98A6-F77BCACBB3EE>.<1> summary for task success {transaction_duration_ms=431, response_status=200, connection=7, protocol="h2", domain_lookup_duration_ms=2, connect_duration_ms=188, secure_connection_duration_ms=181, request_start_ms=195, request_duration_ms=0, response_start_ms=430, response_duration_ms=0, request_bytes=1305, response_bytes=900, cache_hit=0} default 18:05:33.803618+0200 Runner Task <132EB61C-8EB0-491A-98A6-F77BCACBB3EE>.<1> finished successfully

**------------------- POSSIBLE START OF ERROR LOG ----------------------**

default 18:05:33.808366+0200 Runner BackgroundSession background session setup will wait for reply: session <__NSURLBackgroundSession: 0x7fe61284b780> with identifier com.google.GTMSessionFetcher791F0F2E-5EBB-4749-99DD-A775B1237463{"_uploadMIME":"image\/jpeg","_upChSize":9223372036854775807,"_upFileLen":1476387,"_upFileURL":"file:\/\/\/Users\/wiansnyman\/Library\/Developer\/CoreSimulator\/Devices\/D7139BBB-932D-46F7-8E4C-394571170E2E\/data\/Containers\/Data\/Application\/C11D7301-B07A-4B0D-BD84-8AD5B933B226\/tmp\/image_picker_9200624C-2A5B-426C-A999-AB91C9ED69F0-80345-00002E015BCA2FA7.jpg","_upChunk":true,"_upAllowsCellularAccess":true,"_upOffset":0,"_upLocURL":"https:\/\/firebasestorage.googleapis.com\/v0\/b\/get-tod.appspot.com\/o\/beforeImages<decode: mismatch for [%2F] got [OBJECT public sz:37]>14c7adb57948445eb8d4f2662e1f9f2c<decode: mismatch for [%2F] got [OBJECT sz:43]>ryHHP.jpg?uploadType=resumable&name=beforeImages<decode: mismatch for [%2F] got [OBJECT sz:855]>14c7adb57948445eb8d4f2662e1f9f2cryHHP.jpg&upload_id=ABg5-Uwz_ZtzHlFczl52-mgThMai72sRgmzWxbUvbPf8EKXbGOgr1hmFP1neUPi422zadl1BlghCr4Wsl9QATLySFVA&upload_protocol=resumable"} default 18:05:33.883604+0200 Runner BackgroundSession background session setup reply received: session <__NSURLBackgroundSession: 0x7fe61284b780> with identifier com.google.GTMSessionFetcher791F0F2E-5EBB-4749-99DD-A775B1237463{"_uploadMIME":"image\/jpeg","_upChSize":9223372036854775807,"_upFileLen":1476387,"_upFileURL":"file:\/\/\/Users\/wiansnyman\/Library\/Developer\/CoreSimulator\/Devices\/D7139BBB-932D-46F7-8E4C-394571170E2E\/data\/Containers\/Data\/Application\/C11D7301-B07A-4B0D-BD84-8AD5B933B226\/tmp\/image_picker_9200624C-2A5B-426C-A999-AB91C9ED69F0-80345-00002E015BCA2FA7.jpg","_upChunk":true,"_upAllowsCellularAccess":true,"_upOffset":0,"_upLocURL":"https:\/\/firebasestorage.googleapis.com\/v0\/b\/get-tod.appspot.com\/o\/beforeImages<decode: mismatch for [%2F] got [OBJECT public sz:37]>14c7adb57948445eb8d4f2662e1f9f2c<decode: mismatch for [%2F] got [OBJECT sz:43]>ryHHP.jpg?uploadType=resumable&name=beforeImages<decode: mismatch for [%2F] got [OBJECT sz:855]>14c7adb57948445eb8d4f2662e1f9f2cryHHP.jpg&upload_id=ABg5-Uwz_ZtzHlFczl52-mgThMai72sRgmzWxbUvbPf8EKXbGOgr1hmFP1neUPi422zadl1BlghCr4Wsl9QATLySFVA&upload_protocol=resumable"} default 18:05:33.883703+0200 Runner BackgroundSession background session setup complete

    **------------------------ POSSIBLE END OF ERROR LOG --------------------------**

default 18:05:33.894467+0200 Runner Task <3764494D-C1FA-4533-981C-7953BD671B86>.<1> resuming, timeouts(600.0, 604800.0) QOS(0x19) Voucher (null) default 18:05:33.894557+0200 Runner [Telemetry]: Activity <nw_activity 12:3 [482BB6B8-4909-4A03-96AA-0C64A1A2CB59] (reporting strategy default)> on Task <3764494D-C1FA-4533-981C-7953BD671B86>.<1> was not selected for reporting default 18:05:36.015785+0200 Runner Task <3764494D-C1FA-4533-981C-7953BD671B86>.<1> finished successfully error 18:05:36.027266+0200 Runner BackgroundSession connection to background transfer daemon invalidated default 18:05:49.588840+0200 Runner Connection 5: is being canceled default 18:05:49.588946+0200 Runner [C5 13952761-0964-44A7-B5D3-4759756F19A5 clients4.google.com:443 tcp, url hash: 1128366a, tls] cancel default 18:05:49.589073+0200 Runner [C5 13952761-0964-44A7-B5D3-4759756F19A5 clients4.google.com:443 tcp, url hash: 1128366a, tls] cancelled [C5.1 33582EDB-B6A7-40CE-A54C-04F090902EDE 192.168.0.177:56222<->172.217.170.46:443] Connected Path: satisfied (Path is satisfied), viable, interface: en0 Duration: 66.448s, DNS @0.009s took 0.006s, TCP @0.019s took 0.006s, TLS 1.3 took 0.189s bytes in/out: 6756/2249, packets in/out: 13/13, rtt: 0.006s, retransmitted bytes: 0, out-of-order bytes: 0 default 18:05:49.589541+0200 Runner nw_flow_disconnected [C5.1 172.217.170.46:443 cancelled socket-flow ((null))] Output protocol disconnected default 18:05:49.589962+0200 Runner nw_connection_report_state_with_handler_on_nw_queue [C5] reporting state cancelled default 18:05:54.003237+0200 Runner "The connection to ACDAccountStore was invalidated." default 18:06:38.273988+0200 Runner Connection 7: is being canceled default 18:06:38.274209+0200 Runner [C7 9A817A57-E7A1-42CB-B6F9-C20672F916EA firebasestorage.googleapis.com:443 tcp, url hash: 8fd26dfb, tls] cancel default 18:06:38.274455+0200 Runner [C7 9A817A57-E7A1-42CB-B6F9-C20672F916EA firebasestorage.googleapis.com:443 tcp, url hash: 8fd26dfb, tls] cancelled [C7.1 BF7F236F-FA22-4038-BB19-634CF6779362 192.168.0.177:56277<->172.217.170.74:443] Connected Path: satisfied (Path is satisfied), viable, interface: en0 Duration: 64.902s, DNS @0.000s took 0.002s, TCP @0.003s took 0.006s, TLS 1.3 took 0.182s bytes in/out: 4622/2163, packets in/out: 8/10, rtt: 0.008s, retransmitted bytes: 0, out-of-order bytes: 0 default 18:06:38.276602+0200 Runner nw_flow_disconnected [C7.1 172.217.170.74:443 cancelled socket-flow ((null))] Output protocol disconnected default 18:06:38.276853+0200 Runner nw_connection_report_state_with_handler_on_nw_queue [C7] reporting state cancelled default 18:19:43.019372+0200 Runner Task <448BFA53-B08E-4653-86FE-E6F25AFC73F2>.<1> resuming, timeouts(60.0, 604800.0) QOS(0x19) Voucher (null) default 18:19:43.019501+0200 Runner [Telemetry]: Activity <nw_activity 12:2 [8D23FA35-70C1-447A-B27A-6847255011DC] (reporting strategy default)> on Task <448BFA53-B08E-4653-86FE-E6F25AFC73F2>.<1> was not selected for reporting default 18:19:43.020291+0200 Runner Task <448BFA53-B08E-4653-86FE-E6F25AFC73F2>.<1> {strength 1, tls 8, ct 0, sub 0, sig 0, ciphers 1, bundle 0, builtin 0} default 18:19:43.021194+0200 Runner Connection 8: enabling TLS default 18:19:43.021231+0200 Runner Connection 8: starting, TC(0x0) default 18:19:43.021281+0200 Runner [C8 FBCCCA68-97E9-42D0-8FFA-6F5ECBF47290 play.googleapis.com:443 tcp, url hash: 0d4e4098, tls, context: com.apple.CFNetwork.NSURLSession.{5710EE58-9D1D-4F91-97B7-15177AA3FDD7}{(null)}{Y}{2}, proc: D4F6DC8D-C35F-363F-B129-BC1854BF110F] start default 18:19:43.021348+0200 Runner [C8 play.googleapis.com:443 initial path ((null))] event: path:start @0.000s default 18:19:43.021823+0200 Runner [C8 play.googleapis.com:443 waiting path (satisfied (Path is satisfied), interface: en0)] event: path:satisfied @0.000s, uuid: 7A25AFDA-CBFB-4C1F-8306-3B74267583A6 default 18:19:43.022360+0200 Runner [C8 play.googleapis.com:443 in_progress resolver (satisfied (Path is satisfied), interface: en0)] event: resolver:start_dns @0.001s default 18:19:43.022423+0200 Runner nw_connection_report_state_with_handler_on_nw_queue [C8] reporting state preparing default 18:19:43.023279+0200 Runner Task <448BFA53-B08E-4653-86FE-E6F25AFC73F2>.<1> setting up Connection 8 default 18:19:43.039918+0200 Runner [C8 play.googleapis.com:443 in_progress resolver (satisfied (Path is satisfied), interface: en0)] event: resolver:receive_dns @0.018s default 18:19:43.040460+0200 Runner [C8.1 172.217.170.10:443 initial path ((null))] event: path:start @0.019s default 18:19:43.041043+0200 Runner [C8.1 172.217.170.10:443 waiting path (satisfied (Path is satisfied), interface: en0)] event: path:satisfied @0.019s, uuid: ABA56AA6-0309-45CD-9554-B2BC15E55A84 default 18:19:43.042407+0200 Runner [C8.1 172.217.170.10:443 in_progress socket-flow (satisfied (Path is satisfied), interface: en0)] event: flow:start_connect @0.021s default 18:19:43.047939+0200 Runner nw_socket_handle_socket_event [C8.1:3] Socket received CONNECTED event default 18:19:43.048455+0200 Runner nw_flow_connected [C8.1 172.217.170.10:443 in_progress socket-flow (satisfied (Path is satisfied), interface: en0)] Transport protocol connected default 18:19:43.048607+0200 Runner [C8.1 172.217.170.10:443 in_progress socket-flow (satisfied (Path is satisfied), interface: en0)] event: flow:finish_transport @0.027s default 18:19:43.048728+0200 Runner [C8 play.googleapis.com:443 in_progress resolver (satisfied (Path is satisfied), interface: en0)] event: flow:finish_transport @0.027s default 18:19:43.049413+0200 Runner boringssl_session_apply_protocol_options_for_transport_block_invoke(1689) [C8.1:2][0x7fe60ff4c6d0] TLS configured [min_version(0x0303) max_version(0x0304) name() tickets(false) false_start(false) enforce_ev(false) enforce_ats(false)] default 18:19:43.049695+0200 Runner boringssl_context_info_handler(1821) [C8.1:2][0x7fe60ff4c6d0] Client handshake started default 18:19:43.049994+0200 Runner boringssl_context_info_handler(1836) [C8.1:2][0x7fe60ff4c6d0] Client handshake state: TLS client enter_early_data default 18:19:43.050261+0200 Runner boringssl_context_info_handler(1836) [C8.1:2][0x7fe60ff4c6d0] Client handshake state: TLS client read_server_hello default 18:19:43.223901+0200 Runner boringssl_context_info_handler(1836) [C8.1:2][0x7fe60ff4c6d0] Client handshake state: TLS 1.3 client read_hello_retry_request default 18:19:43.223989+0200 Runner boringssl_context_info_handler(1836) [C8.1:2][0x7fe60ff4c6d0] Client handshake state: TLS 1.3 client read_server_hello default 18:19:43.224246+0200 Runner boringssl_context_info_handler(1836) [C8.1:2][0x7fe60ff4c6d0] Client handshake state: TLS 1.3 client read_encrypted_extensions default 18:19:43.224299+0200 Runner boringssl_context_info_handler(1836) [C8.1:2][0x7fe60ff4c6d0] Client handshake state: TLS 1.3 client read_certificate_request default 18:19:43.224339+0200 Runner boringssl_context_info_handler(1836) [C8.1:2][0x7fe60ff4c6d0] Client handshake state: TLS 1.3 client read_server_certificate default 18:19:43.224396+0200 Runner boringssl_context_info_handler(1836) [C8.1:2][0x7fe60ff4c6d0] Client handshake state: TLS 1.3 client read_server_certificate_verify default 18:19:43.224513+0200 Runner boringssl_context_evaluate_trust_async(1510) [C8.1:2][0x7fe60ff4c6d0] Performing external trust evaluation default 18:19:43.224668+0200 Runner boringssl_context_evaluate_trust_async_external(1495) [C8.1:2][0x7fe60ff4c6d0] Asyncing for external verify block default 18:19:43.224780+0200 Runner Connection 8: asked to evaluate TLS Trust default 18:19:43.239622+0200 Runner Task <448BFA53-B08E-4653-86FE-E6F25AFC73F2>.<1> auth completion disp=0 cred=0x600003886a80 default 18:19:43.244251+0200 Runner System Trust Evaluation yielded status(0) default 18:19:43.244304+0200 Runner Connection 8: TLS Trust result 0 default 18:19:43.244338+0200 Runner boringssl_context_evaluate_trust_async_external_block_invoke_3(1451) [C8.1:2][0x7fe60ff4c6d0] Returning from external verify block with result: true default 18:19:43.244374+0200 Runner boringssl_context_certificate_verify_callback(1609) [C8.1:2][0x7fe60ff4c6d0] Certificate verification result: OK default 18:19:43.244755+0200 Runner boringssl_context_info_handler(1836) [C8.1:2][0x7fe60ff4c6d0] Client handshake state: TLS 1.3 client read_server_finished default 18:19:43.244839+0200 Runner boringssl_context_info_handler(1836) [C8.1:2][0x7fe60ff4c6d0] Client handshake state: TLS 1.3 client send_end_of_early_data default 18:19:43.244874+0200 Runner boringssl_context_info_handler(1836) [C8.1:2][0x7fe60ff4c6d0] Client handshake state: TLS 1.3 client send_client_certificate default 18:19:43.244899+0200 Runner boringssl_context_info_handler(1836) [C8.1:2][0x7fe60ff4c6d0] Client handshake state: TLS 1.3 client complete_second_flight default 18:19:43.244997+0200 Runner boringssl_context_info_handler(1836) [C8.1:2][0x7fe60ff4c6d0] Client handshake state: TLS 1.3 client done default 18:19:43.245075+0200 Runner boringssl_context_info_handler(1836) [C8.1:2][0x7fe60ff4c6d0] Client handshake state: TLS client finish_client_handshake default 18:19:43.245114+0200 Runner boringssl_context_info_handler(1836) [C8.1:2][0x7fe60ff4c6d0] Client handshake state: TLS client done default 18:19:43.245146+0200 Runner boringssl_context_info_handler(1826) [C8.1:2][0x7fe60ff4c6d0] Client handshake done default 18:19:43.245537+0200 Runner nw_protocol_boringssl_signal_connected(728) [C8.1:2][0x7fe60ff4c6d0] TLS connected [version(0x0304) ciphersuite(TLS_AES_128_GCM_SHA256) group(0x001d) signature_alg(0x0403) alpn(h2) resumed(0) offered_ticket(0) false_started(0) ocsp_received(0) sct_received(0) connect_time(196ms) flight_time(175ms) rtt(87ms) write_stalls(0) read_stalls(2)] default 18:19:43.245768+0200 Runner nw_flow_connected [C8.1 172.217.170.10:443 in_progress socket-flow (satisfied (Path is satisfied), interface: en0)] Output protocol connected default 18:19:43.246144+0200 Runner [C8.1 172.217.170.10:443 ready socket-flow (satisfied (Path is satisfied), interface: en0)] event: flow:finish_connect @0.224s default 18:19:43.246527+0200 Runner nw_connection_report_state_with_handler_on_nw_queue [C8] reporting state ready default 18:19:43.246804+0200 Runner [C8 play.googleapis.com:443 ready resolver (satisfied (Path is satisfied), interface: en0)] event: flow:finish_connect @0.225s default 18:19:43.246933+0200 Runner [C8.1 172.217.170.10:443 ready socket-flow (satisfied (Path is satisfied), interface: en0)] event: flow:changed_viability @0.225s default 18:19:43.247246+0200 Runner [C8 play.googleapis.com:443 ready resolver (satisfied (Path is satisfied), interface: en0)] event: flow:changed_viability @0.225s default 18:19:43.247600+0200 Runner Connection 8: connected successfully default 18:19:43.247670+0200 Runner Connection 8: TLS handshake complete default 18:19:43.248075+0200 Runner Connection 8: ready C(N) E(N) default 18:19:43.248497+0200 Runner Task <448BFA53-B08E-4653-86FE-E6F25AFC73F2>.<1> now using Connection 8 default 18:19:43.248565+0200 Runner Connection 8: received viability advisory(Y) default 18:19:43.248950+0200 Runner Task <448BFA53-B08E-4653-86FE-E6F25AFC73F2>.<1> sent request, body S 771 default 18:19:43.432693+0200 Runner Task <448BFA53-B08E-4653-86FE-E6F25AFC73F2>.<1> received response, status 200 content K default 18:19:43.432823+0200 Runner Task <448BFA53-B08E-4653-86FE-E6F25AFC73F2>.<1> done using Connection 8 default 18:19:43.433778+0200 Runner Task <448BFA53-B08E-4653-86FE-E6F25AFC73F2>.<1> response ended default 18:19:43.433844+0200 Runner Task <448BFA53-B08E-4653-86FE-E6F25AFC73F2>.<1> summary for task success {transaction_duration_ms=413, response_status=200, connection=8, protocol="h2", domain_lookup_duration_ms=17, connect_duration_ms=203, secure_connection_duration_ms=196, request_start_ms=228, request_duration_ms=0, response_start_ms=412, response_duration_ms=1, request_bytes=912, response_bytes=463, cache_hit=0} default 18:19:43.434098+0200 Runner Task <448BFA53-B08E-4653-86FE-E6F25AFC73F2>.<1> finished successfully default 18:19:43.434617+0200 Runner Connection 8: is being canceled default 18:19:43.434672+0200 Runner [C8 FBCCCA68-97E9-42D0-8FFA-6F5ECBF47290 play.googleapis.com:443 tcp, url hash: 0d4e4098, tls] cancel default 18:19:43.434755+0200 Runner [C8 FBCCCA68-97E9-42D0-8FFA-6F5ECBF47290 play.googleapis.com:443 tcp, url hash: 0d4e4098, tls] cancelled [C8.1 ABA56AA6-0309-45CD-9554-B2BC15E55A84 192.168.0.177:56775<->172.217.170.10:443] Connected Path: satisfied (Path is satisfied), viable, interface: en0 Duration: 0.413s, DNS @0.001s took 0.017s, TCP @0.021s took 0.006s, TLS 1.3 took 0.197s bytes in/out: 4209/1770, packets in/out: 9/10, rtt: 0.005s, retransmitted bytes: 0, out-of-order bytes: 0 default 18:19:43.435199+0200 Runner nw_flow_disconnected [C8.1 172.217.170.10:443 cancelled socket-flow ((null))] Output protocol disconnected default 18:19:43.435544+0200 Runner nw_connection_report_state_with_handler_on_nw_queue [C8] reporting state cancelled default 18:19:43.435826+0200 Runner Connection 8: destroyed default 18:19:43.452234+0200 Runner Task <0FA7F239-92AD-444C-B2FE-1435C138347C>.<1> resuming, timeouts(60.0, 604800.0) QOS(0x19) Voucher (null) default 18:19:43.452353+0200 Runner [Telemetry]: Activity <nw_activity 12:2 [74378431-9538-4944-9B76-7B0513785EC6] (reporting strategy default)> on Task <0FA7F239-92AD-444C-B2FE-1435C138347C>.<1> was not selected for reporting default 18:19:43.452955+0200 Runner Task <0FA7F239-92AD-444C-B2FE-1435C138347C>.<1> {strength 1, tls 8, ct 0, sub 0, sig 0, ciphers 1, bundle 0, builtin 0} default 18:19:43.453383+0200 Runner Connection 9: enabling TLS default 18:19:43.453413+0200 Runner Connection 9: starting, TC(0x0) default 18:19:43.453448+0200 Runner [C9 4007B85C-ED2F-404D-942A-34286E48D8AF play.googleapis.com:443 tcp, url hash: 0d4e4098, tls, context: com.apple.CFNetwork.NSURLSession.{08450D19-DE0A-4064-A6DC-BBC59E6D6A9B}{(null)}{Y}{2}, proc: D4F6DC8D-C35F-363F-B129-BC1854BF110F] start default 18:19:43.453562+0200 Runner [C9 play.googleapis.com:443 initial path ((null))] event: path:start @0.000s default 18:19:43.453818+0200 Runner [C9 play.googleapis.com:443 waiting path (satisfied (Path is satisfied), interface: en0)] event: path:satisfied @0.000s, uuid: 5CF31EB6-B5A8-4143-934A-7A8765020A52 default 18:19:43.454256+0200 Runner [C9 play.googleapis.com:443 in_progress resolver (satisfied (Path is satisfied), interface: en0)] event: resolver:start_dns @0.000s default 18:19:43.454323+0200 Runner nw_connection_report_state_with_handler_on_nw_queue [C9] reporting state preparing default 18:19:43.455265+0200 Runner Task <0FA7F239-92AD-444C-B2FE-1435C138347C>.<1> setting up Connection 9 default 18:19:43.456072+0200 Runner [C9 play.googleapis.com:443 in_progress resolver (satisfied (Path is satisfied), interface: en0)] event: resolver:receive_dns @0.002s default 18:19:43.456347+0200 Runner [C9.1 172.217.170.10:443 initial path ((null))] event: path:start @0.002s default 18:19:43.456557+0200 Runner [C9.1 172.217.170.10:443 waiting path (satisfied (Path is satisfied), interface: en0)] event: path:satisfied @0.003s, uuid: 32F9DF8D-B2F8-412D-836D-8B998B7F007E default 18:19:43.457070+0200 Runner [C9.1 172.217.170.10:443 in_progress socket-flow (satisfied (Path is satisfied), interface: en0)] event: flow:start_connect @0.003s default 18:19:43.462476+0200 Runner nw_socket_handle_socket_event [C9.1:3] Socket received CONNECTED event default 18:19:43.462781+0200 Runner nw_flow_connected [C9.1 172.217.170.10:443 in_progress socket-flow (satisfied (Path is satisfied), interface: en0)] Transport protocol connected default 18:19:43.462902+0200 Runner [C9.1 172.217.170.10:443 in_progress socket-flow (satisfied (Path is satisfied), interface: en0)] event: flow:finish_transport @0.009s default 18:19:43.462970+0200 Runner [C9 play.googleapis.com:443 in_progress resolver (satisfied (Path is satisfied), interface: en0)] event: flow:finish_transport @0.009s default 18:19:43.463490+0200 Runner boringssl_session_apply_protocol_options_for_transport_block_invoke(1689) [C9.1:2][0x7fe612e0ca80] TLS configured [min_version(0x0303) max_version(0x0304) name() tickets(false) false_start(false) enforce_ev(false) enforce_ats(false)] default 18:19:43.463656+0200 Runner boringssl_context_info_handler(1821) [C9.1:2][0x7fe612e0ca80] Client handshake started default 18:19:43.463800+0200 Runner boringssl_context_info_handler(1836) [C9.1:2][0x7fe612e0ca80] Client handshake state: TLS client enter_early_data default 18:19:43.463912+0200 Runner boringssl_context_info_handler(1836) [C9.1:2][0x7fe612e0ca80] Client handshake state: TLS client read_server_hello default 18:19:43.631541+0200 Runner boringssl_context_info_handler(1836) [C9.1:2][0x7fe612e0ca80] Client handshake state: TLS 1.3 client read_hello_retry_request default 18:19:43.631666+0200 Runner boringssl_context_info_handler(1836) [C9.1:2][0x7fe612e0ca80] Client handshake state: TLS 1.3 client read_server_hello default 18:19:43.632148+0200 Runner boringssl_context_info_handler(1836) [C9.1:2][0x7fe612e0ca80] Client handshake state: TLS 1.3 client read_encrypted_extensions default 18:19:43.632292+0200 Runner boringssl_context_info_handler(1836) [C9.1:2][0x7fe612e0ca80] Client handshake state: TLS 1.3 client read_certificate_request default 18:19:43.632360+0200 Runner boringssl_context_info_handler(1836) [C9.1:2][0x7fe612e0ca80] Client handshake state: TLS 1.3 client read_server_certificate default 18:19:43.632515+0200 Runner boringssl_context_info_handler(1836) [C9.1:2][0x7fe612e0ca80] Client handshake state: TLS 1.3 client read_server_certificate_verify default 18:19:43.632734+0200 Runner boringssl_context_evaluate_trust_async(1510) [C9.1:2][0x7fe612e0ca80] Performing external trust evaluation default 18:19:43.633028+0200 Runner boringssl_context_evaluate_trust_async_external(1495) [C9.1:2][0x7fe612e0ca80] Asyncing for external verify block default 18:19:43.633440+0200 Runner Connection 9: asked to evaluate TLS Trust default 18:19:43.640527+0200 Runner Task <0FA7F239-92AD-444C-B2FE-1435C138347C>.<1> auth completion disp=0 cred=0x6000038ecfe0 default 18:19:43.646368+0200 Runner System Trust Evaluation yielded status(0) default 18:19:43.646424+0200 Runner Connection 9: TLS Trust result 0 default 18:19:43.646461+0200 Runner boringssl_context_evaluate_trust_async_external_block_invoke_3(1451) [C9.1:2][0x7fe612e0ca80] Returning from external verify block with result: true default 18:19:43.646528+0200 Runner boringssl_context_certificate_verify_callback(1609) [C9.1:2][0x7fe612e0ca80] Certificate verification result: OK default 18:19:43.646939+0200 Runner boringssl_context_info_handler(1836) [C9.1:2][0x7fe612e0ca80] Client handshake state: TLS 1.3 client read_server_finished default 18:19:43.647097+0200 Runner boringssl_context_info_handler(1836) [C9.1:2][0x7fe612e0ca80] Client handshake state: TLS 1.3 client send_end_of_early_data default 18:19:43.647183+0200 Runner boringssl_context_info_handler(1836) [C9.1:2][0x7fe612e0ca80] Client handshake state: TLS 1.3 client send_client_certificate default 18:19:43.647228+0200 Runner boringssl_context_info_handler(1836) [C9.1:2][0x7fe612e0ca80] Client handshake state: TLS 1.3 client complete_second_flight default 18:19:43.647320+0200 Runner boringssl_context_info_handler(1836) [C9.1:2][0x7fe612e0ca80] Client handshake state: TLS 1.3 client done default 18:19:43.647447+0200 Runner boringssl_context_info_handler(1836) [C9.1:2][0x7fe612e0ca80] Client handshake state: TLS client finish_client_handshake default 18:19:43.647589+0200 Runner boringssl_context_info_handler(1836) [C9.1:2][0x7fe612e0ca80] Client handshake state: TLS client done default 18:19:43.647687+0200 Runner boringssl_context_info_handler(1826) [C9.1:2][0x7fe612e0ca80] Client handshake done default 18:19:43.648366+0200 Runner nw_protocol_boringssl_signal_connected(728) [C9.1:2][0x7fe612e0ca80] TLS connected [version(0x0304) ciphersuite(TLS_AES_128_GCM_SHA256) group(0x001d) signature_alg(0x0403) alpn(h2) resumed(0) offered_ticket(0) false_started(0) ocsp_received(0) sct_received(0) connect_time(185ms) flight_time(169ms) rtt(84ms) write_stalls(0) read_stalls(2)] default 18:19:43.648716+0200 Runner nw_flow_connected [C9.1 172.217.170.10:443 in_progress socket-flow (satisfied (Path is satisfied), interface: en0)] Output protocol connected default 18:19:43.649291+0200 Runner [C9.1 172.217.170.10:443 ready socket-flow (satisfied (Path is satisfied), interface: en0)] event: flow:finish_connect @0.195s default 18:19:43.649830+0200 Runner nw_connection_report_state_with_handler_on_nw_queue [C9] reporting state ready default 18:19:43.650150+0200 Runner [C9 play.googleapis.com:443 ready resolver (satisfied (Path is satisfied), interface: en0)] event: flow:finish_connect @0.196s default 18:19:43.650383+0200 Runner [C9.1 172.217.170.10:443 ready socket-flow (satisfied (Path is satisfied), interface: en0)] event: flow:changed_viability @0.196s default 18:19:43.650619+0200 Runner [C9 play.googleapis.com:443 ready resolver (satisfied (Path is satisfied), interface: en0)] event: flow:changed_viability @0.197s default 18:19:43.651021+0200 Runner Connection 9: connected successfully default 18:19:43.651108+0200 Runner Connection 9: TLS handshake complete default 18:19:43.651520+0200 Runner Connection 9: ready C(N) E(N) default 18:19:43.651873+0200 Runner Task <0FA7F239-92AD-444C-B2FE-1435C138347C>.<1> now using Connection 9 default 18:19:43.652012+0200 Runner Connection 9: received viability advisory(Y) default 18:19:43.652827+0200 Runner Task <0FA7F239-92AD-444C-B2FE-1435C138347C>.<1> sent request, body S 536 default 18:19:43.824697+0200 Runner Task <0FA7F239-92AD-444C-B2FE-1435C138347C>.<1> received response, status 200 content K default 18:19:43.827955+0200 Runner Task <0FA7F239-92AD-444C-B2FE-1435C138347C>.<1> done using Connection 9 default 18:19:43.828109+0200 Runner Task <0FA7F239-92AD-444C-B2FE-1435C138347C>.<1> response ended default 18:19:43.828356+0200 Runner Task <0FA7F239-92AD-444C-B2FE-1435C138347C>.<1> summary for task success {transaction_duration_ms=375, response_status=200, connection=9, protocol="h2", domain_lookup_duration_ms=2, connect_duration_ms=192, secure_connection_duration_ms=185, request_start_ms=199, request_duration_ms=0, response_start_ms=371, response_duration_ms=3, request_bytes=686, response_bytes=876, cache_hit=0} default 18:19:43.828958+0200 Runner Task <0FA7F239-92AD-444C-B2FE-1435C138347C>.<1> finished successfully default 18:19:43.830080+0200 Runner Connection 9: is being canceled default 18:19:43.830271+0200 Runner [C9 4007B85C-ED2F-404D-942A-34286E48D8AF play.googleapis.com:443 tcp, url hash: 0d4e4098, tls] cancel default 18:19:43.830581+0200 Runner [C9 4007B85C-ED2F-404D-942A-34286E48D8AF play.googleapis.com:443 tcp, url hash: 0d4e4098, tls] cancelled [C9.1 32F9DF8D-B2F8-412D-836D-8B998B7F007E 192.168.0.177:56776<->172.217.170.10:443] Connected Path: satisfied (Path is satisfied), viable, interface: en0 Duration: 0.376s, DNS @0.000s took 0.002s, TCP @0.003s took 0.006s, TLS 1.3 took 0.186s bytes in/out: 4620/1566, packets in/out: 9/11, rtt: 0.004s, retransmitted bytes: 0, out-of-order bytes: 0 default 18:19:43.833293+0200 Runner nw_flow_disconnected [C9.1 172.217.170.10:443 cancelled socket-flow ((null))] Output protocol disconnected default 18:19:43.834063+0200 Runner nw_connection_report_state_with_handler_on_nw_queue [C9] reporting state cancelled error 18:22:28.103935+0200 Runner Connection to assetsd was interrupted - assetsd exited, died, or closed the photo library default 18:22:28.107276+0200 Runner Client connection interrupted for URL file:///Users/wiansnyman/Library/Developer/CoreSimulator/Devices/D7139BBB-932D-46F7-8E4C-394571170E2E/data/Media/, resetting bind state (previous result: success: ) default 18:22:28.109786+0200 Runner Client connection interrupted for URL file:///Users/wiansnyman/Library/Developer/CoreSimulator/Devices/D7139BBB-932D-46F7-8E4C-394571170E2E/data/Media/, resetting bind state (previous result: (null)) error 18:22:55.398436+0200 Runner XPC error talking to pkd: Connection interrupted default 18:22:57.415340+0200 Runner got event: Connection interrupted error 18:23:06.537209+0200 Runner interruptionHandler is called. -[FontServicesDaemonManager connection]_block_invoke

Ralph-Li commented 3 years ago

@Wian-TMC

flutter pub deps -- --style=compact

```dart dependencies: - braze_plugin 1.3.0 [flutter] - cloud_firestore 1.0.6 [cloud_firestore_platform_interface cloud_firestore_web firebase_core firebase_core_platform_interface flutter meta] - device_preview 0.7.1 [flutter flutter_localizations provider path_provider device_frame font_awesome_flutter http freezed_annotation json_annotation shared_preferences pedantic path] - firebase_analytics 8.0.1 [firebase_analytics_platform_interface firebase_analytics_web firebase_core flutter meta] - firebase_auth 1.1.1 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta] - firebase_core 1.1.1 [firebase_core_platform_interface firebase_core_web flutter meta] - firebase_crashlytics 2.0.1 [firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface flutter stack_trace] - firebase_messaging 9.1.2 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta] - firebase_remote_config 0.10.0-dev.1 [firebase_core firebase_core_platform_interface firebase_remote_config_platform_interface flutter] - firebase_storage 8.0.6 [firebase_core firebase_core_platform_interface firebase_storage_platform_interface firebase_storage_web flutter] - flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine] - flutter_branch_sdk 1.4.0 [flutter] - flutter_facebook_auth 1.0.2+2 [flutter] - get_it 5.0.6 [async meta] - google_ml_vision 0.0.3+1 [flutter] - health_kit_reporter 1.3.0 [flutter intl] - in_app_purchase 0.5.2 [flutter json_annotation meta collection] - in_app_update 1.1.15 [flutter] - intl 0.17.0 [clock path] - native_shared_pref 0.1.0 [flutter] - shared_preferences 2.0.5 [meta flutter shared_preferences_platform_interface shared_preferences_linux shared_preferences_macos shared_preferences_web shared_preferences_windows] - sign_in_with_apple 2.5.4 [meta flutter] - sqflite 2.0.0+3 [flutter sqflite_common path] - video_player 1.0.1 [meta video_player_platform_interface video_player_web flutter] - wc_flutter_share 0.4.0 [flutter path_provider] dev dependencies: - build_runner 1.12.2 [args async build build_config build_daemon build_resolvers build_runner_core code_builder collection crypto dart_style glob graphs http_multi_server io js logging meta mime path pedantic pool pub_semver pubspec_parse shelf shelf_web_socket stack_trace stream_transform timing watcher web_socket_channel yaml] - build_web_compilers 2.16.5 [analyzer archive bazel_worker build build_config build_modules collection glob js logging meta path pool scratch_space source_maps source_span stack_trace] - flutter_driver 0.0.0 [file flutter flutter_test fuchsia_remote_debug_protocol path meta vm_service webdriver archive async boolean_selector characters charcode clock collection crypto matcher platform process source_span stack_trace stream_channel string_scanner sync_http term_glyph test_api typed_data vector_math] - flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data] - git 2.0.0 [path] - integration_test 1.0.2+2 [flutter flutter_driver flutter_test path vm_service] - mockito 4.1.1+1 [collection matcher meta test_api] - pedantic 1.11.0 - t_stats 3.0.0-nullsafety.0 [quiver] - test 1.16.8 [analyzer async boolean_selector collection coverage http_multi_server io js node_preamble package_config path pedantic pool shelf shelf_packages_handler shelf_static shelf_web_socket source_span stack_trace stream_channel typed_data web_socket_channel webkit_inspection_protocol yaml test_api test_core] dependency overrides: - firebase_messaging_platform_interface 2.1.2 [firebase_core flutter meta plugin_platform_interface] transitive dependencies: - _fe_analyzer_shared 20.0.0 [meta] - agora_rtc_engine 4.0.0-rc.3 [flutter flutter_web_plugins json_annotation] - analyzer 1.4.0 [_fe_analyzer_shared cli_util collection convert crypto glob meta package_config path pub_semver source_span watcher yaml pedantic] - animations 1.1.2 [flutter] - app_review 2.1.1+1 [http package_info url_launcher flutter] - archive 3.1.2 [crypto path] - args 2.0.0 - async 2.5.0 [collection] - auto_size_text 2.1.0 [flutter] - bazel_worker 1.0.0 [async pedantic protobuf] - bloc 7.0.0 [meta] - boolean_selector 2.1.0 [source_span string_scanner] - build 2.0.0 [analyzer async convert crypto glob logging meta path] - build_config 0.4.7 [checked_yaml json_annotation meta path pubspec_parse yaml] - build_daemon 2.1.10 [built_collection built_value http_multi_server logging pedantic path pool shelf shelf_web_socket stream_transform watcher web_socket_channel] - build_modules 3.0.6 [analyzer async bazel_worker build build_config collection crypto glob graphs json_annotation logging meta path pedantic scratch_space] - build_resolvers 2.0.0 [analyzer build crypto graphs logging path package_config pool pub_semver stream_transform] - build_runner_core 6.1.12 [async build build_config build_resolvers collection convert crypto glob graphs logging meta path package_config pedantic pool timing watcher yaml] - built_collection 5.0.0 - built_value 8.0.4 [built_collection collection fixnum] - cached_network_image 2.5.1 [flutter flutter_cache_manager octo_image] - characters 1.1.0 - charcode 1.2.0 - charts_common 0.10.0 [collection intl logging meta vector_math] - charts_flutter 0.10.0 [charts_common collection flutter intl logging meta] - checked_yaml 2.0.1 [json_annotation source_span yaml] - cli_util 0.3.0 [meta path] - clock 1.1.0 - cloud_firestore_platform_interface 4.0.2 [collection firebase_core flutter meta plugin_platform_interface] - cloud_firestore_web 1.0.6 [cloud_firestore_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js] - code_builder 3.7.0 [built_collection built_value collection matcher meta] - collection 1.15.0 - connectivity 3.0.3 [flutter meta connectivity_platform_interface connectivity_macos connectivity_for_web] - connectivity_for_web 0.4.0 [connectivity_platform_interface flutter_web_plugins flutter] - connectivity_macos 0.2.0 [flutter] - connectivity_platform_interface 2.0.1 [flutter meta plugin_platform_interface] - convert 3.0.0 [typed_data] - countdown 0.1.0 - coverage 1.0.2 [args logging package_config path source_maps stack_trace vm_service] - crypto 3.0.0 [collection typed_data] - csslib 0.16.2 [source_span] - csv 4.1.0 - dart_style 2.0.0 [analyzer args path pub_semver source_span] - device_frame 0.4.0 [flutter_svg path_drawing freezed_annotation flutter] - device_info 2.0.0 [flutter device_info_platform_interface] - device_info_platform_interface 2.0.1 [flutter meta plugin_platform_interface] - dotted_border 2.0.0 [flutter path_drawing] - emojis 0.8.1 - equatable 1.2.6 [collection meta] - extended_switch 0.0.1 [flutter] - fading_edge_scrollview 1.1.4 [flutter] - fake_async 1.2.0 [clock collection] - ffi 1.0.0 - file 6.1.0 [meta path] - firebase 9.0.1 [http http_parser js] - firebase_analytics_platform_interface 2.0.0 [flutter meta] - firebase_analytics_web 0.3.0 [firebase firebase_analytics_platform_interface flutter flutter_web_plugins meta] - firebase_auth_platform_interface 4.1.1 [firebase_core flutter meta plugin_platform_interface] - firebase_auth_web 1.0.7 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser intl js meta] - firebase_core_platform_interface 4.0.1 [collection flutter meta plugin_platform_interface] - firebase_core_web 1.0.3 [firebase_core_platform_interface flutter flutter_web_plugins js meta] - firebase_crashlytics_platform_interface 3.0.1 [collection firebase_core flutter meta plugin_platform_interface] - firebase_messaging_web 1.0.5 [firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta] - firebase_remote_config_platform_interface 0.3.0-dev.1 [firebase_core flutter meta plugin_platform_interface] - firebase_storage_platform_interface 2.0.4 [collection firebase_core flutter meta plugin_platform_interface] - firebase_storage_web 1.0.6 [async firebase_core firebase_core_web firebase_storage_platform_interface flutter flutter_web_plugins http js meta] - fixnum 1.0.0 - flushbar 1.10.4 [flutter] - flutter_appavailability 0.0.21 [flutter] - flutter_bloc 7.0.0 [flutter bloc provider] - flutter_blurhash 0.5.0 [flutter meta] - flutter_cache_manager 2.1.2 [flutter path_provider uuid http path sqflite pedantic clock file rxdart image] - flutter_downloader 1.5.2 [flutter] - flutter_html 0.11.1 [html flutter] - flutter_image 3.0.0 [flutter] - flutter_linkify 3.1.3 [flutter linkify] - flutter_local_notifications 5.0.0+1 [flutter flutter_local_notifications_platform_interface platform timezone] - flutter_local_notifications_platform_interface 3.0.0 [flutter plugin_platform_interface] - flutter_localizations 0.0.0 [flutter intl characters clock collection meta path typed_data vector_math] - flutter_mobx 1.1.0+2 [mobx flutter] - flutter_page_indicator 0.0.3 [flutter] - flutter_phone_state 0.5.9 [flutter url_launcher logging uuid stream_transform] - flutter_plugin_android_lifecycle 2.0.1 [flutter] - flutter_portal 0.3.0 [flutter] - flutter_screenutil 2.3.1 [flutter] - flutter_slidable 0.5.7 [flutter] - flutter_svg 0.21.0+1 [flutter meta path_drawing vector_math xml] - flutter_swiper 1.1.6 [flutter transformer_page_view flutter_page_indicator] - flutter_web_browser 0.11.0 [flutter] - flutter_web_plugins 0.0.0 [flutter js characters collection meta typed_data vector_math] - font_awesome_flutter 9.0.0 [flutter] - freezed_annotation 0.14.1 [collection json_annotation meta] - fuchsia_remote_debug_protocol 0.0.0 [process vm_service file meta path platform] - glob 2.0.1 [async collection file path pedantic string_scanner] - google_api_availability 2.0.4 [flutter] - graphs 1.0.0 - hashtagable 2.0.0 [flutter provider] - html 0.14.0+4 [csslib source_span] - http 0.13.1 [http_parser meta path pedantic] - http_multi_server 3.0.1 [async] - http_parser 4.0.0 [charcode collection source_span string_scanner typed_data] - image 3.0.2 [archive meta xml] - image_crop 0.3.4 [flutter] - image_cropper 1.4.0 [flutter] - image_picker 0.7.5 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface image_picker_for_web] - image_picker_for_web 2.0.0 [image_picker_platform_interface meta flutter flutter_web_plugins] - image_picker_platform_interface 2.1.0 [flutter meta http plugin_platform_interface] - import_js_library 1.0.2 [flutter html flutter_web_plugins js] - io 1.0.0 [meta path string_scanner] - js 0.6.3 - json_annotation 4.0.1 - keyboard_visibility 0.5.6 [flutter] - linkify 2.1.0 - logger 0.9.4 - logging 1.0.1 - matcher 0.12.10 [stack_trace] - meta 1.3.0 - mime 1.0.0 - mobx 1.2.1+4 [meta] - modal_bottom_sheet 2.0.0-nullsafety.1 [flutter] - mparticles_plugin 1.1.3 [flutter] - nested 1.0.0 [flutter] - node_preamble 2.0.0 - octo_image 0.3.0 [flutter flutter_blurhash] - package_config 2.0.0 [path] - package_info 2.0.0 [flutter] - palette_generator 0.2.3 [flutter collection path] - path 1.8.0 - path_drawing 0.5.0 [vector_math meta path_parsing flutter] - path_parsing 0.2.0 [vector_math meta] - path_provider 2.0.1 [flutter path_provider_platform_interface path_provider_macos path_provider_linux path_provider_windows] - path_provider_linux 2.0.0 [path xdg_directories path_provider_platform_interface flutter] - path_provider_macos 2.0.0 [flutter] - path_provider_platform_interface 2.0.1 [flutter meta platform plugin_platform_interface] - path_provider_windows 2.0.0 [path_provider_platform_interface meta path flutter ffi win32] - permission_handler 6.1.3 [flutter meta permission_handler_platform_interface] - permission_handler_platform_interface 3.2.0 [flutter meta plugin_platform_interface] - petitparser 4.1.0 [meta] - pin_code_fields 6.0.2 [flutter] - platform 3.0.0 - plugin_platform_interface 2.0.0 [meta] - pool 1.5.0 [async stack_trace] - preload_page_view 0.1.4 [flutter] - process 4.2.1 [file path platform] - protobuf 2.0.0 [fixnum] - provider 5.0.0 [collection flutter nested] - pub_semver 2.0.0 [collection] - pubspec_parse 1.0.0 [checked_yaml collection json_annotation pub_semver yaml] - pull_to_refresh 1.6.5 [flutter] - qr 1.2.0 [meta] - quiver 3.0.1 [matcher] - reorderables 0.3.2 [flutter] - rxdart 0.23.1 - scratch_space 1.0.0 [build crypto path pedantic pool] - screen_lock_util 0.0.1 [flutter] - share 0.6.4+5 [meta flutter] - shared_preferences_linux 2.0.0 [flutter file meta path path_provider_linux shared_preferences_platform_interface] - shared_preferences_macos 2.0.0 [shared_preferences_platform_interface flutter] - shared_preferences_platform_interface 2.0.0 [flutter] - shared_preferences_web 2.0.0 [shared_preferences_platform_interface flutter flutter_web_plugins meta] - shared_preferences_windows 2.0.0 [shared_preferences_platform_interface flutter file meta path path_provider_platform_interface path_provider_windows] - shelf 1.1.0 [async collection http_parser path stack_trace stream_channel] - shelf_packages_handler 3.0.0 [path shelf shelf_static] - shelf_static 1.0.0 [convert http_parser mime path shelf] - shelf_web_socket 1.0.1 [shelf stream_channel web_socket_channel] - shimmer 1.1.2 [flutter] - showcaseview 0.1.6 [flutter] - sky_engine 0.0.99 - sliver_tools 0.1.10+1 [flutter] - source_map_stack_trace 2.1.0 [path stack_trace source_maps] - source_maps 0.10.10 [source_span] - source_span 1.8.1 [collection path term_glyph] - spritewidget 0.9.24 [flutter] - sqflite_common 2.0.0+2 [synchronized path meta] - stack_trace 1.10.0 [path] - stream_channel 2.1.0 [async] - stream_transform 2.0.0 - string_scanner 1.1.0 [charcode source_span] - sync_http 0.3.0 - synchronized 3.0.0 - term_glyph 1.2.0 - test_api 0.3.0 [async boolean_selector collection meta path source_span stack_trace stream_channel string_scanner term_glyph matcher] - test_core 0.3.19 [analyzer async args boolean_selector collection coverage glob io meta package_config path pedantic pool source_map_stack_trace source_maps source_span stack_trace stream_channel vm_service yaml matcher test_api] - timezone 0.7.0 [path] - timing 1.0.0 [json_annotation] - transformer_page_view 0.1.6 [flutter] - transparent_image 1.0.0 - tuple 2.0.0 [quiver] - typed_data 1.3.0 [collection] - url_launcher 6.0.3 [flutter url_launcher_platform_interface url_launcher_linux url_launcher_macos url_launcher_windows url_launcher_web] - url_launcher_linux 2.0.0 [flutter] - url_launcher_macos 2.0.0 [flutter] - url_launcher_platform_interface 2.0.2 [flutter plugin_platform_interface] - url_launcher_web 2.0.0 [url_launcher_platform_interface meta flutter flutter_web_plugins] - url_launcher_windows 2.0.0 [flutter] - uuid 3.0.4 [crypto] - vector_math 2.1.0 - video_player_platform_interface 2.2.0 [flutter meta] - video_player_web 0.1.4+1 [flutter flutter_web_plugins meta video_player_platform_interface] - visibility_detector 0.1.5 [flutter] - vm_service 6.1.0+1 - wakelock 0.2.1+1 [flutter meta wakelock_platform_interface wakelock_web] - wakelock_platform_interface 0.1.0+1 [flutter meta] - wakelock_web 0.1.0+3 [flutter flutter_web_plugins import_js_library js wakelock_platform_interface] - watcher 1.0.0 [async path pedantic] - web_socket_channel 2.0.0 [async crypto stream_channel] - webdriver 3.0.0 [archive matcher path stack_trace sync_http] - webkit_inspection_protocol 1.0.0 [logging] - webview_flutter 1.0.7 [flutter] - win32 2.0.5 [ffi] - xdg_directories 0.2.0 [meta path process] - xml 5.1.0 [collection meta petitparser] - yaml 3.1.0 [collection source_span string_scanner] ```

flutter doctor -v

``` [βœ“] Flutter (Channel beta, 2.2.0-10.2.pre, on macOS 11.2.3 20D91 darwin-x64, locale en-CN) β€’ Flutter version 2.2.0-10.2.pre at /Users/-/Workspace/flutter β€’ Framework revision b5017bf8de (2 weeks ago), 2021-04-28 17:09:53 -0700 β€’ Engine revision 91ed51e05c β€’ Dart version 2.13.0 (build 2.13.0-211.13.beta) [βœ“] Android toolchain - develop for Android devices (Android SDK version 30.0.3) β€’ Android SDK at /Users/-/Library/Android/sdk β€’ Platform android-30, build-tools 30.0.3 β€’ 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 12.5, Build version 12E262 β€’ CocoaPods version 1.10.1 [βœ“] Chrome - develop for the web β€’ CHROME_EXECUTABLE = /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [βœ“] Android Studio β€’ Android Studio at /Applications/Android Studio 4.2 Preview.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 11.0.8+10-b944.6842174) [βœ“] 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.56.1) β€’ VS Code at /Applications/Visual Studio Code.app/Contents β€’ Flutter extension version 3.22.0 [βœ“] Connected device (2 available) β€’ Flutter Mobile (mobile) β€’ 5A7B9E30-6E20-4B44-A252-83E388E22970 β€’ ios β€’ com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator) β€’ Chrome (web) β€’ chrome β€’ web-javascript β€’ Google Chrome 90.0.4430.212 ```

berthold-lbb commented 3 years ago

It should not matter and it shouldn't be causing this issue

I have the same issue on an iphone x version 14.4

danybuoy commented 3 years ago

Hey guys I ran into the same issue however I managed to get it working. Seems like the hanging in our case is caused by using an incorrectly formatted bucket string.

Previously we were using something along the lines of: "gs://<bucket_name_here/>" but now we're using this: "bucket_name_here" without the gs:// part.

I've noted that by including gs:// the file still uploads fine but it uploads to the default bucket. Maybe theres some error handling that needs to be done to ensure that if the bucket name is malformed it lets dev know and prevents uploading to the default bucket. Let me know if that works for anyone

Wian-TMC commented 3 years ago

@danybuoy I'm not sure your related issue is linked to the firebase_storage plugin, given you're using formatting like "gs://<bucket_name_here/>" to access your storage?

danybuoy commented 3 years ago

@danybuoy I'm not sure your related issue is linked to the firebase_storage plugin, given you're using formatting like "gs://<bucket_name_here/>" to access your storage?

Well that's why we were having the issue. We were initialising our firebase_storage plugin instance with that string instead of just using the bucket name from the dashboard. Weirdly enough the hanging (waiting for the upload task to complete) only occurs on iOS. I'd check your default storage bucket to see if your files are there

Wian-TMC commented 3 years ago

Reviewing the error logs, I noticed an issue regarding the url encoding for the storage path of the file I am trying to upload. The output for the upload URL is as follows:

https://firebasestorage.googleapis.com/v0/b/get-tod.appspot.com/o/beforeImages<decode: mismatch for [%2F] got [OBJECT public sz:37]>14c7adb57948445eb8d4f2662e1f9f2c<decode: mismatch for [%2F] got [OBJECT sz:43]>ryHHP.jpg?uploadType=resumable&name=beforeImages<decode: mismatch for [%2F] got [OBJECT sz:855]>14c7adb57948445eb8d4f2662e1f9f2c<decode: missing data>ryHHP.jpg&upload_id=ABg5-Uwz_ZtzHlFczl52-mgThMai72sRgmzWxbUvbPf8EKXbGOgr1hmFP1neUPi422zadl1BlghCr4Wsl9QATLySFVA&upload_protocol=resumable

The actual URL should be :

https://firebasestorage.googleapis.com/v0/b/get-tod.appspot.com/o/beforeImages/14c7adb57948445eb8d4f2662e1f9f2c/ryHHP.jpg?uploadType=resumable&name=beforeImages/14c7adb57948445eb8d4f2662e1f9f2c/ryHHP.jpg&upload_id=ABg5-Uwz_ZtzHlFczl52-mgThMai72sRgmzWxbUvbPf8EKXbGOgr1hmFP1neUPi422zadl1BlghCr4Wsl9QATLySFVA&upload_protocol=resumable

There seems to be an issue for iOS when trying to URL encode / to its encoded equivalent of %2F .

@danybuoy This could also be causing your issue?

danybuoy commented 3 years ago

Reviewing the error logs, I noticed an issue regarding the url encoding for the storage path of the file I am trying to upload. The output for the upload URL is as follows:

https://firebasestorage.googleapis.com/v0/b/get-tod.appspot.com/o/beforeImages<decode: mismatch for [%2F] got [OBJECT public sz:37]>14c7adb57948445eb8d4f2662e1f9f2c<decode: mismatch for [%2F] got [OBJECT sz:43]>ryHHP.jpg?uploadType=resumable&name=beforeImages<decode: mismatch for [%2F] got [OBJECT sz:855]>14c7adb57948445eb8d4f2662e1f9f2c<decode: missing data>ryHHP.jpg&upload_id=ABg5-Uwz_ZtzHlFczl52-mgThMai72sRgmzWxbUvbPf8EKXbGOgr1hmFP1neUPi422zadl1BlghCr4Wsl9QATLySFVA&upload_protocol=resumable

The actual URL should be :

https://firebasestorage.googleapis.com/v0/b/get-tod.appspot.com/o/beforeImages/14c7adb57948445eb8d4f2662e1f9f2c/ryHHP.jpg?uploadType=resumable&name=beforeImages/14c7adb57948445eb8d4f2662e1f9f2c/ryHHP.jpg&upload_id=ABg5-Uwz_ZtzHlFczl52-mgThMai72sRgmzWxbUvbPf8EKXbGOgr1hmFP1neUPi422zadl1BlghCr4Wsl9QATLySFVA&upload_protocol=resumable

There seems to be an issue for iOS when trying to URL encode / to its encoded equivalent of %2F .

@danybuoy This could also be causing your issue?

Like I mentioned, it seems to be related to the name of the bucket that's been used to create the instance - but that was just our case.

Wian-TMC commented 3 years ago

Reviewing the error logs, I noticed an issue regarding the url encoding for the storage path of the file I am trying to upload. The output for the upload URL is as follows: https://firebasestorage.googleapis.com/v0/b/get-tod.appspot.com/o/beforeImages<decode: mismatch for [%2F] got [OBJECT public sz:37]>14c7adb57948445eb8d4f2662e1f9f2c<decode: mismatch for [%2F] got [OBJECT sz:43]>ryHHP.jpg?uploadType=resumable&name=beforeImages<decode: mismatch for [%2F] got [OBJECT sz:855]>14c7adb57948445eb8d4f2662e1f9f2c<decode: missing data>ryHHP.jpg&upload_id=ABg5-Uwz_ZtzHlFczl52-mgThMai72sRgmzWxbUvbPf8EKXbGOgr1hmFP1neUPi422zadl1BlghCr4Wsl9QATLySFVA&upload_protocol=resumable The actual URL should be : https://firebasestorage.googleapis.com/v0/b/get-tod.appspot.com/o/beforeImages/14c7adb57948445eb8d4f2662e1f9f2c/ryHHP.jpg?uploadType=resumable&name=beforeImages/14c7adb57948445eb8d4f2662e1f9f2c/ryHHP.jpg&upload_id=ABg5-Uwz_ZtzHlFczl52-mgThMai72sRgmzWxbUvbPf8EKXbGOgr1hmFP1neUPi422zadl1BlghCr4Wsl9QATLySFVA&upload_protocol=resumable There seems to be an issue for iOS when trying to URL encode / to its encoded equivalent of %2F . @danybuoy This could also be causing your issue?

Like I mentioned, it seems to be related to the name of the bucket that's been used to create the instance - but that was just our case.

OK cool. I'm testing this out now. Hopefully something happens

Wian-TMC commented 3 years ago

Reviewing the error logs, I noticed an issue regarding the url encoding for the storage path of the file I am trying to upload. The output for the upload URL is as follows: https://firebasestorage.googleapis.com/v0/b/get-tod.appspot.com/o/beforeImages<decode: mismatch for [%2F] got [OBJECT public sz:37]>14c7adb57948445eb8d4f2662e1f9f2c<decode: mismatch for [%2F] got [OBJECT sz:43]>ryHHP.jpg?uploadType=resumable&name=beforeImages<decode: mismatch for [%2F] got [OBJECT sz:855]>14c7adb57948445eb8d4f2662e1f9f2c<decode: missing data>ryHHP.jpg&upload_id=ABg5-Uwz_ZtzHlFczl52-mgThMai72sRgmzWxbUvbPf8EKXbGOgr1hmFP1neUPi422zadl1BlghCr4Wsl9QATLySFVA&upload_protocol=resumable The actual URL should be : https://firebasestorage.googleapis.com/v0/b/get-tod.appspot.com/o/beforeImages/14c7adb57948445eb8d4f2662e1f9f2c/ryHHP.jpg?uploadType=resumable&name=beforeImages/14c7adb57948445eb8d4f2662e1f9f2c/ryHHP.jpg&upload_id=ABg5-Uwz_ZtzHlFczl52-mgThMai72sRgmzWxbUvbPf8EKXbGOgr1hmFP1neUPi422zadl1BlghCr4Wsl9QATLySFVA&upload_protocol=resumable There seems to be an issue for iOS when trying to URL encode / to its encoded equivalent of %2F . @danybuoy This could also be causing your issue?

Like I mentioned, it seems to be related to the name of the bucket that's been used to create the instance - but that was just our case.

Ok, unfortunately I got the same error as before even when trying to specify the bucket name without gs://. The error is below:

"https:\/\/firebasestorage.googleapis.com\/v0\/b\/get-tod.appspot.com\/o\/beforeImages<decode: mismatch for [%2F] got [OBJECT public sz:37]>14c7adb57948445eb8d4f2662e1f9f2c<decode: mismatch for [%2F] got [OBJECT sz:43]>CxPwt.jpg?uploadType=resumable&name=beforeImages<decode: mismatch for [%2F] got [OBJECT sz:854]>14c7adb57948445eb8d4f2662e1f9f2cCxPwt.jpg&upload_id=ABg5-UzhZ_QBtCgsNyXjzyEAK1zVw2hTcOmyZHb-Ef-P_e1R0n7HikBZgqPuf_FNJDpB6r-bD1kl7-6jTznb3hog1Vs&upload_protocol=resumable"

danybuoy commented 3 years ago

@Wian-TMC what's the filename? looks like you may have a space in there

Wian-TMC commented 3 years ago

@Wian-TMC what's the filename? looks like you may have a space in there

It's CxPwt.jpg. I also ensure there are no spaces

danybuoy commented 3 years ago

@Wian-TMC I'd suggest you try a simpler path first, but it looks like the reference you're using may have an issue. Maybe separate each segment with .child() and leave out the / characters

Wian-TMC commented 3 years ago

I have just noticed something. The upload completes and the image DOES upload, even with the complex path (irrespective if separated by .child() or just with /). The problem now is that there are no snapshot callbacks returned to flutter to indicate the progress or status of the upload, which is why it hangs forever.

danybuoy commented 3 years ago

I have just noticed something. The upload completes and the image DOES upload, even with the complex path (irrespective if separated by .child() or just with /). The problem now is that there are no snapshot callbacks returned to flutter to indicate the progress or status of the upload, which is why it hangs forever.

That's exactly the same behaviour we experienced. For us it was due to a mistyped bucket name that used the / char.

Wian-TMC commented 3 years ago

I have just noticed something. The upload completes and the image DOES upload, even with the complex path (irrespective if separated by .child() or just with /). The problem now is that there are no snapshot callbacks returned to flutter to indicate the progress or status of the upload, which is why it hangs forever.

That's exactly the same behaviour we experienced. For us it was due to a mistyped bucket name that used the / char.

I am now testing firebase_storage.FirebaseStorage storage = firebase_storage.FirebaseStorage.instanceFor( bucket: 'bucket-name-without-gs://');

Unfortunately still having the same issue even with

firebase_storage.FirebaseStorage storage = firebase_storage.FirebaseStorage.instanceFor( bucket: 'bucket-name-without-gs://'); final firebaseRef = storage.ref('images').child('some-long-string').child('random-name.jpg'); firebase_storage.UploadTask task = firebaseRef.putFile(File fileToUpload); await task

blaueeiner commented 3 years ago

I am probably having the same problem. Trying to find out why some iOS users report that they are stuck while uploading media to Cloud Storage. For some reason it works on some devices as well as the own one. Therefore it is really hard to get to know more about the problems source. There is no exception being reported.In my case the media is also being uploaded successfully but the upload task does not seem to ever resolve.

Wian-TMC commented 3 years ago

For now I used a workaround with the retry package where I check if the file exists in the directory where I want to upload the file. The retry checks for the file in 1 seconds increments, and the retry amount you can set yourself (15 retries for 15 seconds) before assuming a timeout, for example. Far from perfect, but at least I can upload with SOME sort of feedback

ItzNotABug commented 3 years ago

One thing I noticed in my case is that the file was successfully uploaded to the storage but the putFile() never completed nor threw any error in catchError, the console just logged BackgroundSession <xxxx-xxxx> connection to background transfer daemon invalidated". I tried to put the storage task (putFile()) in a separate isolate using IsolateHandler & it worked but did not work in the root / main isolate, which was pretty strange...

sujindra-maharjan commented 2 years ago

@ItzNotABug Could you please share how did you fix it using isolateHandler?

ClaudeChey commented 2 years ago

In my case UploadTask didn't work when I used firebase_storage and background_locator together.

Wian-TMC commented 2 years ago

In my case UploadTask didn't work when I used firebase_storage and background_locator together.

Interesting. I also use [background_locator] and that seems when UploadTask for iOS does not function correctly

EidarousDev commented 2 years ago

I'm facing the same error. Still wondering how no one reached a solution for this :( For me, audio_service: ^0.17.0 is causing this problem. Once I remove this package, the problem is solved! However, I do need this audio_service package in my app :/ Any help?

sujindra-maharjan commented 2 years ago

@EidarousDev I had used audio_service 0.18.0-beta.0 to solve this problem. I hope it will helps. For more info: https://pub.dev/packages/audio_service/versions/0.18.0-beta.0#whats-new-in-0180

bilalgodesto commented 2 years ago

I am facing same issue with IOS 14

Wian-TMC commented 2 years ago

When I read the What's new for for audio_service 0.18.0-beta.0: 0.18.0 removes the need for a background isolate, allowing simpler communication between your UI and audio logic and greater compatibility with plugins that don't support multiple isolates.

The snippet compatibility with plugins that don't support multiple isolates maybe suggests that the firebase_storage plugin has a limit or issue regarding the amount of background isolates allowed for iOS?

bogdaniliebarbulescu commented 2 years ago

storage putFile never resolves if I use background isolate!

luiszheng0627 commented 2 years ago

here is better log. app has two isolates - main + bg one. when app tries to upload file to storage on main isolate using putFile, app always get issue

code: unauthorized
error: User is authenticated. Authenticated and try again

even though changed storage secure rule as any access, this problem did not resolve

fba40 commented 2 years ago

One thing I noticed in my case is that the file was successfully uploaded to the storage but the putFile() never completed nor threw any error in catchError, the console just logged BackgroundSession <xxxx-xxxx> connection to background transfer daemon invalidated". I tried to put the storage task (putFile()) in a separate isolate using IsolateHandler & it worked but did not work in the root / main isolate, which was pretty strange...

when I delete second isolate, my main isolate and putFile method worked!!!

russellwheatley commented 2 years ago

Hey @Wian-TMC, did you ever get to the bottom of your problem?

Wian-TMC commented 2 years ago

@russellwheatley I have not tested this issue on the new releases of Flutter (2.10.3) and the background_locator package. The uploads work perfectly fine without using the background_locator package, but I definitely still need to retest this to see if the issue persists.

russellwheatley commented 2 years ago

@Wian-TMC - thanks for the response, please let me know the results of the retest when possible πŸ‘

google-oss-bot commented 2 years ago

Hey @Wian-TMC. 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!

google-oss-bot commented 2 years ago

Since there haven't been any recent updates here, I am going to close this issue.

@Wian-TMC if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.