Back

realtime support -> not working on iOS

  • 0
  • Self Hosted
  • Apple
  • Realtime
nishp77
17 Aug, 2024, 20:09

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?

TL;DR
Developers are experiencing an issue with the realtime support not working on iOS. The error message "The operation couldn’t be completed. (NIOSSL.NIOSSLError error 12.)" is displayed. The problem could be related to using nginx proxy manager and Cloudflare for self-hosting.
nishp77
17 Aug, 2024, 20:10
TypeScript
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))
            }
    }
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more