Skip to content
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

Firebase Storage emulator, crash when uploading from LAN #8389

Closed
radvansky-tomas opened this issue Jul 15, 2021 · 1 comment · Fixed by #8392
Closed

Firebase Storage emulator, crash when uploading from LAN #8389

radvansky-tomas opened this issue Jul 15, 2021 · 1 comment · Fixed by #8392

Comments

@radvansky-tomas
Copy link

I am using Flutterfire, however issue lies in native iOS SDK.

firebase/flutterfire#6578

Basically current iOS Storage SDK does not take in consideration emulator running at your local computer and being connected via network (ie with real device)...

When you run storage emulator at 0.0.0.0 with local IP 192.168.180.150 on default port 9199 and try to connect to it with iphone in same network it will fail with exception:

Insecure fetch request has a scheme (http) not found in fetcher allowedInsecureSchemes

AS there is missing setting for fetcher class in FIRStorage.m (check issue), I've manually added http scheme there which resolved connection issues, however whole emulator crash after (for logs check issue)

Similar issue has already been resolved for Auth Package: #7342

Other people experienced same situation here:
firebase/firebase-tools#3550

@google-oss-bot
Copy link

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.

@morganchen12 morganchen12 self-assigned this Jul 15, 2021
@morganchen12 morganchen12 added this to the 8.5.0 - M101 milestone Jul 15, 2021
@firebase firebase locked and limited conversation to collaborators Aug 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants