firebase / firebase-ios-sdk

Firebase SDK for Apple App Development
https://firebase.google.com
Apache License 2.0
5.6k stars 1.47k forks source link

MacOS: Unable to connect to database - timeout #8301

Closed Yewsea closed 3 years ago

Yewsea commented 3 years ago

[REQUIRED] Step 1: Describe your environment

[REQUIRED] Step 2: Describe the problem

What I've done so far;

Created an iOS project that connects to a database and can insert entries

Created a separate MacOS project with its own Google-info

Set ingoing and outgoing connections to be allowed

Added target in Keychain sharing

Unable to connect or get data. Error seems to be at the FirebaseApp.configure step

Logs; 2021-06-25 11:41:10.263550+0100 DatabaseTable[17753:241747] [logging] volume does not support data protection, stripping SQLITE_OPEN_FILEPROTECTION_* flags 2021-06-25 11:41:10.264285+0100 DatabaseTable[17753:241747] [logging] volume does not support data protection, stripping SQLITE_OPEN_FILEPROTECTION_* flags 2021-06-25 11:41:10.382895+0100 DatabaseTable[17753:241770] [connection] nw_endpoint_handler_set_adaptive_read_handler [C1.1 2a00:1450:4009:81d::200a.443 ready socket-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, ipv6, dns)] unregister notification for read_timeout failed 2021-06-25 11:41:10.382953+0100 DatabaseTable[17753:241770] [connection] nw_endpoint_handler_set_adaptive_write_handler [C1.1 2a00:1450:4009:81d::200a.443 ready socket-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, ipv6, dns)] unregister notification for write_timeout failed 2021-06-25 11:41:10.413866+0100 DatabaseTable[17753:241747] [logging] volume does not support data protection, stripping SQLITE_OPEN_FILEPROTECTION_* flags 2021-06-25 11:41:10.414209+0100 DatabaseTable[17753:241747] [logging] volume does not support data protection, stripping SQLITE_OPEN_FILEPROTECTION_* flags

Searching for these error messages doesn't produce an obvious fixes, so help is appreciated

google-oss-bot commented 3 years ago

I found a few problems with this issue:

paulb777 commented 3 years ago

We may need a reproducible example to help with this. Here's something from stackoverflow that might help - https://stackoverflow.com/questions/65279008/swiftui-macos-fetch-json-error-logging-volume-does-not-support-data-protection

google-oss-bot commented 3 years ago

Hey @Yewsea. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 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!

google-oss-bot commented 3 years ago

Since there haven't been any recent updates here, I am going to close this issue.

@Yewsea 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.