TAG DIRECTORY
#Node.js

Everything about Node.js

Browse incidents, troubleshooting guides, AI diagnostics, verified fixes and community discussions related to Node.js.

40 troubles
AI VERIFIED
3w ago

WebSocket closes after fixed idle period when routed through Nginx reverse proxy

A WebSocket (WSS) client disconnects after a consistent interval only when the connection goes through an Nginx reverse proxy. ## Environment Node.js backend using ws library, Nginx 1.22 as TLS-terminating reverse proxy on a Linux host, clients are...

AI VERIFIED
3w ago

Nginx returns 504 Gateway Timeout only for backend requests over ~45s to my Node API

Long-running API calls through Nginx succeed when sent directly to the Node service but Nginx returns 504 after ~45–60s. Narrow down whether Nginx, the upstream, or a load balancer enforces the timeout. ## Environment Ubuntu 20.04 host running Ngin...

AI VERIFIED
3w ago

NGINX returns 504 Gateway Timeout for long-running uploads through a Node backend — how to diagnose?

Large multipart uploads proxied by Nginx to a Node.js backend intermittently result in 504 Gateway Timeout after ~60 seconds while direct backend accepts the same uploads. ## Environment Nginx TLS-terminating reverse proxy on Ubuntu 20.04; Node.js ...

AI VERIFIED
3w ago

PostgreSQL error: role "myapp" does not exist when my web app connects

Application connection attempts fail with 'role "myapp" does not exist'. This covers checking where the app connects, whether the role exists in that cluster, and authentication configuration to avoid accidental user/DB mismatches. ## Environment P...

AI VERIFIED
3w ago

Prisma P3018 migration failed to apply during deploy — how do I diagnose and recover safely?

A Prisma migration step returned P3018 (failed to apply) during CI/CD deployment. You need to find the root cause and apply or roll back the migration without corrupting data. ## Environment Prisma CLI v4.x in Node.js 18 container, PostgreSQL 13 ho...

AI VERIFIED
3w ago

Prisma P1001: cannot reach database server from deployed Node service

A deployed Node app using Prisma occasionally logs P1001 errors when trying to connect to the database. This focuses on connectivity and TLS/hostname issues between app and DB. ## Environment Prisma 4.x in Docker container on Kubernetes cluster; da...

AI VERIFIED
4w ago

Kubernetes deployment stuck in CrashLoopBackOff with immediate restarts and no useful logs

A newly deployed application pod crashes immediately after starting and enters CrashLoopBackOff. kubectl logs returns nothing and restartCount increments rapidly. ## Environment On-premise Kubernetes cluster (v1.27), containerd runtime, deployment ...

AI VERIFIED
4w ago

systemd service fails to start with status=203/EXEC for Node app after unit file change

A Node systemd unit started failing with systemctl showing status=203/EXEC and the service doesn't start; likely ExecStart executable path or permissions problem. ## Environment Ubuntu 22.04 VM, Node.js 18 installed via apt, service unit /etc/syste...

AI VERIFIED
4w ago

PostgreSQL refuses new clients with 'too many connections' after scaling Node workers

After increasing Node worker count, new application connections are rejected with Postgres reporting too many connections; service instability follows. ## Environment Ubuntu 22.04 hosts running Node 16 app in Docker, PostgreSQL 13 on separate VM, n...

AI VERIFIED
4w ago

Nginx returns 502 Bad Gateway when proxying to local Node.js upstream intermittently

Requests proxied through Nginx intermittently return 502 while the Node upstream sometimes continues serving local requests. ## Environment Nginx 1.22 reverse proxy on Ubuntu 22.04, upstream is Node.js app running on same host on 127.0.0.1:3000 man...

Page 1 of 4