PROJECT ID: 6951f2xxxxx1ee9e750a REGION: Singapore (sgp.cloud.appwrite.io) PLAN: Pro
Our production application experiences 500 Internal Server Errors multiple times every day, making the system unreliable for our users (200+ students and staff).
Error Pattern:
- Frequency: 1-2+ times per day
- Timing: Random, not at specific times
- Duration: Varies (seconds to minutes)
- Recovery: Automatic, after retry
- Impact: Complete application unavailability
ERROR DETAILS:
Console Error: Uncaught (in promise) TypeError: Failed to fetch at analytics.ts:189:35 at di (analytics.ts:74:35) at ok (query-svelteKit:75:35) at marker.svelteKit:175:5 at shell.svelteKit:205:20
text
Network Error: POST https://0106364j.ingest.us.sentry.io/...: net::ERR_NAME_NOT_RESOLVED POST https://0106364j.ingest.us.sentry.io/...: net::ERR_NAME_NOT_RESOLVED GET https://fonts.ononsrik.org/...: net::ERR_NAME_NOT_RESOLVED
text
HTTP Status: 500 Endpoint: https://sgp.cloud.appwrite.io/v1
WHAT WE'VE DONE:
✅ Verified API keys are valid and rotated after exposure ✅ Confirmed database connections are working (sporadic failures) ✅ Checked collection indexes and query optimization ✅ Verified Storage bucket permissions ✅ Confirmed no rate limiting (API requests are within limits) ✅ Reviewed error logs - no clear pattern ✅ Tested from multiple locations (same issue) ✅ Used recommended SDK versions (node-appwrite v13.0+) ✅ Implemented retry logic (temporary workaround)
Current Status: CRITICAL - Production Down😩
Hey @jalu , thanks for sharing this. I’ll escalate for our team to investigate, in the meanwhile if you have any network logs or steps for reproducing the issues please share here or with me on DMs.
anything from the specific requests that failed, timestamps and error messages would help.
Hey <@1064918449878466670> can you check you have a valid entrypoint set in your deployment? We see the following logs in your Site code:
Preparing SSR runtime ...
SSR runtime prepared with configuration PORT=3000 and HOST=0.0.0.0
node:internal/modules/run_main:123
triggerUncaughtException(
^
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/usr/local/server/src/function/handler.js' imported from /usr/local/server/src/function/server.mjs
at finalizeResolution (node:internal/modules/esm/resolve:274:11)
at moduleResolve (node:internal/modules/esm/resolve:859:10)
at defaultResolve (node:internal/modules/esm/resolve:983:11)
at nextResolve (node:internal/modules/esm/hooks:748:28)
at resolve (/usr/local/server/node_modules/import-in-the-middle/hook.js:343:26)
at nextResolve (node:internal/modules/esm/hooks:748:28)
at Hooks.resolve (node:internal/modules/esm/hooks:240:30)
at MessagePort.handleMessage (node:internal/modules/esm/worker:199:24)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:845:20)
at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///usr/local/server/src/function/handler.js'
}
Node.js v22.21.1
stream closed: EOF for 59367f46c6917537135f0e5d17efc4ab/b310eac92f11eb15a6444c5aaf69ef25591154a4-859b966bf9-qh8rs (app)
This likely indiciates the build is broken/ or the entrypoint into the build is missing.
Recommended threads
- How to use dart workspaces to deploy a f...
Hello, I'm developing a Flutter application and I would like to leverage dart pub workspaces to deploy a function with a dart runtime as advertised here : http...
- Enabling Overage Usage
Hello Appwrite Support Team, I am currently using Appwrite under the GitHub Student Developer Pack plan. Recently, my project hit the database read limit, and ...
- appwrite-docs MCP fails in Cursor — SSE ...
Hi team, I'm having trouble getting the hosted Appwrite docs MCP working in Cursor on Windows. Environment IDE: Cursor (latest) OS: Windows 11 Node: v24.15.0 ...