Back

Not Receiving Error Responses

  • 0
  • Self Hosted
DerrickML
18 Jul, 2024, 08:30

Hello everyone,

I've encountered an issue with my Appwrite setup where querying the APIs does not return any error response (both client side - appwrite and server side - node-appwrite) in case there's an error in the request. Instead, it seems like the request is stuck running indefinitely until it times out.

This behavior is causing delays in identifying and resolving issues promptly.

Has anyone else experienced a similar issue with Appwrite APIs? Any insights or suggestions on how to address this problem would be greatly appreciated.

This issue started recently after I updated to version 1.5.7 from the previous one.

Thank you for your help!

TL;DR
Developers not receiving error responses in Appwrite, despite successful requests. Logs show system upgrading MySQL database. More details needed on migration and version updates. Check Appwrite connection to database in Mariadb logs. Investigate specific requests and endpoints for missing error responses.
Joshi
18 Jul, 2024, 08:49

Selfhosted? And what endpoint?

DerrickML
18 Jul, 2024, 09:00

Self hosted. I am using the http://localhost/v1 endpoint

Joshi
18 Jul, 2024, 09:05

I meant what request are you trying to do? To which endpoint? Like getDocument etc.

DerrickML
18 Jul, 2024, 09:23

all requests

Joshi
18 Jul, 2024, 09:29

What are the status codes? What does docker logs appwrite show?

DerrickML
18 Jul, 2024, 09:36

This is all i see in my docker appwrite logs

Joshi
18 Jul, 2024, 09:38

I knew that appwrite wasn't connected to the database

Joshi
18 Jul, 2024, 09:38

cuz you got no response

Joshi
18 Jul, 2024, 09:38

check docker logs appwrite-mariadb

DerrickML
18 Jul, 2024, 09:42

these are the mariadb logs

DerrickML
18 Jul, 2024, 09:45

though I am able to receive a response after a successful request. But when the request is not successful, a response error is not returned

Joshi
18 Jul, 2024, 09:46

You mentioned you updated to v1.5.7. From what version? And did you execute the migration command?

DerrickML
18 Jul, 2024, 09:50

all i recall it was v1.4.x . I don't remember the complete version.

DerrickML
18 Jul, 2024, 09:51

I did execute the migration command

DerrickML
18 Jul, 2024, 09:51

I followed the process as it's on the documentation

Guille
18 Jul, 2024, 12:37

By the logs, seems like the system is upgrading something

TypeScript
Phase 1/8: Checking and upgrading mysql database
2024-06-11 23:34:11 Processing databases
2024-06-11 23:34:11 mysql...
DerrickML
18 Jul, 2024, 13:18

though this indicates that it happened 2 weeks ago

Guille
18 Jul, 2024, 13:27

and that is the latest data in the logs?

DerrickML
18 Jul, 2024, 13:57

This is the docker appwrite logs to date (2024-06-11 to 2024-07-18)

Guille
18 Jul, 2024, 14:24

what about appwrite-mariadb?

DerrickML
18 Jul, 2024, 14:39

these are the docker appwrite-mariadb logs to date

Joshi
18 Jul, 2024, 14:48

When did you last restart your docker containers?

DerrickML
18 Jul, 2024, 16:01

whenever I boot-up my computer. I almost do it everyday

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