So I'm trying to subscribe to events on db side using realtime but throws an error regarding -> The operation couldn’t be completed. (NIOSSL.NIOSSLError error 12.)
Currently using nginx proxy manager and cloudflare for selfhosting -> could this be an issue here for it?
func showAllDrivers() async throws {
let subscription = try await appwriteClient.realtime.subscribe(
channel: "database." + CustomEnvironment.databaseId + ".collections." + CustomEnvironment.driverCurrentLocationCollectionId + ".documents") { resp in
print(String(describing: resp))
}
}
Recommended threads
- Migrate from cloud to localhost
Hello everyone. I need to migrate my test project from cloud to localhost, however it seems that this is possible only if a self-hosted appwrite instance it's h...
- Error: User (role: guests) missing scope...
I want to send a verification code to the user and the given phone number and check it and create a session right after the user entered the secret. For me that...
- Sign In With Apple OAuth Help
Hi All! I've got a flutter & appwrite app which Im trying to use sign in with apple for. I already have sign in with google working and the function is the sam...