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
- Sydney Cloud Sites: App Git deployment a...
Project ID: rentwize-db The app Site fails after the build completes with a missing build archive error. Site id: app Framework: TanStack Start SSR Output dir...
- Active Running Project Deletion Alert Em...
Hi , I received an email alert from Appwrite today stating “your project will be deleted within 14 days if no action is taken,” though I have been actively usin...
- Project restoration button in console
The project restore button in console is taking no effect, i have tried several times and still nothing, it gives same popup if i reload