Back

Console responding 500, took three refresh of browser for console to appear

  • 0
  • Self Hosted
TernaryBash
3 Jan, 2024, 04:28

Not sure what is happening. Had to keep refreshing for a bit for console to show. It's my dev env and I haven't used it in a few days. Some logs from the endpoint service "appwrite". [Error] Timestamp: 2024-01-03T04:23:53+00:00 [Error] Method: PATCH [Error] URL: /v1/account/prefs [Error] Type: RedisException [Error] Message: read error on connection to redis:6379 [Error] File: /usr/src/code/vendor/utopia-php/queue/src/Queue/Connection/Redis.php [Error] Line: 56 [Error] Timestamp: 2024-01-03T04:23:53+00:00 [Error] Method: PATCH [Error] URL: /v1/account/prefs [Error] Type: RedisException [Error] Message: read error on connection to redis:6379 [Error] File: /usr/src/code/vendor/utopia-php/queue/src/Queue/Connection/Redis.php [Error] Line: 56 Any ideas? Version 1.4.13

TL;DR
The user is experiencing a console response issue where it takes three tries to load the console. They mention that the error occurred on the first load of Appwrite. The user's server has 4 cores and 4GB of RAM. The user also mentions an old warning in their logs about 'overcommit_memory'. The Redis logs show a failed connection for the "appwrite-usage" service. The user is unsure of what is happening and shares error logs from the "appwrite" endpoint service. The user is using Appwrite version 1.4.13. Possible solution: Check the Redis connection and ensure it is properly configured
TernaryBash
3 Jan, 2024, 04:31

"appwrite-usage" service shows a failed connection as well.

Drake
3 Jan, 2024, 04:34

What do your redis logs say?

TernaryBash
3 Jan, 2024, 04:51

Nothing stands out. I do see this but it's old. 1:M 21 Dec 2023 17:54:47.045 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.

Drake
3 Jan, 2024, 18:39

what are the specs on your server?

Drake
3 Jan, 2024, 18:39

and was the error on the first load of appwrite?

TernaryBash
4 Jan, 2024, 05:46

VM I think 4 cores and 4gigs ram. Nah, first load just no response, second I think showed some appwrite of console but with 50{X} response, and third showed console.

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