Back

[SOLVED] Subscription Error: Allow self-signed certificate

  • 0
  • Flutter
  • Realtime
  • Cloud
Said H
1 Oct, 2023, 07:11

Hello, on a Flutter app, I have set the client to use self signed cert.

TypeScript
client
        .setEndpoint(appwriteEndpoint)
        .setProject(appwriteProjectId)
        .setSelfSigned(status: true);

But whenever I call a subscription, I hit this:

TypeScript
I/flutter ( 3416): Reconnecting in one second.
I/flutter ( 3416): AppwriteRealtime: Allow self-signed certificate
I/flutter ( 3416): subscription: wss://cloud.appwrite.io/v1/realtime?project=huntpile

Any idea where I could go wrong? I am able to access database documents, just not subscription.

This is working fine when I run the same subscription on React Web.

TL;DR
The user was experiencing an error with a self-signed certificate while using a Flutter app. They were able to access database documents but had issues with subscriptions. They reached out for help and provided their code snippet. Another user asked for the appwrite project domain and whether it was self-hosted or cloud-based. The original user later updated the thread, stating that the issue was resolved and they didn't do anything to fix it. The solution was not explicitly mentioned.
Said H
1 Oct, 2023, 23:40

[SOLVED] Subscription Error: Allow self-signed certificate

mc-stephen
2 Oct, 2023, 00:29

what is your appwrite project domain and it's self hosted or cloud

Said H
2 Oct, 2023, 02:31

Please disregard. This is working today.

Said H
2 Oct, 2023, 02:31

Hi @mc-stephen , thanks for your help. I realize that it is working now today. I didn't do anything at all.

sharpsaravanan
27 Oct, 2023, 14:40

need help to solve "AppwriteRealtime: Allow self-signed certificate"

sharpsaravanan
27 Oct, 2023, 14:40

cloud

Drake
27 Oct, 2023, 18:05

no need to post in an old thread.

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