Back

Constant 500 Server error and Real-time is not working!

  • 0
  • Flutter
  • Realtime
  • Cloud
informed666
21 Feb, 2024, 21:10

Greetings…hope ur well and hope not to add more work but im developing a flutter app trying to move away from firebase…

The console on cloud.io shows server error then the realtime worked abit but now it has totaly collapsed…is this cuz the free plan can handle requests or there is a bug…

Thank you

TL;DR
Constant 500 server error and real-time not working properly. Possible issues with the free plan or bugs. Developer shared their stream code. The issue might be related to the free plan limitations on requests.
Steven
21 Feb, 2024, 21:16

you're still having problems? What's your project ID?

informed666
21 Feb, 2024, 21:45

this is it....65bc947456c1c0100060

informed666
21 Feb, 2024, 21:46

this is my stream... Stream<Map<String, dynamic>> getMessagesStream() { AppWriteDataBase connect = AppWriteDataBase();

TypeScript
final realtime = connect.realtime;
final subscription = realtime.subscribe([
  'databases.65c375bf12fca26c65db.collections.65d0612a901236115ecc.documents'
]);

return subscription.stream.map((response) => response.payload);

}

informed666
21 Feb, 2024, 21:48

the stream behaves weird when it works....it returns payload the sometimes it doesnt

informed666
21 Feb, 2024, 21:48

could this be issues of the free plan?

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