Closed luoyingli closed 5 years ago
I found a few problems with this issue:
@luoyingli Thanks for the report. This looks like #3381. While we haven't been able to diagnose, this section of code was replaced in Firebase 6.6.0, so pod update
will likely resolve the issue.
We have upgraded Firebase to 6.7.0, and in the case of DebugView debug mode, there is also uploading data, but there is still a network outage in the console log. Does this have anything to do with active users? The following are active users, DebugView, and console logs.
console logs
2019-08-28 14:22:42.209086+0800 ****[8243:2275509] 6.7.0 - [Firebase/Performance][I-PRF200004] Trace feature is disabled.
2019-08-28 14:22:42.215419+0800 ****[8243:2275509] 6.7.0 - [Firebase/Performance][I-PRF900002] Session Id generated - 21c1360dd18c424baa1f188cf81037fa
2019-08-28 14:22:45.601124+0800 ****[8243:2275518] 6.7.0 - [Firebase/Core][I-COR000001] Configuring the default app.
2019-08-28 14:22:45.609555+0800 ****[8243:2275518] 6.7.0 - [Firebase/Core][I-COR000033] Data Collection flag is not set.
2019-08-28 14:22:45.796775+0800 ****[8243:2275509] 6.7.0 - [Firebase/InstanceID][I-IID023000] Info is not found in Keychain. OSStatus: -25300. Keychain query: {
2019-08-28 14:22:45.799038+0800 ****[8243:2275509] 6.7.0 - [Firebase/InstanceID][I-IID023000] Info is not found in Keychain. OSStatus: -25300. Keychain query: {
2019-08-28 14:22:45.803575+0800 ****[8243:2275509] 6.7.0 - [Firebase/InstanceID][I-IID023000] Info is not found in Keychain. OSStatus: -25300. Keychain query: {
2019-08-28 14:22:45.804988+0800 ****[8243:2275509] 6.7.0 - [Firebase/InstanceID][I-IID009000] No keypair info is found with tag com.google.iid-|K|
2019-08-28 14:22:45.805350+0800 ****[8243:2275509] 6.7.0 - [Firebase/InstanceID][I-IID009006] There's no legacy keypair so no need to do migration.
2019-08-28 14:22:45.805745+0800 ****[8243:2275509] 6.7.0 - [Firebase/InstanceID][I-IID023000] Info is not found in Keychain. OSStatus: -25300. Keychain query: {
2019-08-28 14:22:45.810401+0800 ****[8243:2275509] 6.7.0 - [Firebase/Performance][I-PRF100009] Recording trace: _p
2019-08-28 14:22:45.810837+0800 ****[8243:2275509] 6.7.0 - [Firebase/Performance][I-PRF300005] URL length exceeds limits, truncating recorded URL - https://nim.qiyukf.com/webapi/user/da/config.
2019-08-28 14:22:45.822599+0800 ****[8243:2275509] 6.7.0 - [Firebase/RemoteConfig][I-RCN000062] Loading database at path /var/mobile/Containers/Data/Application/066ED2A7-D831-42DA-BF5C-6CB977DBCBB9/Library/Application Support/Google/RemoteConfig/RemoteConfig.sqlite3
2019-08-28 14:22:45.824163+0800 ****[8243:2275509] 6.7.0 - [Firebase/RemoteConfig][I-RCN000039] Starting requesting token.
2019-08-28 14:22:45.825413+0800 ****[8243:2275509] 6.7.0 - [Firebase/InstanceID][I-IID007006] Checkin parameters: {
2019-08-28 14:22:45.840346+0800 ****[8243:2275523] 6.7.0 - [Firebase/Analytics][I-ACS023007] Analytics v.60101000 started
2019-08-28 14:22:45.840724+0800 ****[8243:2275523] 6.7.0 - [Firebase/Analytics][I-ACS023008] To disable debug logging set the following application argument: -noFIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
2019-08-28 14:22:45.842007+0800 ****[8243:2275523] 6.7.0 - [Firebase/Analytics][I-ACS023009] Debug logging enabled
2019-08-28 14:22:45.874365+0800 ****[8243:2275509] 6.7.0 - [Firebase/Analytics][I-ACS029014] Successfully parsed a configuration. Version: 1566888572150691
2019-08-28 14:22:45.875023+0800 ****[8243:2275509] 6.7.0 - [Firebase/Analytics][I-ACS023016] Analytics is ready to receive events
2019-08-28 14:22:45.885446+0800 ****[8243:2275525] 6.7.0 - [Firebase/Analytics][I-ACS032003] iAd framework is not linked. Search Ad Attribution Reporter is disabled.
2019-08-28 14:22:45.887725+0800 ****[8243:2275518] 6.7.0 - [Firebase/Analytics][I-ACS023024] No data to upload. Upload task will not be scheduled
2019-08-28 14:22:45.888117+0800 ****[8243:2275518] 6.7.0 - [Firebase/Analytics][I-ACS023012] Analytics enabled
2019-08-28 14:22:46.244725+0800 ****[8243:2275518] 6.7.0 - [Firebase/InstanceID][I-IID007000] Device checkin HTTP fetch error. Error Code: -1005
2019-08-28 14:22:46.247709+0800 ****[8243:2275518] 6.7.0 - [Firebase/InstanceID][I-IID005003] Failed to checkin device Error Domain=NSURLErrorDomain Code=-1005 "网络连接已中断。" UserInfo={NSUnderlyingError=0x280c78420 {Error Domain=kCFErrorDomain2019-08-28 14:22:48.538040+0800 AiJia[8243:2275538] 6.7.0 - [Firebase/Performance][I-PRF300005] URL length exceeds limits, truncating recorded URL - https://lbs.netease.im/lbs/conf.jsp._
2019-08-28 14:22:48.538163+0800 AiJia[8243:2275538] 6.7.0 - [Firebase/Performance][I-PRF300005] URL length exceeds limits, truncating recorded URL - https://wanproxy.127.net/lbs.
2019-08-28 14:22:48.542158+0800 AiJia[8243:2275570] 6.7.0 - [Firebase/Performance][I-PRF100009] Recording network trace: https://api.sit.ihomefnt.org/log/addOperationLog
2019-08-28 14:22:48.762668+0800 AiJia[8243:2275508] 6.7.0 - [Firebase/RemoteConfig][I-RCN000020] Failed to register InstanceID with error : Error Domain=NSURLErrorDomain Code=-1005 "网络连接已中断。" UserInfo={NSUnderlyingError=0x280c78420 {Error D2019-08-28 14:22:48.765379+0800 AiJia[8243:2275508] 6.7.0 - [Firebase/InstanceID][I-IID005004] Checkin is in progress_
2019-08-28 14:22:48.765700+0800 ****[8243:2275508] 6.7.0 - [Firebase/Performance][I-PRF100009] Recording network trace: https://nim.qiyukf.com/webapi/user/da/config
2019-08-28 14:22:48.766003+0800 ****[8243:2275508] 6.7.0 - [Firebase/InstanceID][I-IID007006] Checkin parameters: {
2019-08-28 14:22:49.052477+0800 ****[8243:2275572] 6.7.0 - [Firebase/InstanceID][I-IID007000] Device checkin HTTP fetch error. Error Code: -1005
_2019-08-28 14:22:49.053008+0800 ****[8243:2275572] 6.7.0 - [Firebase/InstanceID][I-IID005003] Failed to checkin device Error Domain=NSURLErrorDomain Code=-1005 "网络连接已中断。" UserInfo={NSUnderlyingError=0x280c09080 {Error Domain=kCFErrorDomain2019-08-28 14:22:49.062715+0800 AiJia[8243:2275572] 6.7.0 - [Firebase/RemoteConfig][I-RCN000023] Failed to fetch checkin info: Error Domain=NSURLErrorDomain Code=-1005 "网络连接已中断。" UserInfo={NSUnderlyingError=0x280c09080 {Error Domain=kCFErro2019-08-28_
14:22:49.062891+0800 AiJia[8243:2275572] 6.7.0 - [Firebase/RemoteConfig][I-RCN000060] Fetch with user properties completed.
2019-08-28 14:22:49.078117+0800 ****[8243:2275536] 6.7.0 - [Firebase/Performance][I-PRF100009] Recording network trace: https://lbs.netease.im/lbs/conf.jsp
2019-08-28 14:22:49.089836+0800 ****[8243:2275536] 6.7.0 - [Firebase/Performance][I-PRF100009] Recording network trace: https://api.sit.ihomefnt.org/push/pullPersonalMessageList
2019-08-28 14:22:49.092338+0800 ****[8243:2275536] 6.7.0 - [Firebase/Analytics][I-ACS033003] Scheduling user engagement timer
2019-08-28 14:22:49.092484+0800 ****[8243:2275536] 6.7.0 - [Firebase/Analytics][I-ACS002002] Engagement timer scheduled to fire in approx. (s): 3600
2019-08-28 14:22:49.097244+0800 ****[8243:2275573] 6.7.0 - [Firebase/RemoteConfig][I-RCN000061] Fetch with user properties initiated.
2019-08-28 14:22:49.097757+0800 ****[8243:2275573] 6.7.0 - [Firebase/RemoteConfig][I-RCN000040] Start config fetch.
2019-08-28 14:22:49.099575+0800 ****[8243:2275573] 6.7.0 - [Firebase/RemoteConfig][I-RCN000061] Making remote config fetch.
2019-08-28 14:22:49.099997+0800 ****[8243:2275573] 6.7.0 - [Firebase/RemoteConfig][I-RCN000046] Making config request: https://firebaseremoteconfig.googleapis.com/v1/projects/aijia-de6f0/namespaces/fireperf:fetch?key=AIzaSyBU6shFDoN4twTWNFXvMgKTYKwaiZFjkc0
2019-08-28 14:22:49.101699+0800 ****[8243:2275573] 6.7.0 - [Firebase/Analytics][I-ACS023051] Logging event: origin, name, params: auto, screen_view (_vs), {
2019-08-28 14:22:49.355939+0800 ****[8243:2275525] 6.7.0 - [Firebase/Performance][I-PRF300005] URL length exceeds limits, truncating recorded URL - https://firebaseremoteconfig.googleapis.com/v1/projects/aijia-de6f0/namespaces/fireperf:fetch.
2019-08-28 14:22:49.357667+0800 ****[8243:2275525] 6.7.0 - [Firebase/InstanceID][I-IID003009] Failed to fetch default token Error Domain=NSURLErrorDomain Code=-1005 "网络连接已中断。" UserInfo={NSUnderlyingError=0x280c09080 {Error Domain=kCFErrorD2019-08-28 14:22:49.360450+0800 ****[8243:2275525] 6.7.0 - [Firebase/Performance][I-PRF100009] Recording network trace: https://wanproxy.127.net/lbs_
2019-08-28 14:22:49.360870+0800 ****[8243:2275525] 6.7.0 - [Firebase/Performance][I-PRF300005] URL length exceeds limits, truncating recorded URL - https://firebaseremoteconfig.googleapis.com/v1/projects/aijia-de6f0/namespaces/fireperf:fetch.
2019-08-28 14:22:49.363076+0800 ****[8243:2275525] 6.7.0 - [Firebase/Analytics][I-ACS031010] Tracking view controller. Class, ID: RDVTabBarController, -6038296090521122426
From the log, this looks like an InstanceID problem, perhaps related to the network or particular device. Does it happen on multiple devices?
According to the data of ios on the firebase statistical platform, it should be a common phenomenon. The ios data collected every day now has only a few user data.
same problem,we use both google analytics sdk and firebase sdk,and ios data collected has few user data near days,is there any infuence? android runs well,and a few days ago, ios runs well too.
From the log, this looks like an InstanceID problem, perhaps related to the network or particular device. Does it happen on multiple devices?
maybe you should test sdk use in China
@luoyingli, @xiamingyu, are you able to reproduce on device locally? Can you confirm that it occurs only in China?
are you able to reproduce on device locally
yes,stable reproduce,but i cannot confirm that it occurs only in China,i guess it‘s probably the reason. we just update our react-native version and ios data was unable to upload.
its works well in debugView ,but no data in release.and it also works well on android
another clue is google analytics sdk also runs bad on ios . almost no data was uploaded in our latest version
@xiamingyu, @luoyingli -- if you have a sample project that reproduces this issue, can you send it to me?
Hey @luoyingli. We need more information to resolve this issue but there hasn't been an update in 7 days. I'm marking the issue as stale and if there are no new updates in the next 3 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!
Since there haven't been any recent updates here, I am going to close this issue.
@luoyingli 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.
Recently, our application firebase statistics on the ios platform dropped sharply, and the network connection was rejected through debug. Below is the debug log.
My environment
Debug log