-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
157240391: SDK attempts to connect to firebasedynamiclinks-ipv6.googleapis.com from IPv4 network. #5032
Comments
This comment has been minimized.
This comment has been minimized.
I've also reproduced the issue in the iOS 13.3 simulator. |
A similar issue was filed in the .NET SDK in 2018 and was resolved by updating the domain to firebasedynamiclinks.googleapis.com, see googleapis/google-api-dotnet-client#1186 for more details. |
Thanks for reporting. We will investigate this and report back. |
I also have this error when launching the app. Firebase/DynamicLinks (4.13.0)
edit: wait, now that I posted I can't reproduce. Damn. |
Hi, in case its helpful I also see this issue.
I'm running:
Here are the Firebase pod versions that I'm using. I've run 'pod update' to get the latest:
|
Hello, I've tested my IPv6 using https://test-ipv6.com and it says I (my ISP) don't have any IPv6 compatibility. And this causes my app freeze on the first launch. Relaunching helps. I'm also getting the same error messages |
I can also definitely reproduce. And if this occurs in your app's startup sequence, it will hang the app, with iOS killing it after 20-odd seconds... |
Is there a fix for this? Dynamic links don't open the app and I am sure this might be the issue. If the attribution does not install, then the app will not open. Please help |
I was able to work around this by moving Firebase initialization out of the app's startup sequence, i.e. delaying it much as possible, and not having it in |
This is kind of an issue for me as I’m working with a Flutter app and barely have to touch the actual iOS code, but I will try and take a look at that to see what’s going on. I did realize that the links work on the simulator but not on a real device, which is weird |
I ran into this myself today. Firebase 6.23.0, using Flutter. Happy to provide any data but basically I'm getting the same errors that others have listed. Works fine on Android. It was working once upon a time on IOS 13.3 and 13.4, but after a pod update (I think), I have not been able to fix it. |
Yeah , same problem. 2020-05-03 n20:05:48.494219+0300 [839:408719] Task <4D1203B1-9569-4E97-84BB-5929DF9C4FD5>.<2> finished with error [-1003] Error Domain=NSURLErrorDomain Code=-1003 "A server with the specified hostname could not be found." UserInfo={NSUnderlyingError=0x283d02c70 {Error Domain=kCFErrorDomainCFNetwork Code=-1003 "(null)" UserInfo={_kCFStreamErrorCodeKey=8, _kCFStreamErrorDomainKey=12}}, NSErrorFailingURLStringKey=https://firebasedynamiclinks-ipv6.googleapis.com/v1/installAttribution?key=, NSErrorFailingURLKey=https://firebasedynamiclinks-ipv6.googleapis.com/v1/installAttribution?key=, _kCFStreamErrorDomainKey=12, _kCFStreamErrorCodeKey=8, NSLocalizedDescription=A server with the specified hostname could not be found.} |
I got the same issue, Is there any update? |
Same issue here |
same issue here |
Same issue here, too. |
Any solution for this? |
Same here... |
It is working by uploading to hardware device. |
I reproduced this issue on a physical iPhone 5s with iOS 12.4.6 and a physical iPhone 6s with iOS 13.4.1. Both are using Wifi connection. |
In my Podfile.lock : FirebaseDynamicLinks (~> 4.0.8). How to upgrade to v.4.1.0 ? |
same here
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@alif1993 that is abusive. 1) these are humans on the other side of your keyboard 2) this SDK is marvellous but also marvellously complicated, how's your migration to IPv6 going for instance? To imply low quality based on this issue, and to infer some kind of lack of care is so insulting. |
The pull request (in review comments) actually mentioned it was a separate issue, but the developer who proposed it was aware it wouldn't be fixed I quote @eldhosembabu from #5665 (comment)
and one could assume from "this current fix" that's this one is probably on an issue board somewhere pending attention worth a mention that the SDK is open source, and anyone can propose a PR...you can also hack out the ipv6 code directly perhaps, or do anything you like to get your project moving |
@mikehardy I agree that I went too far, but when our team has a deadline and the product was supposed to be delivered two weeks ago and coz of this bug which is so weird since everything is okay on Android and it happens on IOS. You are right, it's my fault, I should have checked all our product feature in pre-production. I APOLOGIZE to the team, I left that comment after four consecutive days of searching:) which was completely a wrong move:( |
@a-h Thanks for the terrific bug report. And everyone: I'm sorry that we're having trouble making progress on this issue. We'll continue to try to work with the team to get some focus here. In the meantime, we'd be happy to evaluate any PRs. |
Hehey! Any progress on this? Also, if someone has a workaround, I would gladly like to try it out! |
Hey! Same problem at my end. I'm inside IPV4 network at my local ISP and firebase tries to connect to ipv6 domain which cannot be resolved from ipv4 network. |
It's been months there's still nothing on this? |
@IsaiahJTurner you have to dig a bit but there is activity, it is just a mix of different issues and internal conversations. Specifically examine discussion here: #5966 - a rejected PR that might have fixed this but had some unacceptable backend consequence - from 9 days ago, so I'd infer it's an active topic, just without messaging here for status |
Does this issue still active? Maybe someone has something like workaround/hack or we still need to find a solution? |
Any solution to this? It's been at least 6 months without a fix. |
Any solution to this? would gladly get one |
Recreating PR #5966 Instead of using firebasedynamiclinks-ipv4.googleapis.com and firebasedynamiclinks-ipv6.googleapis.com for doing attribution calls, we are moving towards using firebasedynamiclinks.googleapis.com. Fixes #5032 -changed ipv4 and ipv6 attribution calls with a single direct url. -Removed and refactored code to get rid of code to handle consolidated results from ipv4 and ipv6 result. -Made changes to Test app to show alert dialog when universal linking when app is not in background case and also for fresh start case.
Hi everyone, Sorry for the delays and lack of communication here, but this issue is now resolved. We were originally worried that by switching to the base API that doesn't specify ipv4 vs ipv6 would lose accuracy based on attribution, but have determined that it's a small corner case and an acceptable tradeoff from a performance and confusion standpoint (printing error logs when it may be working as intended). Thanks for your patience as we worked through this, this change will be available in the next release expected sometime next week. |
[REQUIRED] Step 1: Describe your environment
CocoaPods
[REQUIRED] Step 2: Describe the problem
Firebase Dynamic Links attempts to connect to an IPv6 domain that it's not capable of connecting to (firebasedynamiclinks-ipv6.googleapis.com).
Steps to reproduce:
Configure Dynamic Links in Firebase.
Open up a Dynamic Link within the iOS 12.2.2 simulator.
Check the logs, no Firebase attribution is made, the error is logged instead.
Relevant Code:
The invalid domain (firebasedynamiclinks-ipv6.googleapis.com) is present in this file:
https://github.com/firebase/firebase-ios-sdk/blob/c8625ec52eb076069efb87ca2e4819627e449efb/FirebaseDynamicLinks/Sources/FIRDynamicLinkNetworking.m
Executing the
nslookup
command shows that the domain doesn't exist:You can compare this to the other domains in the same file:
It is possible to view the IP v6 address:
The text was updated successfully, but these errors were encountered: