태그: #nodejs
After upgrading Node from 18 to 20, my Express app randomly hangs on POST requests when running behind Nginx. No errors in the logs and CPU stays low, but the request just never re...
편집 시간: 2026-03-16 17:23:41작성자 mayaknights_7137 일반 | 2026-03-14 22:54:58自作の小さなWebアプリで詰まっています。Node.js+ExpressでAPIを作っているのですが、ローカルでは正常に動くのにVPSにデプロイすると特定のエンドポイントだけ500エラーになります。ログを見ると環境変数がundefinedっぽい挙動。dotenvも入れているのですが、本番環境での設定方法をどこか間違えているのでしょうか。同じような経験ある方い...
편집 시간: 2026-03-15 18:58:38작성자 takumi_dev_1658 일반 | 2026-03-14 22:50:56折腾了一下午还是没搞明白,来论坛求助一下。服务器是 Ubuntu 22.04,我在上面用 Docker 部署一个 Node.js 服务,本地运行一切正常,但容器启动后访问映射端口一直是 502。docker ps 能看到容器在跑,日志里也没有明显报错。试过重新 build、换端口、关掉防火墙都没用。想问下有没有人遇到过类似情况?一般应该从哪些地方排查比较靠谱...
작성자 codecoffee_8173 일반 | 2026-03-14 22:49:01Node.jsのプロジェクトをDockerで動かそうとして詰まっています。ローカルではnpm run buildが通るのに、Dockerビルド中だけesbuild関連のエラーで落ちます(module not found)。node:20-alpine使用。キャッシュ削除やnpm ciも試しましたが改善なし。同じような症状出た方いますか?Dockerfileの...
편집 시간: 2026-03-15 06:22:24작성자 aoi_walk_0806 일반 | 2026-03-14 22:46:24请教一下大家,我在一台 Ubuntu 22.04 服务器上用 Docker 部署了一个 Node.js 服务,容器内访问外网一切正常,但宿主机通过映射端口访问时偶尔会出现连接超时,大概每运行一段时间就会出现。重启容器后又恢复正常。已经检查过防火墙规则和端口映射(-p 3000:3000),日志里也没有明显报错。不太确定是不是 Docker 网络或系统资源的问...
작성자 beifangcoder_8401 일반 | 2026-03-14 22:46:08在公司内网环境里部署一个用Docker运行的Node.js服务,遇到个奇怪问题:容器内可以正常访问外网API,但宿主机通过端口映射访问服务时,经常出现超时或者直接连接被重置。docker ps和logs看起来都正常,端口也确实映射了(-p 3000:3000)。尝试过重启容器、关闭防火墙、换成host网络模式,情况还是不稳定。有没有人遇到过类似情况?可能是哪...
작성자 laozhang_nas_7433 일반 | 2026-03-14 22:24:17Has anyone run into random 502 errors after putting Nginx in front of a small Node.js API? Works fine locally, but under light traffic on the VPS the upstream occasionally times ou...
편집 시간: 2026-03-15 02:49:00작성자 linfan88_7834 일반 | 2026-03-14 22:13:07Anyone run into this with Docker + Node 20 on Windows? My container builds fine, but outbound HTTP requests randomly hang after a few minutes of uptime. Restarting the container te...
편집 시간: 2026-03-15 02:49:12작성자 linfan88_7834 일반 | 2026-03-14 22:11:57Running into a weird issue after updating Node to 20. My small Express API now throws intermittent ECONNRESET when calling an internal service, but only under load tests. Works fin...
편집 시간: 2026-03-16 17:29:28작성자 laozhang_nas_7433 일반 | 답글 수 1 | 2026-03-14 22:11:53ちょっと困っています。社内のテスト用にDockerでNode.jsアプリを立てているのですが、コンテナ自体は起動するのにブラウザからlocalhost:3000へアクセスすると接続拒否になります。ポートマッピングは -p 3000:3000 で指定済み。コンテナ内ではcurlで応答あり。同じ症状に遭遇した方いますか?
편집 시간: 2026-03-16 17:28:44작성자 hangzhoucoder_7879 일반 | 2026-03-14 22:00:31Running into a weird issue after upgrading my Node app to v20. Local tests pass, but inside Docker the process exits with code 0 after a few seconds and prints no logs. Has anyone ...
편집 시간: 2026-03-16 17:28:45작성자 S4MUEL 고급 | 2026-03-14 21:30:12After upgrading my Node.js app to v20, some async file writes randomly hang in production but never locally. No errors, just stalled promises. Anyone seen this with fs/promises or ...
편집 시간: 2026-03-15 06:22:35작성자 hangzhoucoder_7879 일반 | 2026-03-14 21:28:30開発環境でちょっと詰まっています。Node.js + Docker でAPIを動かしているのですが、ローカルでは問題ないのにコンテナ内だと環境変数が読み込まれません。.env はコピーされているはずで、process.env もほぼ空の状態です。docker-compose.yml の設定を疑っていますが、同じ症状に遭遇した方いますか?確認すべきポイントを教...
편집 시간: 2026-03-15 18:58:37작성자 yeyuqiaochuang_7214 일반 | 2026-03-14 21:10:17Running into a weird issue after upgrading my Node.js app to v20. Local dev works fine, but the Docker container crashes with 'ERR_MODULE_NOT_FOUND' for a file that definitely exis...
편집 시간: 2026-03-16 17:30:15작성자 azhou_dev_7276 일반 | 답글 수 1 | 2026-03-14 21:08:00After upgrading Node from 18 to 20, my Express app randomly hangs on the first request after deploy. No errors in logs. Anyone seen this with Docker + Alpine images? Rolling back f...
편집 시간: 2026-03-16 17:28:39작성자 hangzhoucoder_7879 일반 | 2026-03-14 20:54:16想請教各位有沒有遇過這種情況:我在 Windows 11 上用 Docker Desktop 跑一個簡單的 Node.js API,container 可以正常啟動,log 也顯示 server listening 在 3000,但從主機用 http://localhost:3000 卻一直連不到。docker ps 看起來 port mapping 也有 ...
편집 시간: 2026-03-16 17:30:22작성자 yeyuqiaochuang_7214 일반 | 답글 수 1 | 2026-03-14 20:53:15Running into a weird issue after upgrading Node to v22. My Express API starts fine locally, but in Docker the container exits with code 0 right after boot. No errors in logs. Has a...
편집 시간: 2026-03-16 17:28:43작성자 ASAHI 일반 | 답글 수 1 | 2026-03-14 20:51:28Running into a weird issue after upgrading my Node.js app to v20. File uploads randomly fail with ECONNRESET, but only in production (Nginx + PM2). Locally everything works fine. C...
편집 시간: 2026-03-16 17:23:09작성자 beicheng_camera_2001 일반 | 답글 수 1 | 2026-03-14 20:50:51Been trying to deploy a small Node.js service on a cheap VPS and keep hitting a weird issue: the app runs fine locally, but on the server it randomly stops responding after a few m...
편집 시간: 2026-03-15 06:22:54작성자 yeyuqiaochuang_7214 일반 | 2026-03-14 20:49:20