Back

Functions Failing

  • 0
  • Self Hosted
  • Functions
Kenny
31 Jul, 2023, 15:18

I've got a function that runs every 10 minutes. I just noticed that this morning it's been failing with this error, any idea what could cause this?

I am self hosted, version 1.3.8 on Digital Ocean.

my.domain.com redacting my actual domain.

TypeScript
    at Client.call (/usr/code-start/node_modules/node-appwrite/lib/client.js:177:23)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Users.list (/usr/code-start/node_modules/node-appwrite/lib/services/users.js:40:16)
    at async module.exports (/usr/code-start/src/index.js:50:25)
    at async /usr/local/src/server.js:68:13```
TL;DR
The user is reporting that a function is failing with the error "Error: getaddrinfo EAI_AGAIN my.domain.com". They are self-hosted on version 1.3.8 on Digital Ocean. They have restarted the Docker container, which seemed to fix the issue, but they want to know why it happened and how to prevent it. Possible solution: Restarting the Docker container fixed the issue for the user. It may be related to a network/DNS error.
Drake
31 Jul, 2023, 20:38

This is some network/DNS error 🤷‍♂️

Kenny
31 Jul, 2023, 20:39

Yea /: That's just out of my wheele house. I restarted the docker container and it seemed to fix. I guess I was really looking for why it happened and what I could do to prevent it.

Drake
31 Jul, 2023, 20:49

Not sure but I don't think it's Appwrite related. Could be your DNS or internet or vps 🤷‍♂️

Kenny
31 Jul, 2023, 20:50

Oh well, thanks for replying!

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