Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connecting "compose post" to appwrite Database #29

Open
vedantbahel opened this issue Jul 26, 2022 · 9 comments
Open

connecting "compose post" to appwrite Database #29

vedantbahel opened this issue Jul 26, 2022 · 9 comments
Assignees

Comments

@vedantbahel
Copy link
Owner

Code has already been added to compose a post. Add write functionality to write the post to database on submission.
Find details of appwrite database in readme of root folder of the project.

@ShivamMenda
Copy link
Contributor

@vedantbahel I've never worked with appwrite before but I would like to give this a try. Can I take this up and try it out tomorrow if you don't mind?

@vedantbahel
Copy link
Owner Author

sure. give it a try

@ShivamMenda
Copy link
Contributor

@vedantbahel Ill try it out! Thanks

@Odinachi
Copy link

Odinachi commented Oct 3, 2022

I'll work on this.

@vedantbahel
Copy link
Owner Author

Sure

@Odinachi
Copy link

Odinachi commented Oct 6, 2022

@vedantbahel I keep getting this error when I try to post to the database

E/flutter ( 6156): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: AppwriteException: null, SocketException: Connection timed out (OS Error: Connection timed out, errno = 110), address = 10.0.2.2, port = 43734 (0) E/flutter ( 6156): #0 ClientIO.call (package:appwrite/src/client_io.dart:364:7) E/flutter ( 6156): <asynchronous suspension> E/flutter ( 6156): #1 Account.get (package:appwrite/services/account.dart:20:17) E/flutter ( 6156): <asynchronous suspension> E/flutter ( 6156): E/flutter ( 6156): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: AppwriteException: null, SocketException: Connection timed out (OS Error: Connection timed out, errno = 110), address = 10.0.2.2, port = 43736

@Rohit-RA-2020
Copy link
Contributor

@vedantbahel I keep getting this error when I try to post to the database

E/flutter ( 6156): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: AppwriteException: null, SocketException: Connection timed out (OS Error: Connection timed out, errno = 110), address = 10.0.2.2, port = 43734 (0) E/flutter ( 6156): #0 ClientIO.call (package:appwrite/src/client_io.dart:364:7) E/flutter ( 6156): <asynchronous suspension> E/flutter ( 6156): #1 Account.get (package:appwrite/services/account.dart:20:17) E/flutter ( 6156): <asynchronous suspension> E/flutter ( 6156): E/flutter ( 6156): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: AppwriteException: null, SocketException: Connection timed out (OS Error: Connection timed out, errno = 110), address = 10.0.2.2, port = 43736

Where are you running the app? Emulator or on real device?

@Odinachi
Copy link

Odinachi commented Oct 8, 2022

On an emulator and it is same on a real device.

@Rohit-RA-2020
Copy link
Contributor

Seems like there is an issue making connection with appwrite backend. Few things you can try

  • Make sure appwrite is running, restart the docker image
  • Recheck the endpoint in the settings
  • Disable any firewall
  • Check database and collection id

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants