-
Notifications
You must be signed in to change notification settings - Fork 1.6k
RCN Fetch failure: cannot parse response #14728
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
Hi @komal-lathiya, I tried to reproduce but I'm unable to get the same issue. Have you tried connecting to different network? |
We are seeing some similar issues this is happening in production on iOS only. Android seems fine. This is potentially a critical issue? |
It's possible that this is related to a bug in the iOS 18.4 simulator. Does it help to use an older simulator? See #14677 (comment) |
This is a critical issue. I have tried different networks and different versions of simulators, and I have also tried erasing all data from the simulator, but nothing works. |
We’re encountering the same issue on iOS devices, but it does not occur on simulators running iOS versions earlier than 18.4. |
FYI I do not think this is secluded to just simulators. However to reproduce open a different iPhone simulator type each run, it will trigger it more often than not on 18.4 simulators |
Description
11.11.0 - [FirebaseRemoteConfig][I-RCN000026] RCN Fetch failure: Error Domain=NSURLErrorDomain Code=-1017 "cannot parse response"
I have implemented Firebase Remote configuration in my project. It was working fine but, suddendly it was stop working in iPhone simulator. I got the below logs in my console.
11.11.0 - [FirebaseRemoteConfig][I-RCN000026] RCN Fetch failure: Error Domain=NSURLErrorDomain Code=-1017 "cannot parse response" UserInfo={_kCFStreamErrorCodeKey=-1, NSUnderlyingError=0x600000c8fcc0 {Error Domain=kCFErrorDomainCFNetwork Code=-1017 "(null)" UserInfo={NSErrorPeerAddressKey=<CFData 0x6000026356e0 [0x1e6ebb4f0]>{length = 28, capacity = 28, bytes = 0x1c1e01bb000000002404680040090827 ... 0000200a00000000}, _kCFStreamErrorCodeKey=-1, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <75FD4372-12F3-4F23-B6C0-49509335D1FC>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalDataTask <75FD4372-12F3-4F23-B6C0-49509335D1FC>.<1>" ), NSLocalizedDescription=cannot parse response, NSErrorFailingURLStringKey=https://firebaseremoteconfig.googleapis.com/v1/projects/astra-link-88a56/namespaces/firebase:fetch?key=AIzaSyBnHsFa3O_kKPZP9FubXVLpm40YeWb0r6E, NSErrorFailingURLKey=https://firebaseremoteconfig.googleapis.com/v1/projects/astra-link-88a56/namespaces/firebase:fetch?key=AIzaSyBnHsFa3O_kKPZP9FubXVLpm40YeWb0r6E, _kCFStreamErrorDomainKey=4}. No cached config result. 11.11.0 - [FirebaseRemoteConfig][I-RCN000026] RCN Fetch failure. Response http error code: 0
Reproducing the issue
Integrate Firebase Remote config using SPM & run in iOS Simulator.
Firebase SDK Version
11.11.0
Xcode Version
16.3
Installation Method
Swift Package Manager
Firebase Product(s)
Remote Config
Targeted Platforms
iOS
Relevant Log Output
If using Swift Package Manager, the project's Package.resolved
Expand
Package.resolved
snippetIf using CocoaPods, the project's Podfile.lock
Expand
Podfile.lock
snippetReplace this line with the contents of your Podfile.lock!
The text was updated successfully, but these errors were encountered: