firebase-ios-sdk
firebase-ios-sdk copied to clipboard
FR: App Clips support for Firestore, Database, and others
[REQUIRED] Step 1: Describe your environment
- Xcode version: 12 beta 4
- Firebase SDK version: 6.18
- Firebase Component: Firestore
- Component version: ?
- Installation method: CocoaPods
[REQUIRED] Step 2: Describe the problem
Steps to reproduce:
What happened? How can we make the problem occur? The problem happens when you build an app clip using iOS 14 beta 4. Basically, you can not fetch any data from Firestore.
2020-08-05 16:14:06.137561+0300 Clip[369:7034] [Firebase/Crashlytics] Version 4.0.0-beta.5
2020-08-05 16:14:06.155306+0300 Clip[369:7212] 6.18.0 - [Firebase/Analytics][I-ACS023007] Analytics v.60300000 started
2020-08-05 16:14:06.155791+0300 Clip[369:7212] 6.18.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
2020-08-05 16:14:06.172743+0300 Clip[369:7212] 6.18.0 - [Firebase/Messaging][I-FCM001000] FIRMessaging Remote Notifications proxy enabled, will swizzle remote notification receiver handlers. If you'd prefer to manually integrate Firebase Messaging, add "FirebaseAppDelegateProxyEnabled" to your Info.plist, and set it to NO. Follow the instructions at:
https://firebase.google.com/docs/cloud-messaging/ios/client#method_swizzling_in_firebase_messaging
to ensure proper integration.
2020-08-05 16:14:06.209680+0300 Clip[369:7222] 6.18.0 - [Firebase/Analytics][I-ACS031025] Analytics screen reporting is enabled. Call +[FIRAnalytics setScreenName:setScreenClass:] to set the screen name or override the default screen class name. To disable screen reporting, set the flag FirebaseScreenReportingEnabled to NO (boolean) in the Info.plist
2020-08-05 16:14:28.207634+0300 Clip[369:7237] Task <80C5D1F2-20DC-407B-9656-9DCDBBF65ED7>.<1> finished with error [-1001] Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={_kCFStreamErrorCodeKey=-2102, NSUnderlyingError=0x2832ddb00 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDownloadTask <80C5D1F2-20DC-407B-9656-9DCDBBF65ED7>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalDownloadTask <80C5D1F2-20DC-407B-9656-9DCDBBF65ED7>.<1>"
), NSLocalizedDescription=The request timed out., NSErrorFailingURLStringKey=https://firebase-settings.crashlytics.com/spi/v2/platforms/ios/gmp/1:507611254454:ios:7a2a49bbc7db1191d4a017/settings?build_version=2&display_version=1.0&instance=af0a8719ebe3a346085d912c4fbe424e33f86864&source=1, NSErrorFailingURLKey=https://firebase-settings.crashlytics.com/spi/v2/platforms/ios/gmp/1:507611254454:ios:7a2a49bbc7db1191d4a017/settings?build_version=2&display_version=1.0&instance=af0a8719ebe3a346085d912c4fbe424e33f86864&source=1, _kCFStreamErrorDomainKey=4}
2020-08-05 16:14:28.217886+0300 Clip[369:7214] Task <80C5D1F2-20DC-407B-9656-9DCDBBF65ED7>.<1> HTTP load failed, 0/0 bytes (error code: -999 [1:89])
2020-08-05 16:14:28.218757+0300 Clip[369:7209] 6.18.0 - [Firebase/Analytics][I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
2020-08-05 16:14:28.335251+0300 Clip[369:7209] 6.18.0 - [Firebase/Analytics][I-ACS800003] Registered an SDK that has already registered. Default flags will be overwritten. SDK name: app_measurement
2020-08-05 16:14:28.335432+0300 Clip[369:7209] 6.18.0 - [Firebase/Analytics][I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
2020-08-05 16:14:28.476183+0300 Clip[369:7209] 6.18.0 - [Firebase/Analytics][I-ACS023012] Analytics collection enabled
2020-08-05 16:14:28.657968+0300 Clip[369:7211] [] quic_timer_recalculate no more timers to run
2020-08-05 16:14:28.658030+0300 Clip[369:7211] [] quic_fsm_conn_change invalid -> idle
2020-08-05 16:14:28.658059+0300 Clip[369:7211] [] quic_rtt_init init rtt 0x14b08e8b0
2020-08-05 16:14:28.658094+0300 Clip[369:7211] [] quic_cc_create creating cubic
2020-08-05 16:14:28.658119+0300 Clip[369:7211] [] cubic_create created cubic
2020-08-05 16:14:28.658143+0300 Clip[369:7211] [] quic_conn_set_mss change mss to 1200
2020-08-05 16:14:28.658182+0300 Clip[369:7211] [] quic_recovery_init init loss recovery 0x14e664000
2020-08-05 16:14:28.658255+0300 Clip[369:7211] [] quic_recovery_create create loss recovery 0x14e664000
2020-08-05 16:14:28.658285+0300 Clip[369:7211] [] quic_timer_recalculate no more timers to run
2020-08-05 16:14:28.658338+0300 Clip[369:7211] [] quic_initialize_block_invoke [C8.1.1:2] [4ffc2ca9d2b077fe-0502207e62e174bf] created QUIC connection (spin bit enabled)
2020-08-05 16:14:28.658404+0300 Clip[369:7211] [] quic_alloc_stream allocating a new stream
2020-08-05 16:14:28.658725+0300 Clip[369:7211] [] quic_handle_start_inner received start on shared flow
2020-08-05 16:14:28.658754+0300 Clip[369:7211] [] quic_idle_timeout_configure starting idle timer
2020-08-05 16:14:28.658789+0300 Clip[369:7211] [] quic_handle_start_inner starting TLS stream
2020-08-05 16:14:28.658874+0300 Clip[369:7211] [] quic_tp_serialize TP size: 48
2020-08-05 16:14:28.658908+0300 Clip[369:7211] [] quic_tp_serialize_parameter max_idle_timeout=0
2020-08-05 16:14:28.658938+0300 Clip[369:7211] [] quic_tp_serialize_parameter initial_max_data=2097152
2020-08-05 16:14:28.658969+0300 Clip[369:7211] [] quic_tp_serialize_parameter initial_max_stream_data_bidi_local=131072
2020-08-05 16:14:28.659003+0300 Clip[369:7211] [] quic_tp_serialize_parameter initial_max_stream_data_bidi_remote=131072
2020-08-05 16:14:28.659033+0300 Clip[369:7211] [] quic_tp_serialize_parameter initial_max_stream_data_uni=131072
2020-08-05 16:14:28.659064+0300 Clip[369:7211] [] quic_tp_serialize_parameter initial_max_streams_bidi=0
2020-08-05 16:14:28.659096+0300 Clip[369:7211] [] quic_tp_serialize_parameter initial_max_streams_uni=103
2020-08-05 16:14:28.659126+0300 Clip[369:7211] [] quic_tp_serialize_parameter active_connection_id_limit=64
2020-08-05 16:14:28.659166+0300 Clip[369:7211] [] quic_tp_serialize_parameter initial_scid=4ffc2ca9d2b077fe
2020-08-05 16:14:28.659358+0300 Clip[369:7211] [] quic_alloc_stream allocating a new stream
2020-08-05 16:14:28.659452+0300 Clip[369:7211] [] quic_crypto_tls_start_block_invoke_4 using flow 14a9405b8 (connection 0x14a93fed0) for TLS stream
2020-08-05 16:14:28.660200+0300 Clip[369:7211] [] quic_fsm_conn_change idle -> initial_sent
2020-08-05 16:14:28.660288+0300 Clip[369:7211] [] quic_recovery_set_timer initialized loss recovery timer (id 4)
2020-08-05 16:14:28.660418+0300 Clip[369:7211] [] quic_crypto_tls_start_block_invoke_6 TLS connection state: 2
2020-08-05 16:14:28.673458+0300 Clip[369:7209] [] quic_fsm_conn_change initial_sent -> handshake
2020-08-05 16:14:28.673745+0300 Clip[369:7209] [] nw_protocol_instance_access_flow_state [C8.1.1:2] Failed to find flow 14a940248
2020-08-05 16:14:28.673809+0300 Clip[369:7209] [] nw_protocol_instance_access_flow_state [C8.1.1:2] Failed to find flow 14a940248
2020-08-05 16:14:28.694551+0300 Clip[369:7211] [] quic_recovery_reset_pn_space reset loss recovery 0x14e664000 for packet number space initial
2020-08-05 16:14:28.694586+0300 Clip[369:7211] [] quic_recovery_reset_pn_space removed 0 outstanding/deferred packets
2020-08-05 16:14:28.694613+0300 Clip[369:7211] [] quic_ack_flush_for_pn_space flushing all PN for initial
2020-08-05 16:14:28.694632+0300 Clip[369:7211] [] quic_discard_initial_keys initial keys discarded
2020-08-05 16:14:28.694920+0300 Clip[369:7211] [] quic_packet_parser_open_header either encryption level phase0 not ready or not yet connected, currently not connected; queuing packet
2020-08-05 16:14:28.694943+0300 Clip[369:7211] [] quic_process_inbound ignoring packet of size 71
2020-08-05 16:14:28.703564+0300 Clip[369:7221] [] nw_protocol_instance_access_flow_state [C8.1.1:2] Failed to find flow 14a940248
2020-08-05 16:14:28.703662+0300 Clip[369:7221] [] nw_protocol_instance_access_flow_state [C8.1.1:2] Failed to find flow 14a940248
2020-08-05 16:14:28.704061+0300 Clip[369:7221] [] nw_protocol_instance_access_flow_state [C8.1.1:2] Failed to find flow 14a940248
2020-08-05 16:14:28.704590+0300 Clip[369:7221] [] quic_crypto_tls_start_block_invoke_6 TLS connection state: 3
2020-08-05 16:14:28.704602+0300 Clip[369:7221] [] nw_protocol_instance_access_flow_state [C8.1.1:2] Failed to find flow 14a940248
2020-08-05 16:14:28.704688+0300 Clip[369:7221] [] quic_tp_deserialize_buffer TP size: 140
2020-08-05 16:14:28.704722+0300 Clip[369:7221] [] quic_tp_deserialize_odcid original_dcid=0502207e62e174bf
2020-08-05 16:14:28.704748+0300 Clip[369:7221] [] quic_tp_deserialize_buffer max_idle_timeout=300000
2020-08-05 16:14:28.704776+0300 Clip[369:7221] [] quic_tp_deserialize_srt stateless_reset_token=70a06e2f92c951a6419965587d08a40f
2020-08-05 16:14:28.704799+0300 Clip[369:7221] [] quic_tp_deserialize_buffer max_udp_payload_size=1472
2020-08-05 16:14:28.704821+0300 Clip[369:7221] [] quic_tp_deserialize_buffer initial_max_data=196608
2020-08-05 16:14:28.704843+0300 Clip[369:7221] [] quic_tp_deserialize_buffer initial_max_stream_data_bidi_local=131072
2020-08-05 16:14:28.704921+0300 Clip[369:7221] [] quic_tp_deserialize_buffer initial_max_stream_data_bidi_remote=131072
2020-08-05 16:14:28.704944+0300 Clip[369:7221] [] quic_tp_deserialize_buffer initial_max_stream_data_uni=131072
2020-08-05 16:14:28.704966+0300 Clip[369:7221] [] quic_tp_deserialize_buffer initial_max_streams_bidi=100
2020-08-05 16:14:28.704988+0300 Clip[369:7221] [] quic_tp_deserialize_buffer initial_max_streams_uni=103
2020-08-05 16:14:28.705006+0300 Clip[369:7221] [] quic_tp_deserialize_buffer <unknown type 0x20>=<len 4>
2020-08-05 16:14:28.705029+0300 Clip[369:7221] [] quic_tp_deserialize_buffer disable_active_migration=1
2020-08-05 16:14:28.705057+0300 Clip[369:7221] [] quic_tp_deserialize_iscid initial_scid=0502207e62e174bf
2020-08-05 16:14:28.705075+0300 Clip[369:7221] [] quic_tp_deserialize_buffer <unknown type 0x4752>=<len 29>
2020-08-05 16:14:28.705093+0300 Clip[369:7221] [] quic_tp_deserialize_buffer <unknown type 0x11>=<len 9>
2020-08-05 16:14:28.705112+0300 Clip[369:7221] [] quic_rtt_set_remote_max_ack_delay new max ack delay: 25 ms
2020-08-05 16:14:28.705143+0300 Clip[369:7221] [] quic_fsm_conn_change handshake -> connected
2020-08-05 16:14:28.705171+0300 Clip[369:7221] [] quic_compute_post_connect_mss compute post connect mss: interface_mtu: 1500,max_udp_payload_size 1472, ipv6: 0, direct: 0,loopback: 0, restart_pmtud: 0
2020-08-05 16:14:28.705191+0300 Clip[369:7221] [] quic_compute_post_connect_mss max mss size: 1472
2020-08-05 16:14:28.705209+0300 Clip[369:7221] [] quic_conn_set_mss change mss to 1200
2020-08-05 16:14:28.705234+0300 Clip[369:7221] [] quic_pmtud_restart PMTUD: enabled max pmtu: 1500, header size: 28, current pmtu 1228
2020-08-05 16:14:28.705257+0300 Clip[369:7221] [] quic_pmtud_update_probe_size increase probe size to 1280
2020-08-05 16:14:28.705282+0300 Clip[369:7221] [] quic_pmtud_can_send_probe not probing while in key_state handshake
2020-08-05 16:14:28.705316+0300 Clip[369:7221] [] quic_crypto_tls_ready_inner [C8.1.1:2] [4ffc2ca9d2b077fe-0502207e62e174bf] QUIC connection established in 46.551 ms, RTT 13.219 ms
2020-08-05 16:14:28.705612+0300 Clip[369:7221] [] nw_protocol_instance_access_flow_state [C8.1.1:2] Failed to find flow 14a93d678
2020-08-05 16:14:28.706388+0300 Clip[369:7221] [] quic_stream_rcv_create [C8.1.1:2] [4ffc2ca9d2b077fe-0502207e62e174bf] creating inbound stream 3
2020-08-05 16:14:28.706479+0300 Clip[369:7221] [] quic_alloc_stream allocating a new stream
2020-08-05 16:14:28.706536+0300 Clip[369:7221] [] quic_stream_add_new_flow assigned flow 2803a0d20 to inbound stream 3
2020-08-05 16:14:28.706570+0300 Clip[369:7221] [] quic_fsm_recv_stream_change invalid -> receive
2020-08-05 16:14:28.706591+0300 Clip[369:7221] [] quic_fc_setup_stream setting up stream 3
2020-08-05 16:14:28.706653+0300 Clip[369:7221] [] quic_post_connect_annouce_ncids [C8.1.1:2] [4ffc2ca9d2b077fe-0502207e62e174bf] sending 0 new CIDs to the peer
2020-08-05 16:14:28.706676+0300 Clip[369:7221] [] quic_idle_timeout_fired idle timeout now: 225637084 last ts: 225637021 delta: 63 idle interval: 300000000
2020-08-05 16:14:28.706696+0300 Clip[369:7221] [] quic_idle_timeout_fired delay idle timeout by 299999937 us
2020-08-05 16:14:28.706995+0300 Clip[369:7221] [] quic_alloc_stream allocating a new stream
2020-08-05 16:14:28.707017+0300 Clip[369:7221] [] quic_handle_start_inner received start on flow 2803a0870 (TLS flow 14a9405b8)
2020-08-05 16:14:28.707037+0300 Clip[369:7221] [] quic_stream_send_create creating stream for 2803a0870
2020-08-05 16:14:28.707062+0300 Clip[369:7221] [] quic_stream_alloc_new_id allocated new stream id 2 for unidirectional stream
2020-08-05 16:14:28.707093+0300 Clip[369:7221] [] quic_fsm_send_stream_change invalid -> ready
2020-08-05 16:14:28.707112+0300 Clip[369:7221] [] quic_fc_setup_stream setting up stream 2
2020-08-05 16:14:28.707201+0300 Clip[369:7221] [] quic_fsm_send_stream_change ready -> send
2020-08-05 16:14:28.707455+0300 Clip[369:7221] [] quic_keepalive_configure [C8.1.1:2] [4ffc2ca9d2b077fe-0502207e62e174bf] started keep-alive timer
2020-08-05 16:14:28.707622+0300 Clip[369:7221] [] quic_alloc_stream allocating a new stream
2020-08-05 16:14:28.707643+0300 Clip[369:7221] [] quic_handle_start_inner received start on flow 2803a0e10 (TLS flow 14a9405b8)
2020-08-05 16:14:28.707662+0300 Clip[369:7221] [] quic_stream_send_create creating stream for 2803a0e10
2020-08-05 16:14:28.707686+0300 Clip[369:7221] [] quic_stream_alloc_new_id allocated new stream id 0 for bidirectional stream
2020-08-05 16:14:28.707715+0300 Clip[369:7221] [] quic_fsm_recv_stream_change invalid -> receive
2020-08-05 16:14:28.707741+0300 Clip[369:7221] [] quic_fsm_send_stream_change invalid -> ready
2020-08-05 16:14:28.707758+0300 Clip[369:7221] [] quic_fc_setup_stream setting up stream 0
2020-08-05 16:14:28.707890+0300 Clip[369:7221] [] quic_fsm_send_stream_change ready -> send
2020-08-05 16:14:28.708061+0300 Clip[369:7221] [] quic_alloc_stream allocating a new stream
2020-08-05 16:14:28.708082+0300 Clip[369:7221] [] quic_handle_start_inner received start on flow 2803a0f00 (TLS flow 14a9405b8)
2020-08-05 16:14:28.708101+0300 Clip[369:7221] [] quic_stream_send_create creating stream for 2803a0f00
2020-08-05 16:14:28.708125+0300 Clip[369:7221] [] quic_stream_alloc_new_id allocated new stream id 6 for unidirectional stream
2020-08-05 16:14:28.708156+0300 Clip[369:7221] [] quic_fsm_send_stream_change invalid -> ready
2020-08-05 16:14:28.708176+0300 Clip[369:7221] [] quic_fc_setup_stream setting up stream 6
2020-08-05 16:14:28.708250+0300 Clip[369:7221] [] quic_fsm_send_stream_change ready -> send
2020-08-05 16:14:28.708520+0300 Clip[369:7221] [] quic_handle_stop stopping flow 2803a0e10 (direction 2)
2020-08-05 16:14:28.708542+0300 Clip[369:7221] [] quic_handle_stop_write write closed for flow 2803a0e10
2020-08-05 16:14:28.708569+0300 Clip[369:7221] [] quic_fsm_send_stream_change send -> data_sent
2020-08-05 16:14:28.719710+0300 Clip[369:7209] [] quic_recovery_reset_pn_space reset loss recovery 0x14e664000 for packet number space handshake
2020-08-05 16:14:28.719745+0300 Clip[369:7209] [] quic_recovery_reset_pn_space removed 1 outstanding/deferred packets
2020-08-05 16:14:28.719772+0300 Clip[369:7209] [] quic_ack_flush_for_pn_space flushing all PN for handshake
2020-08-05 16:14:28.719790+0300 Clip[369:7209] [] quic_confirm_handshake handshake keys discarded
2020-08-05 16:14:28.721032+0300 Clip[369:7209] [] quic_timer_recalculate no more timers to run
2020-08-05 16:14:28.721065+0300 Clip[369:7209] [] quic_fsm_conn_change invalid -> idle
2020-08-05 16:14:28.721085+0300 Clip[369:7209] [] quic_rtt_init init rtt 0x14a033eb0
2020-08-05 16:14:28.721107+0300 Clip[369:7209] [] quic_cc_create creating cubic
2020-08-05 16:14:28.721126+0300 Clip[369:7209] [] cubic_create created cubic
2020-08-05 16:14:28.721144+0300 Clip[369:7209] [] quic_conn_set_mss change mss to 1200
2020-08-05 16:14:28.721173+0300 Clip[369:7209] [] quic_recovery_init init loss recovery 0x14e7ac000
2020-08-05 16:14:28.721235+0300 Clip[369:7209] [] quic_recovery_create create loss recovery 0x14e7ac000
2020-08-05 16:14:28.721258+0300 Clip[369:7209] [] quic_timer_recalculate no more timers to run
2020-08-05 16:14:28.721295+0300 Clip[369:7209] [] quic_initialize_block_invoke [C10.1.1:2] [35949bfe99aca635-4dbd502af605133c] created QUIC connection (spin bit enabled)
2020-08-05 16:14:28.721344+0300 Clip[369:7209] [] quic_alloc_stream allocating a new stream
2020-08-05 16:14:28.721582+0300 Clip[369:7209] [] quic_handle_start_inner received start on shared flow
2020-08-05 16:14:28.721603+0300 Clip[369:7209] [] quic_idle_timeout_configure starting idle timer
2020-08-05 16:14:28.721622+0300 Clip[369:7209] [] quic_handle_start_inner starting TLS stream
2020-08-05 16:14:28.721684+0300 Clip[369:7209] [] quic_tp_serialize TP size: 48
2020-08-05 16:14:28.721708+0300 Clip[369:7209] [] quic_tp_serialize_parameter max_idle_timeout=0
2020-08-05 16:14:28.721730+0300 Clip[369:7209] [] quic_tp_serialize_parameter initial_max_data=2097152
2020-08-05 16:14:28.721752+0300 Clip[369:7209] [] quic_tp_serialize_parameter initial_max_stream_data_bidi_local=131072
2020-08-05 16:14:28.721777+0300 Clip[369:7209] [] quic_tp_serialize_parameter initial_max_stream_data_bidi_remote=131072
2020-08-05 16:14:28.721800+0300 Clip[369:7209] [] quic_tp_serialize_parameter initial_max_stream_data_uni=131072
2020-08-05 16:14:28.721822+0300 Clip[369:7209] [] quic_tp_serialize_parameter initial_max_streams_bidi=0
2020-08-05 16:14:28.721843+0300 Clip[369:7209] [] quic_tp_serialize_parameter initial_max_streams_uni=103
2020-08-05 16:14:28.721865+0300 Clip[369:7209] [] quic_tp_serialize_parameter active_connection_id_limit=64
2020-08-05 16:14:28.721892+0300 Clip[369:7209] [] quic_tp_serialize_parameter initial_scid=35949bfe99aca635
2020-08-05 16:14:28.722022+0300 Clip[369:7209] [] quic_alloc_stream allocating a new stream
2020-08-05 16:14:28.722092+0300 Clip[369:7209] [] quic_crypto_tls_start_block_invoke_4 using flow 149e28f68 (connection 0x149e28880) for TLS stream
2020-08-05 16:14:28.722660+0300 Clip[369:7209] [] quic_fsm_conn_change idle -> initial_sent
2020-08-05 16:14:28.722710+0300 Clip[369:7209] [] quic_recovery_set_timer initialized loss recovery timer (id 4)
2020-08-05 16:14:28.723038+0300 Clip[369:7209] [] quic_crypto_tls_start_block_invoke_6 TLS connection state: 2
2020-08-05 16:14:28.733418+0300 Clip[369:7209] [] quic_fsm_send_stream_change data_sent -> data_received
2020-08-05 16:14:28.746174+0300 Clip[369:7209] [] quic_pmtud_create_block_invoke PMTUD timer fired
2020-08-05 16:14:28.746200+0300 Clip[369:7209] [] quic_pmtud_update_probe_size increase probe size to 1280
2020-08-05 16:14:28.752158+0300 Clip[369:7209] [] quic_fsm_conn_change initial_sent -> handshake
2020-08-05 16:14:28.752462+0300 Clip[369:7209] [] nw_protocol_instance_access_flow_state [C10.1.1:2] Failed to find flow 149e28bf8
2020-08-05 16:14:28.752525+0300 Clip[369:7209] [] nw_protocol_instance_access_flow_state [C10.1.1:2] Failed to find flow 149e28bf8
2020-08-05 16:14:28.757326+0300 Clip[369:7209] [] quic_packet_parser_open_header either encryption level phase0 not ready or not yet connected, currently not connected; queuing packet
2020-08-05 16:14:28.757356+0300 Clip[369:7209] [] quic_process_inbound ignoring packet of size 71
2020-08-05 16:14:28.757398+0300 Clip[369:7209] [] quic_recovery_reset_pn_space reset loss recovery 0x14e7ac000 for packet number space initial
2020-08-05 16:14:28.757425+0300 Clip[369:7209] [] quic_recovery_reset_pn_space removed 0 outstanding/deferred packets
2020-08-05 16:14:28.757458+0300 Clip[369:7209] [] quic_ack_flush_for_pn_space flushing all PN for initial
2020-08-05 16:14:28.757484+0300 Clip[369:7209] [] quic_discard_initial_keys initial keys discarded
2020-08-05 16:14:28.766407+0300 Clip[369:7209] [] nw_protocol_instance_access_flow_state [C10.1.1:2] Failed to find flow 149e28bf8
2020-08-05 16:14:28.766497+0300 Clip[369:7209] [] nw_protocol_instance_access_flow_state [C10.1.1:2] Failed to find flow 149e28bf8
2020-08-05 16:14:28.767084+0300 Clip[369:7209] [] nw_protocol_instance_access_flow_state [C10.1.1:2] Failed to find flow 149e28bf8
2020-08-05 16:14:28.767551+0300 Clip[369:7209] [] quic_crypto_tls_start_block_invoke_6 TLS connection state: 3
2020-08-05 16:14:28.767562+0300 Clip[369:7209] [] nw_protocol_instance_access_flow_state [C10.1.1:2] Failed to find flow 149e28bf8
2020-08-05 16:14:28.767601+0300 Clip[369:7209] [] quic_tp_deserialize_buffer TP size: 142
2020-08-05 16:14:28.767631+0300 Clip[369:7209] [] quic_tp_deserialize_odcid original_dcid=4dbd502af605133c
2020-08-05 16:14:28.767655+0300 Clip[369:7209] [] quic_tp_deserialize_buffer max_idle_timeout=300000
2020-08-05 16:14:28.767682+0300 Clip[369:7209] [] quic_tp_deserialize_srt stateless_reset_token=736ab7f198d8010b6b9a65006f92baa1
2020-08-05 16:14:28.767706+0300 Clip[369:7209] [] quic_tp_deserialize_buffer max_udp_payload_size=1472
2020-08-05 16:14:28.767728+0300 Clip[369:7209] [] quic_tp_deserialize_buffer initial_max_data=196608
2020-08-05 16:14:28.767751+0300 Clip[369:7209] [] quic_tp_deserialize_buffer initial_max_stream_data_bidi_local=131072
2020-08-05 16:14:28.767773+0300 Clip[369:7209] [] quic_tp_deserialize_buffer initial_max_stream_data_bidi_remote=131072
2020-08-05 16:14:28.767795+0300 Clip[369:7209] [] quic_tp_deserialize_buffer initial_max_stream_data_uni=131072
2020-08-05 16:14:28.767816+0300 Clip[369:7209] [] quic_tp_deserialize_buffer initial_max_streams_bidi=100
2020-08-05 16:14:28.767838+0300 Clip[369:7209] [] quic_tp_deserialize_buffer initial_max_streams_uni=103
2020-08-05 16:14:28.767856+0300 Clip[369:7209] [] quic_tp_deserialize_buffer <unknown type 0x20>=<len 4>
2020-08-05 16:14:28.767878+0300 Clip[369:7209] [] quic_tp_deserialize_buffer disable_active_migration=1
2020-08-05 16:14:28.767904+0300 Clip[369:7209] [] quic_tp_deserialize_iscid initial_scid=4dbd502af605133c
2020-08-05 16:14:28.767922+0300 Clip[369:7209] [] quic_tp_deserialize_buffer <unknown type 0x4752>=<len 29>
2020-08-05 16:14:28.767939+0300 Clip[369:7209] [] quic_tp_deserialize_buffer <unknown type 0x11>=<len 11>
2020-08-05 16:14:28.767959+0300 Clip[369:7209] [] quic_rtt_set_remote_max_ack_delay new max ack delay: 25 ms
2020-08-05 16:14:28.767987+0300 Clip[369:7209] [] quic_fsm_conn_change handshake -> connected
2020-08-05 16:14:28.768014+0300 Clip[369:7209] [] quic_compute_post_connect_mss compute post connect mss: interface_mtu: 1500,max_udp_payload_size 1472, ipv6: 0, direct: 0,loopback: 0, restart_pmtud: 0
2020-08-05 16:14:28.768034+0300 Clip[369:7209] [] quic_compute_post_connect_mss max mss size: 1472
2020-08-05 16:14:28.768054+0300 Clip[369:7209] [] quic_conn_set_mss change mss to 1200
2020-08-05 16:14:28.768079+0300 Clip[369:7209] [] quic_pmtud_restart PMTUD: enabled max pmtu: 1500, header size: 28, current pmtu 1228
2020-08-05 16:14:28.768098+0300 Clip[369:7209] [] quic_pmtud_update_probe_size increase probe size to 1280
2020-08-05 16:14:28.768120+0300 Clip[369:7209] [] quic_pmtud_can_send_probe not probing while in key_state handshake
2020-08-05 16:14:28.768154+0300 Clip[369:7209] [] quic_crypto_tls_ready_inner [C10.1.1:2] [35949bfe99aca635-4dbd502af605133c] QUIC connection established in 46.536 ms, RTT 29.499 ms
2020-08-05 16:14:28.768417+0300 Clip[369:7209] [] nw_protocol_instance_access_flow_state [C10.1.1:2] Failed to find flow 149e24948
2020-08-05 16:14:28.769862+0300 Clip[369:7209] [] quic_stream_rcv_create [C10.1.1:2] [35949bfe99aca635-4dbd502af605133c] creating inbound stream 3
2020-08-05 16:14:28.770030+0300 Clip[369:7209] [] quic_alloc_stream allocating a new stream
2020-08-05 16:14:28.770085+0300 Clip[369:7209] [] quic_stream_add_new_flow assigned flow 2803a52c0 to inbound stream 3
2020-08-05 16:14:28.770116+0300 Clip[369:7209] [] quic_fsm_recv_stream_change invalid -> receive
2020-08-05 16:14:28.770136+0300 Clip[369:7209] [] quic_fc_setup_stream setting up stream 3
2020-08-05 16:14:28.770198+0300 Clip[369:7209] [] quic_post_connect_annouce_ncids [C10.1.1:2] [35949bfe99aca635-4dbd502af605133c] sending 0 new CIDs to the peer
2020-08-05 16:14:28.770218+0300 Clip[369:7209] [] quic_idle_timeout_fired idle timeout now: 225700625 last ts: 225700564 delta: 61 idle interval: 300000000
2020-08-05 16:14:28.770237+0300 Clip[369:7209] [] quic_idle_timeout_fired delay idle timeout by 299999939 us
2020-08-05 16:14:28.770592+0300 Clip[369:7209] [] quic_alloc_stream allocating a new stream
2020-08-05 16:14:28.770615+0300 Clip[369:7209] [] quic_handle_start_inner received start on flow 2803a51d0 (TLS flow 149e28f68)
2020-08-05 16:14:28.770687+0300 Clip[369:7209] [] quic_stream_send_create creating stream for 2803a51d0
2020-08-05 16:14:28.770712+0300 Clip[369:7209] [] quic_stream_alloc_new_id allocated new stream id 2 for unidirectional stream
2020-08-05 16:14:28.770745+0300 Clip[369:7209] [] quic_fsm_send_stream_change invalid -> ready
2020-08-05 16:14:28.770763+0300 Clip[369:7209] [] quic_fc_setup_stream setting up stream 2
2020-08-05 16:14:28.770848+0300 Clip[369:7209] [] quic_fsm_send_stream_change ready -> send
2020-08-05 16:14:28.771025+0300 Clip[369:7209] [] quic_keepalive_configure [C10.1.1:2] [35949bfe99aca635-4dbd502af605133c] started keep-alive timer
2020-08-05 16:14:28.771154+0300 Clip[369:7209] [] quic_alloc_stream allocating a new stream
2020-08-05 16:14:28.771173+0300 Clip[369:7209] [] quic_handle_start_inner received start on flow 2803a4ff0 (TLS flow 149e28f68)
2020-08-05 16:14:28.771192+0300 Clip[369:7209] [] quic_stream_send_create creating stream for 2803a4ff0
2020-08-05 16:14:28.771214+0300 Clip[369:7209] [] quic_stream_alloc_new_id allocated new stream id 0 for bidirectional stream
2020-08-05 16:14:28.771242+0300 Clip[369:7209] [] quic_fsm_recv_stream_change invalid -> receive
2020-08-05 16:14:28.771268+0300 Clip[369:7209] [] quic_fsm_send_stream_change invalid -> ready
2020-08-05 16:14:28.771285+0300 Clip[369:7209] [] quic_fc_setup_stream setting up stream 0
2020-08-05 16:14:28.771397+0300 Clip[369:7209] [] quic_fsm_send_stream_change ready -> send
2020-08-05 16:14:28.771557+0300 Clip[369:7209] [] quic_alloc_stream allocating a new stream
2020-08-05 16:14:28.771578+0300 Clip[369:7209] [] quic_handle_start_inner received start on flow 2803a53b0 (TLS flow 149e28f68)
2020-08-05 16:14:28.771596+0300 Clip[369:7209] [] quic_stream_send_create creating stream for 2803a53b0
2020-08-05 16:14:28.771618+0300 Clip[369:7209] [] quic_stream_alloc_new_id allocated new stream id 6 for unidirectional stream
2020-08-05 16:14:28.771647+0300 Clip[369:7209] [] quic_fsm_send_stream_change invalid -> ready
2020-08-05 16:14:28.771666+0300 Clip[369:7209] [] quic_fc_setup_stream setting up stream 6
2020-08-05 16:14:28.771743+0300 Clip[369:7209] [] quic_fsm_send_stream_change ready -> send
2020-08-05 16:14:28.772000+0300 Clip[369:7209] [] quic_handle_stop stopping flow 2803a4ff0 (direction 2)
2020-08-05 16:14:28.772023+0300 Clip[369:7209] [] quic_handle_stop_write write closed for flow 2803a4ff0
2020-08-05 16:14:28.772050+0300 Clip[369:7209] [] quic_fsm_send_stream_change send -> data_sent
2020-08-05 16:14:28.783927+0300 Clip[369:7209] [] quic_conn_set_mss change mss to 1252
2020-08-05 16:14:28.783984+0300 Clip[369:7209] [] quic_pmtud_probe_acked probe for MTU 1280 ACKed
2020-08-05 16:14:28.784007+0300 Clip[369:7209] [] quic_pmtud_update_probe_size increase probe size to 1300
2020-08-05 16:14:28.794295+0300 Clip[369:7209] [] quic_recovery_reset_pn_space reset loss recovery 0x14e7ac000 for packet number space handshake
2020-08-05 16:14:28.794351+0300 Clip[369:7209] [] quic_recovery_reset_pn_space removed 1 outstanding/deferred packets
2020-08-05 16:14:28.794383+0300 Clip[369:7209] [] quic_ack_flush_for_pn_space flushing all PN for handshake
2020-08-05 16:14:28.794407+0300 Clip[369:7209] [] quic_confirm_handshake handshake keys discarded
2020-08-05 16:14:28.805260+0300 Clip[369:7209] [] quic_stream_rcv_create [C10.1.1:2] [35949bfe99aca635-4dbd502af605133c] creating inbound stream 7 (out of order)
2020-08-05 16:14:28.805384+0300 Clip[369:7209] [] quic_alloc_stream allocating a new stream
2020-08-05 16:14:28.805460+0300 Clip[369:7209] [] quic_stream_add_new_flow assigned flow 2803a10e0 to inbound stream 7
2020-08-05 16:14:28.805500+0300 Clip[369:7209] [] quic_fsm_recv_stream_change invalid -> receive
2020-08-05 16:14:28.805524+0300 Clip[369:7209] [] quic_fc_setup_stream setting up stream 7
2020-08-05 16:14:28.805569+0300 Clip[369:7209] [] quic_stream_rcv_create [C10.1.1:2] [35949bfe99aca635-4dbd502af605133c] creating inbound stream 11
2020-08-05 16:14:28.805654+0300 Clip[369:7209] [] quic_alloc_stream allocating a new stream
2020-08-05 16:14:28.805722+0300 Clip[369:7209] [] quic_stream_add_new_flow assigned flow 2803a0ff0 to inbound stream 11
2020-08-05 16:14:28.805763+0300 Clip[369:7209] [] quic_fsm_recv_stream_change invalid -> receive
2020-08-05 16:14:28.805788+0300 Clip[369:7209] [] quic_fc_setup_stream setting up stream 11
2020-08-05 16:14:28.805871+0300 Clip[369:7209] [] quic_fsm_recv_stream_change receive -> size_known
2020-08-05 16:14:28.805909+0300 Clip[369:7209] [] quic_fsm_recv_stream_change size_known -> data_received
2020-08-05 16:14:28.805956+0300 Clip[369:7209] [] quic_frame_process_RESET_STREAM [C10.1.1:2] [35949bfe99aca635-4dbd502af605133c] received RESET_STREAM on stream 0
2020-08-05 16:14:28.805994+0300 Clip[369:7209] [] quic_fsm_send_stream_change data_sent -> reset_sent
2020-08-05 16:14:28.806051+0300 Clip[369:7209] [] quic_fsm_recv_stream_change data_received -> data_read
2020-08-05 16:14:28.806250+0300 Clip[369:7209] [] quic_alloc_stream allocating a new stream
2020-08-05 16:14:28.806278+0300 Clip[369:7209] [] quic_handle_start_inner received start on flow 2803a11d0 (TLS flow 149e28f68)
2020-08-05 16:14:28.806304+0300 Clip[369:7209] [] quic_stream_send_create creating stream for 2803a11d0
2020-08-05 16:14:28.806338+0300 Clip[369:7209] [] quic_stream_alloc_new_id allocated new stream id 10 for unidirectional stream
2020-08-05 16:14:28.806385+0300 Clip[369:7209] [] quic_fsm_send_stream_change invalid -> ready
2020-08-05 16:14:28.806413+0300 Clip[369:7209] [] quic_fc_setup_stream setting up stream 10
2020-08-05 16:14:28.806519+0300 Clip[369:7209] [] quic_fsm_send_stream_change ready -> send
2020-08-05 16:14:28.806688+0300 Clip[369:7209] Task <5C9E3DDE-6CBD-43DD-B755-1CF74ED301E7>.<1> HTTP load failed, 527/273 bytes (error code: -1005 [4:-4])
2020-08-05 16:14:28.807079+0300 Clip[369:7034] Task <5C9E3DDE-6CBD-43DD-B755-1CF74ED301E7>.<1> finished with error [-1005] Error Domain=NSURLErrorDomain Code=-1005 "The network connection was lost." UserInfo={_kCFStreamErrorCodeKey=-4, NSUnderlyingError=0x283234c00 {Error Domain=kCFErrorDomainCFNetwork Code=-1005 "(null)" UserInfo={NSErrorPeerAddressKey=<CFData 0x281f9eda0 [0x1e99de600]>{length = 16, capacity = 16, bytes = 0x100201bbd83ad02e0000000000000000}, _kCFStreamErrorCodeKey=-4, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalUploadTask <5C9E3DDE-6CBD-43DD-B755-1CF74ED301E7>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalUploadTask <5C9E3DDE-6CBD-43DD-B755-1CF74ED301E7>.<1>"
), NSLocalizedDescription=The network connection was lost., NSErrorFailingURLStringKey=https://app-measurement.com/a, NSErrorFailingURLKey=https://app-measurement.com/a, _kCFStreamErrorDomainKey=4}
2020-08-05 16:14:28.807528+0300 Clip[369:7219] [] quic_handle_stop stopping flow 2803a4ff0 (direction 3)
2020-08-05 16:14:28.807637+0300 Clip[369:7219] [] quic_handle_stop_read read closed for flow 2803a4ff0
2020-08-05 16:14:28.807710+0300 Clip[369:7219] [] quic_handle_stop_write write closed for flow 2803a4ff0
2020-08-05 16:14:28.807768+0300 Clip[369:7211] 6.18.0 - [Firebase/Analytics][I-ACS901017] Encounter network error. Code, error: -1005, Error Domain=NSURLErrorDomain Code=-1005 "The network connection was lost." UserInfo={_kCFStreamErrorCodeKey=-4, NSUnderlyingError=0x283234c00 {Error Domain=kCFErrorDomainCFNetwork Code=-1005 "(null)" UserInfo={NSErrorPeerAddressKey=<CFData 0x281f9eda0 [0x1e99de600]>{length = 16, capacity = 16, bytes = 0x100201bbd83ad02e0000000000000000}, _kCFStreamErrorCodeKey=-4, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalUploadTask <5C9E3DDE-6CBD-43DD-B755-1CF74ED301E7>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalUploadTask <5C9E3DDE-6CBD-43DD-B755-1CF74ED301E7>.<1>"
), NSLocalizedDescription=The network connection was lost., NSErrorFailingURLStringKey=https://app-measurement.com/a, NSErrorFailingURLKey=https://app-measurement.com/a, _kCFStreamErrorDomainKey=4}
2020-08-05 16:14:28.807831+0300 Clip[369:7219] [] quic_keepalive_configure [C10.1.1:2] [35949bfe99aca635-4dbd502af605133c] stopped keep-alive timer
2020-08-05 16:14:28.807987+0300 Clip[369:7219] [] quic_recovery_reset reset loss recovery 0x14e7ac000
2020-08-05 16:14:28.808024+0300 Clip[369:7219] [] quic_recovery_reset_pn_space reset loss recovery 0x14e7ac000 for packet number space initial
2020-08-05 16:14:28.808051+0300 Clip[369:7219] [] quic_recovery_reset_pn_space removed 0 outstanding/deferred packets
2020-08-05 16:14:28.808081+0300 Clip[369:7219] [] quic_recovery_reset_pn_space reset loss recovery 0x14e7ac000 for packet number space handshake
2020-08-05 16:14:28.808107+0300 Clip[369:7219] [] quic_recovery_reset_pn_space removed 0 outstanding/deferred packets
2020-08-05 16:14:28.808137+0300 Clip[369:7219] [] quic_recovery_reset_pn_space reset loss recovery 0x14e7ac000 for packet number space application data
2020-08-05 16:14:28.808165+0300 Clip[369:7219] [] quic_recovery_reset_pn_space removed 3 outstanding/deferred packets
2020-08-05 16:14:28.808223+0300 Clip[369:7219] [] quic_frame_write_CONNECTION_CLOSE [C10.1.1:2] [35949bfe99aca635-4dbd502af605133c] sending APPLICATION_CLOSE, code 0x100, reason <null>
2020-08-05 16:14:28.808309+0300 Clip[369:7219] [] quic_fsm_conn_change connected -> closing
2020-08-05 16:14:28.808518+0300 Clip[369:7219] [] quic_handle_stop stopping flow 149e28f68 (direction 3)
2020-08-05 16:14:28.808546+0300 Clip[369:7219] [] quic_handle_stop_read read closed for flow 149e28f68
2020-08-05 16:14:28.808573+0300 Clip[369:7219] [] quic_handle_stop_write write closed for flow 149e28f68
2020-08-05 16:14:28.809269+0300 Clip[369:7219] [] quic_recovery_reset reset loss recovery 0x14e7ac000
2020-08-05 16:14:28.809306+0300 Clip[369:7219] [] quic_recovery_reset_pn_space reset loss recovery 0x14e7ac000 for packet number space initial
2020-08-05 16:14:28.809330+0300 Clip[369:7219] [] quic_recovery_reset_pn_space removed 0 outstanding/deferred packets
2020-08-05 16:14:28.809360+0300 Clip[369:7219] [] quic_recovery_reset_pn_space reset loss recovery 0x14e7ac000 for packet number space handshake
2020-08-05 16:14:28.809384+0300 Clip[369:7219] [] quic_recovery_reset_pn_space removed 0 outstanding/deferred packets
2020-08-05 16:14:28.809417+0300 Clip[369:7219] [] quic_recovery_reset_pn_space reset loss recovery 0x14e7ac000 for packet number space application data
2020-08-05 16:14:28.809452+0300 Clip[369:7219] [] quic_recovery_reset_pn_space removed 0 outstanding/deferred packets
2020-08-05 16:14:28.809490+0300 Clip[369:7219] [] quic_fsm_conn_change closing -> draining
2020-08-05 16:14:28.809882+0300 Clip[369:7219] [] quic_alloc_stream allocating a new stream
2020-08-05 16:14:28.809910+0300 Clip[369:7219] [] quic_handle_start_inner received start on flow 2803a12c0 (TLS flow 149e28f68)
2020-08-05 16:14:28.809996+0300 Clip[369:7219] [] quic_handle_stop stopping flow 2803a12c0 (direction 2)
2020-08-05 16:14:28.810024+0300 Clip[369:7219] [] quic_handle_stop_write write closed for flow 2803a12c0
2020-08-05 16:14:28.810269+0300 Clip[369:7219] [] quic_handle_stop stopping all flows (direction 3)
2020-08-05 16:14:28.810296+0300 Clip[369:7219] [] quic_close_connection already in closing or draining state
2020-08-05 16:14:28.810506+0300 Clip[369:7219] [] quic_crypto_tls_start_block_invoke_6 TLS connection state: 5
2020-08-05 16:14:28.812414+0300 Clip[369:7219] 6.18.0 - [Firebase/Analytics][I-ACS012054] The number of upload retries exceeds the limit. Will remain unchanged.
2020-08-05 16:14:28.833043+0300 Clip[369:7219] [] quic_conn_set_mss change mss to 1272
2020-08-05 16:14:28.833079+0300 Clip[369:7219] [] quic_pmtud_probe_acked probe for MTU 1300 ACKed
2020-08-05 16:14:28.833102+0300 Clip[369:7219] [] quic_pmtud_update_probe_size increase probe size to 1350
2020-08-05 16:14:28.833153+0300 Clip[369:7219] [] quic_process_inbound ignoring packet (len=33) since we are draining
2020-08-05 16:14:28.870577+0300 Clip[369:7219] [] quic_conn_set_mss change mss to 1322
2020-08-05 16:14:28.870651+0300 Clip[369:7219] [] quic_pmtud_probe_acked probe for MTU 1350 ACKed
2020-08-05 16:14:28.870700+0300 Clip[369:7219] [] quic_pmtud_update_probe_size increase probe size to 1370
2020-08-05 16:14:28.908099+0300 Clip[369:7209] [] quic_conn_set_mss change mss to 1342
2020-08-05 16:14:28.908144+0300 Clip[369:7209] [] quic_pmtud_probe_acked probe for MTU 1370 ACKed
2020-08-05 16:14:28.908168+0300 Clip[369:7209] [] quic_pmtud_update_probe_size increase probe size to 1390
2020-08-05 16:14:28.945261+0300 Clip[369:7209] [] quic_conn_set_mss change mss to 1362
2020-08-05 16:14:28.945324+0300 Clip[369:7209] [] quic_pmtud_probe_acked probe for MTU 1390 ACKed
2020-08-05 16:14:28.945362+0300 Clip[369:7209] [] quic_pmtud_update_probe_size increase probe size to 1410
2020-08-05 16:14:28.982855+0300 Clip[369:7209] [] quic_conn_set_mss change mss to 1382
2020-08-05 16:14:28.982932+0300 Clip[369:7209] [] quic_pmtud_probe_acked probe for MTU 1410 ACKed
2020-08-05 16:14:28.982980+0300 Clip[369:7209] [] quic_pmtud_update_probe_size increase probe size to 1430
2020-08-05 16:14:29.026728+0300 Clip[369:7209] [] quic_conn_set_mss change mss to 1402
2020-08-05 16:14:29.028979+0300 Clip[369:7209] [] quic_pmtud_probe_acked probe for MTU 1430 ACKed
2020-08-05 16:14:29.029071+0300 Clip[369:7209] [] quic_pmtud_update_probe_size increase probe size to 1450
2020-08-05 16:14:29.068801+0300 Clip[369:7221] [] quic_conn_set_mss change mss to 1422
2020-08-05 16:14:29.068847+0300 Clip[369:7221] [] quic_pmtud_probe_acked probe for MTU 1450 ACKed
2020-08-05 16:14:29.068872+0300 Clip[369:7221] [] quic_pmtud_update_probe_size increase probe size to 1492
2020-08-05 16:14:29.121968+0300 Clip[369:7323] 6.18.0 - [Firebase/Firestore][I-FST000001] Could not reach Cloud Firestore backend. Connection failed 1 times. Most recent error: failed to connect to all addresses
This typically indicates that your device does not have a healthy Internet connection at the moment. The client will operate in offline mode until it is able to successfully connect to the backend.
Relevant Code:
let locationsRef = Firestore.firestore().document("locations/\(locationID)");
locationsRef.getDocument() {(result, err) in
let newLocation = FirestoreLocation(context: self.context)
if let err = err {
print(err) // here it prints the error
}
completion(newLocation);
}
The problem was not here in iOS Beta 3 and Auth for example is working well and generates an anonymous token everytime.
Looks like network requests are failing across multiple SDKs (Crashlytics, Analytics, Firestore) with either network connection lost or request timeout errors. Are you able to reproduce this on every network (for example LTE and different wifi networks)?
Yes, it happened on both wifi and LTE. The simulator is working fine, but tested it with 2 phones, both iOS 14 beta 4 and looks like it is not working.
This is unlikely to make a difference, but are the connection issues reproducible with Firebase 6.29?
target 'Clip' do
use_frameworks!
platform :ios, '14.0'
pod 'Kingfisher/SwiftUI'
pod 'Firebase/Crashlytics'
pod 'FirebaseFirestoreSwift'
pod 'Firebase/Analytics'
pod 'Firebase/Firestore'
pod 'Firebase/Auth'
end
This is my current podfile, how can I change Firebase version if I'm importing just the parts I need?
Do pod update
Did it, many packages got updated, but it is still not working.
@DanMotataeanu if you create a blank project and set up App Clips and use Firestore (same project is fine) - do you run into the same issue?
Creating a new project, setup an app clip for it and trying to integrate Firebase services it doesn't even get past the phase where Firebase is waiting for a connection.
Hi @DanMotataeanu - I was unable to reproduce the issue in a blank App Clip project.
Steps I tried:
- Created new Xcode Project
- Selected iOS app -> UIKit AppDelegate
- Added App Clip target
- Ran
pod init
- Added
Firebase/Firestore
to the Podfile. Ran into an unrelated issue (#4889) but fixed it withuse_frameworks! :linkage => :static
in the App Clip target. - Added
GoogleService-Info.plist
file to project. - Added
FirebaseApp.configure()
toAppDelegate.swift
- Added Firestore specific code in an
onAppear
SwiftUI view, similar to your code snippet. - Observed Firestore APIs being called correctly.
If you do have a new project that does reproduce the issue, please share it with us (without a GoogleService-Info.plist) and we can make further progress but without a reproduction we won't be able to get very far.
Thanks for helping me out!
At this moment I have this very simple code which triggers the error.
struct ContentView: View {
var body: some View {
Text("Hello, world!")
.padding().onAppear{
Firestore.firestore().collection("locations").getDocuments{ (docs, err) in
if let err = err {
print(err.localizedDescription)
}
else {
for doc in docs!.documents {
print(doc.documentID)
}
}
}
}
}
}
FirebaseApp.configure()
called in in AppDelegate.swift
as you did.
Full console log
2020-08-11 03:00:49.698673+0300 testt[8176:1731497] libMobileGestalt MobileGestaltCache.c:166: Cache loaded with 4527 pre-cached in CacheData and 45 items in CacheExtra.
2020-08-11 03:00:54.221556+0300 testt[8176:1732225] [] quic_timer_recalculate no more timers to run
2020-08-11 03:00:54.221656+0300 testt[8176:1732225] [] quic_fsm_conn_change invalid -> idle
2020-08-11 03:00:54.221710+0300 testt[8176:1732225] [] quic_rtt_init init rtt 0x1088158b0
2020-08-11 03:00:54.221791+0300 testt[8176:1732225] [] quic_cc_create creating cubic
2020-08-11 03:00:54.221830+0300 testt[8176:1732225] [] cubic_create created cubic
2020-08-11 03:00:54.221898+0300 testt[8176:1732225] [] quic_conn_set_mss change mss to 1200
2020-08-11 03:00:54.222024+0300 testt[8176:1732225] [] quic_recovery_init init loss recovery 0x10aa50000
2020-08-11 03:00:54.222223+0300 testt[8176:1732225] [] quic_recovery_create create loss recovery 0x10aa50000
2020-08-11 03:00:54.222322+0300 testt[8176:1732225] [] quic_timer_recalculate no more timers to run
2020-08-11 03:00:54.222409+0300 testt[8176:1732225] [] quic_initialize_block_invoke [C1.1.1:2] [cef4b4b209edbc7b-d0d4de69b5e1925e] created QUIC connection (spin bit disabled)
2020-08-11 03:00:54.222847+0300 testt[8176:1732225] [] quic_alloc_stream allocating a new stream
2020-08-11 03:00:54.224542+0300 testt[8176:1732225] [] quic_handle_start_inner received start on shared flow
2020-08-11 03:00:54.224593+0300 testt[8176:1732225] [] quic_idle_timeout_configure starting idle timer
2020-08-11 03:00:54.224658+0300 testt[8176:1732225] [] quic_handle_start_inner starting TLS stream
2020-08-11 03:00:54.224875+0300 testt[8176:1732225] [] quic_tp_serialize TP size: 48
2020-08-11 03:00:54.224940+0300 testt[8176:1732225] [] quic_tp_serialize_parameter max_idle_timeout=0
2020-08-11 03:00:54.224982+0300 testt[8176:1732225] [] quic_tp_serialize_parameter initial_max_data=2097152
2020-08-11 03:00:54.225024+0300 testt[8176:1732225] [] quic_tp_serialize_parameter initial_max_stream_data_bidi_local=131072
2020-08-11 03:00:54.225067+0300 testt[8176:1732225] [] quic_tp_serialize_parameter initial_max_stream_data_bidi_remote=131072
2020-08-11 03:00:54.225109+0300 testt[8176:1732225] [] quic_tp_serialize_parameter initial_max_stream_data_uni=131072
2020-08-11 03:00:54.225150+0300 testt[8176:1732225] [] quic_tp_serialize_parameter initial_max_streams_bidi=0
2020-08-11 03:00:54.225189+0300 testt[8176:1732225] [] quic_tp_serialize_parameter initial_max_streams_uni=103
2020-08-11 03:00:54.225293+0300 testt[8176:1732225] [] quic_tp_serialize_parameter active_connection_id_limit=64
2020-08-11 03:00:54.225357+0300 testt[8176:1732225] [] quic_tp_serialize_parameter initial_scid=cef4b4b209edbc7b
2020-08-11 03:00:54.225875+0300 testt[8176:1732225] [] quic_alloc_stream allocating a new stream
2020-08-11 03:00:54.226102+0300 testt[8176:1732225] [] quic_crypto_tls_start_block_invoke_4 using flow 10730b578 (connection 0x10730ae90) for TLS stream
2020-08-11 03:00:54.228265+0300 testt[8176:1732225] [] quic_fsm_conn_change idle -> initial_sent
2020-08-11 03:00:54.229159+0300 testt[8176:1732225] [] quic_recovery_set_timer initialized loss recovery timer (id 4)
2020-08-11 03:00:54.230346+0300 testt[8176:1732225] [] quic_crypto_tls_start_block_invoke_6 TLS connection state: 2
2020-08-11 03:00:54.257068+0300 testt[8176:1732224] [] quic_fsm_conn_change initial_sent -> handshake
2020-08-11 03:00:54.257860+0300 testt[8176:1732224] [] nw_protocol_instance_access_flow_state [C1.1.1:2] Failed to find flow 10730b208
2020-08-11 03:00:54.259668+0300 testt[8176:1732224] [] nw_protocol_instance_access_flow_state [C1.1.1:2] Failed to find flow 10730b208
2020-08-11 03:00:54.265935+0300 testt[8176:1732224] [] quic_handle_stop stopping all flows (direction 3)
2020-08-11 03:00:54.265992+0300 testt[8176:1732224] [] quic_recovery_reset reset loss recovery 0x10aa50000
2020-08-11 03:00:54.266039+0300 testt[8176:1732224] [] quic_recovery_reset_pn_space reset loss recovery 0x10aa50000 for packet number space initial
2020-08-11 03:00:54.266075+0300 testt[8176:1732224] [] quic_recovery_reset_pn_space removed 0 outstanding/deferred packets
2020-08-11 03:00:54.266136+0300 testt[8176:1732224] [] quic_recovery_reset_pn_space reset loss recovery 0x10aa50000 for packet number space handshake
2020-08-11 03:00:54.266177+0300 testt[8176:1732224] [] quic_recovery_reset_pn_space removed 0 outstanding/deferred packets
2020-08-11 03:00:54.266275+0300 testt[8176:1732224] [] quic_recovery_reset_pn_space reset loss recovery 0x10aa50000 for packet number space application data
2020-08-11 03:00:54.266316+0300 testt[8176:1732224] [] quic_recovery_reset_pn_space removed 0 outstanding/deferred packets
2020-08-11 03:00:54.266421+0300 testt[8176:1732224] [] quic_frame_write_CONNECTION_CLOSE [C1.1.1:2] [cef4b4b209edbc7b-d0d4de69b5e1925e] sending CONNECTION_CLOSE, code NO_ERROR, type UNKNOWN, reason <null>
2020-08-11 03:00:54.266577+0300 testt[8176:1732224] [] quic_recovery_reset_pn_space reset loss recovery 0x10aa50000 for packet number space initial
2020-08-11 03:00:54.266621+0300 testt[8176:1732224] [] quic_recovery_reset_pn_space removed 0 outstanding/deferred packets
2020-08-11 03:00:54.266664+0300 testt[8176:1732224] [] quic_ack_flush_for_pn_space flushing all PN for initial
2020-08-11 03:00:54.266698+0300 testt[8176:1732224] [] quic_discard_initial_keys initial keys discarded
2020-08-11 03:00:54.266743+0300 testt[8176:1732224] [] quic_fsm_conn_change handshake -> closing
2020-08-11 03:00:54.267137+0300 testt[8176:1732224] [] quic_handle_stop stopping flow 10730b578 (direction 3)
2020-08-11 03:00:54.267214+0300 testt[8176:1732224] [] quic_handle_stop_read read closed for flow 10730b578
2020-08-11 03:00:54.267257+0300 testt[8176:1732224] [] quic_handle_stop_write write closed for flow 10730b578
2020-08-11 03:00:54.267568+0300 testt[8176:1732224] [] quic_recovery_reset reset loss recovery 0x10aa50000
2020-08-11 03:00:54.267620+0300 testt[8176:1732224] [] quic_recovery_reset_pn_space reset loss recovery 0x10aa50000 for packet number space initial
2020-08-11 03:00:54.267657+0300 testt[8176:1732224] [] quic_recovery_reset_pn_space removed 0 outstanding/deferred packets
2020-08-11 03:00:54.267699+0300 testt[8176:1732224] [] quic_recovery_reset_pn_space reset loss recovery 0x10aa50000 for packet number space handshake
2020-08-11 03:00:54.267732+0300 testt[8176:1732224] [] quic_recovery_reset_pn_space removed 0 outstanding/deferred packets
2020-08-11 03:00:54.267780+0300 testt[8176:1732224] [] quic_recovery_reset_pn_space reset loss recovery 0x10aa50000 for packet number space application data
2020-08-11 03:00:54.267815+0300 testt[8176:1732224] [] quic_recovery_reset_pn_space removed 0 outstanding/deferred packets
2020-08-11 03:00:54.267863+0300 testt[8176:1732224] [] quic_fsm_conn_change closing -> draining
2020-08-11 03:00:54.269034+0300 testt[8176:1732224] [] quic_crypto_tls_start_block_invoke_6 TLS connection state: 5
2020-08-11 03:00:54.269087+0300 testt[8176:1732224] [] quic_handle_stop stopping all flows (direction 3)
2020-08-11 03:00:54.269121+0300 testt[8176:1732224] [] quic_close_connection already in closing or draining state
2020-08-11 03:00:54.269166+0300 testt[8176:1732224] [] quic_destroy destroying QUIC connection
2020-08-11 03:00:54.269199+0300 testt[8176:1732224] [] quic_recovery_reset reset loss recovery 0x10aa50000
2020-08-11 03:00:54.269239+0300 testt[8176:1732224] [] quic_recovery_reset_pn_space reset loss recovery 0x10aa50000 for packet number space initial
2020-08-11 03:00:54.269273+0300 testt[8176:1732224] [] quic_recovery_reset_pn_space removed 0 outstanding/deferred packets
2020-08-11 03:00:54.269316+0300 testt[8176:1732224] [] quic_recovery_reset_pn_space reset loss recovery 0x10aa50000 for packet number space handshake
2020-08-11 03:00:54.269349+0300 testt[8176:1732224] [] quic_recovery_reset_pn_space removed 0 outstanding/deferred packets
2020-08-11 03:00:54.269399+0300 testt[8176:1732224] [] quic_recovery_reset_pn_space reset loss recovery 0x10aa50000 for packet number space application data
2020-08-11 03:00:54.269530+0300 testt[8176:1732224] [] quic_recovery_reset_pn_space removed 0 outstanding/deferred packets
2020-08-11 03:00:54.269608+0300 testt[8176:1732224] [] quic_dealloc_conn deallocating connection
2020-08-11 03:00:54.269650+0300 testt[8176:1732224] [] quic_packet_builder_destroy destroying packet builder
2020-08-11 03:00:54.269701+0300 testt[8176:1732224] [] _quic_recovery_destroy destroy loss recovery 0x10aa50000
2020-08-11 03:00:54.269748+0300 testt[8176:1732224] [] _quic_recovery_destroy removed 0 outstanding packets
2020-08-11 03:00:54.269806+0300 testt[8176:1732224] [] quic_timer_destroy destroying timer
2020-08-11 03:00:54.454342+0300 testt[8176:1731783] 6.29.0 - [Firebase/Firestore][I-FST000001] WatchStream (2822a4e18) Stream error: 'Unavailable: failed to connect to all addresses'
2020-08-11 03:00:54.455106+0300 testt[8176:1731783] 6.29.0 - [Firebase/Firestore][I-FST000001] Could not reach Cloud Firestore backend. Connection failed 1 times. Most recent error: failed to connect to all addresses
This typically indicates that your device does not have a healthy Internet connection at the moment. The client will operate in offline mode until it is able to successfully connect to the backend.
If you still can't reproduce it, I might also try a factory reset of the phone to see if that helps.
Aha! Apologies for not noticing the simulator vs device comment you had previously mentioned.
Good news and bad news: good news is I was able to reproduce! Bad news is that it looks like a real issue, I'll start digging into what's going on now.
Thank you very much again for reporting this 👍
While digging into this issue, we've turned up this note: https://developer.apple.com/forums/thread/652104.
Firestore uses gRPC which uses CFStream for network access. This is being denied by the OS. Unfortunately this means there's no short term fix possible for this--we'd need to either migrate gRPC to NSURLSession or reimplement the subset we need for ourselves, neither of which are small projects.
For the foreseeable future this means that the Firestore SDK is not compatible with App Clips. To access Firestore data you'll need to use the REST API via NSURLSession.
Whoa, quite bad news this time.
While calls for fetching documents from the database could be replaced by httpsCallable
cloud functions, the real time listeners don't really have any alternative.
For the foreseeable future this means that the Firestore SDK is not compatible with App Clips
This means that even after launching the App Clips (hopefully fall 2020) Firebase compatibility isn't 100% sure?
As a side note, my other issue might have the same root cause?
Whoa, quite bad news this time.
While calls for fetching documents from the database could be replaced by
httpsCallable
cloud functions, the real time listeners don't really have any alternative.
Fetching documents can be done directly against the Firestore REST API without needing to stand up a cloud function (background, reference). You're right that the major limitation here is that listens are not available in the REST API.
For the foreseeable future this means that the Firestore SDK is not compatible with App Clips
This means that even after launching the App Clips (hopefully fall 2020) Firebase compatibility isn't 100% sure?
At this point we can't commit to this working when App Clips launch. I won't say it's impossible, but you should definitely plan for Firestore to be incompatible with App Clips.
As a side note, my other issue might have the same root cause?
I can't speak with any authority on that topic. From what I can see the error contains an _NSURLErrorFailingURLSessionTaskErrorKey
which seems to indicate that this is using NSURLSession but failing anyway. This seems like a different issue.
This is also the exact same issue with FirebaseDatabase.
@StephanWalters yes, unfortunately Firebase Database is affected by the same issue.
On the technical level, the hurdles to get Database running are going to be easier since it's not migrating gRPC but migrating from SocketRocket (which is an overall smaller dependency) and the surface area of APIs that touch SocketRocket is relatively small. That being said, it's still replacing the entire networking stack of the SDK and that requires extensive testing and careful consideration, so it likely won't arrive in time for the public release but we're investigating it.
I momentarily used this ver dirty workaround https://gist.github.com/YannisDC/2ff574a127ab1401b01e10eb69d53f08 using it in a repository as such https://gist.github.com/YannisDC/35bc907e667633e0ad0179b54b107af6 for those that want a temporary workaround.
@YannisDC I am doing something similar using IK Event Source for server side events, to simulate firebase's real time listenrs:
https://github.com/inaka/EventSource
I found, when i turn on my iPhone Settings
-> Developer
-> HTTP/3
and use firebase, this will happen.
Turn off HTTP/3
then no these logs.
Hi, are there any updates as to if or when this issue will be fixed? Trying to integrate Firestore with an App Clip here, thanks!
There probably won’t be any fix. App clips don’t allow socket connections (CFSocket) on physical devices. Your best bet will be to use Firebase Functions and use your Firestore code in that.
On Tue, Nov 17, 2020 at 9:54 PM William Bai [email protected] wrote:
Hi, are there any updates as to if or when this issue will be fixed? Trying to integrate Firestore with an App Clip here, thanks!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/firebase/firebase-ios-sdk/issues/6211#issuecomment-729343152, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7B63D72Q3PR4NI5H7OY6TSQMZNBANCNFSM4PVPJGIA .
There's no "fix" to make. We're working with the gRPC team to build an alternative implementation that is compatible with App Clips (and also watchOS). This is a major undertaking and we can't promise it will even necessarily work or when it will be released.
If you're building an App Clip today and want access to Firestore data, you'll need to access the data using means other than this SDK, as described above.
Even though this was reported as a bug, the best way to think of this is as a feature request to support App Clips. We're leaving it open on that basis.
Not sure if this info helps or not but I'm trying to upload a file to Firebase Storage in an AppClip. When I do fileRef.putData() for a small text file, all work fine. When I do fileRef.putFile(), I'm getting "unknown error". From the error message and other log entries, it looks like it's related to this:
https://developer.apple.com/forums/thread/669148
Basically, that guy says, you can't use background session in an appclip. My best guess is that putFile() uses background session while putFile doesn't. Didn't look into the sources though.
I momentarily used this ver dirty workaround https://gist.github.com/YannisDC/2ff574a127ab1401b01e10eb69d53f08 using it in a repository as such https://gist.github.com/YannisDC/35bc907e667633e0ad0179b54b107af6 for those that want a temporary workaround.
@YannisDC does this work the same way a listener works, or do you have to manually poll for data?
Hello Everybody, @ryanwilson
Are there any updates here? I am facing a similar problem with the app clip, and I'd like to know if there are any updates.
Thanks!
We're working with the gRPC team to build an alternative implementation that is compatible with App Clips (and also watchOS).
Is there a GitHub issue tracking this effort?
We're working with the gRPC team to build an alternative implementation that is compatible with App Clips (and also watchOS).
Is there a GitHub issue tracking this effort?
^
I just tried saving a document and fetching it from Firestore in an AppClip and it works as expected. I've not tested real time updates, but my use case doesn't require that. Just fetching and saving is good enough for me.
FYI, To access same Firestore from both main app and app clip targets, you need to add two iOS apps in your Firebase console with the bundle identifiers of main app and app clip.
By the way, I also tested Firebase functions from the AppClip and that worked as expected as well.
@imthath-m was this on a real device? If so, which iOS version? If it's in the simulator, note that the networking stack used by the simulator is not the same as on device, where the simulator worked and the device didn't last time I checked.
Sorry folks, I don't have any other updates around this. The REST endpoint is still the best way to access Firestore data from an App Clip.
@ryanwilson Thanks for the pointer. Indeed, I tested in Simulator and it is not working in physical device.
However, I tried callable firebase functions from App Clips in physical device (iOS 16.7) and they work as expected. I assume they don't need require socket connections to work (even though some libraries are added). I might go with callable functions instead of REST endpoints.