-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Firebase Storage / Vertex AI: HTTP3 failures (-1005, -1017) #14677
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. |
I got similar http3/QUIC issue on iOS simulator, specifically iOS v18.4, accessing storage.googleapis.com |
It's a bug in the 18.4 iOS simulator, see https://developer.apple.com/forums/thread/777999 for details. |
Ok, thanks. I was focused on the fact that I changed desktop arch and have not notice that I have different iOS and Xcode. So meanwhile I will not use 18.4 simulator during testing. In general problem is understood and seems to be not related to the Firebase. Probably could be closed. |
Thanks for the link, @weakfl. That thread pointed out a reasonable workaround that worked for the Vertex AI in Firebase SDK that was also impacted by this bug in @Kirow Unfortunately I'm not aware of any way to disable HTTP3. For now I'd recommend using the iOS 18.3.1 simulator from Xcode 16.2. I've been using the 18.3.1 simulator with Xcode 16.3 without any issues. We'll also investigate whether a similar workaround to #14696 can be used in the Firebase Storage SDK but it depends on |
The Xcode 16.4 release notes mention a fix to URLSession that look promising in addressing these errors: https://developer.apple.com/documentation/xcode-release-notes/xcode-16_4-release-notes#Simulator |
Uh oh!
There was an error while loading. Please reload this page.
Description
I just moved from i9 Intel to Silicon M4. And now I see strange errors in my app during testing on files downloading. A lot of
-1005 Connection Lost
or-1017 cannot parse response
with following lines likeApp iterate through the list of storage refs and tries to download (
StorageReference.writeAsync(toFile:)
) the file if it does not exist locally. Mostly it happens sequentially, sometimes a little bit in parallel. If file failed it will be moved to the end of queue and retries later. Failures happens on the same files multiple time and at some rare occasions it does download.Error appears only on simulator on M4 laptop, it does work on old laptop and on real device. I've notice that simulator on M4 using http3, so I start proxy that does not support http3 - and it start working fine.
So my conclusion is that problem with HTTP3
I still investigating, but maybe someone will drop idea or solution to this problem.
Reproducing the issue
not available at this moment
Firebase SDK Version
11.11.0
Xcode Version
16.3 (16E140)
Installation Method
Swift Package Manager
Firebase Product(s)
Storage
Targeted Platforms
iOS
Relevant Log Output
If using Swift Package Manager, the project's Package.resolved
Expand
Package.resolved
snippetReplace this line with the contents of your Package.resolved.
If 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: