Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

curl: (56) Recv failure: Connection reset by peer #105

Closed
dm5n opened this issue Dec 20, 2022 · 6 comments
Closed

curl: (56) Recv failure: Connection reset by peer #105

dm5n opened this issue Dec 20, 2022 · 6 comments
Labels
help wanted Extra attention is needed

Comments

@dm5n
Copy link

dm5n commented Dec 20, 2022

Service Versions (please complete the following information):
Paste the output of ./server.sh version. For example:

CONTAINER                             REPOSITORY                        TAG                 IMAGE ID            SIZE
api-gateway-standalone                standardnotes/api-gateway         latest              1de353c924b0        205MB
auth-standalone                       standardnotes/auth                latest              e0314e8028d7        225MB
auth-worker-standalone                standardnotes/auth                latest              e0314e8028d7        225MB
cache-standalone                      redis                             6.0-alpine          13d7db1b2310        26.6MB
db-standalone                         mysql                             8                   7b6f3978ca29        550MB
files-standalone                      standardnotes/files               latest              8f9d3054fc98        203MB
syncing-server-js-standalone          standardnotes/syncing-server-js   latest              92e76dc8c52b        223MB
syncing-server-js-worker-standalone   standardnotes/syncing-server-js   latest              92e76dc8c52b        223MB

Describe the issue
A clear and concise description of what the issue is.
Error on healthcheck : curl: (56) Recv failure: Connection reset by peer
Logs
syncing-server-js-standalone | Node.js v18.12.1
syncing-server-js-standalone | db (172.18.0.4:3306) open
syncing-server-js-standalone | db:3306 is up - executing command
syncing-server-js-standalone | cache (172.18.0.2:6379) open
syncing-server-js-standalone | cache:6379 is up - executing command
syncing-server-js-standalone | [Docker] Starting Web...
syncing-server-js-standalone | /workspace/.pnp.cjs:13462
syncing-server-js-standalone | Error.captureStackTrace(firstError);
syncing-server-js-standalone | ^
syncing-server-js-standalone |
syncing-server-js-standalone | Error: Qualified path resolution failed: we looked for the following paths, but none could be accessed.
syncing-server-js-standalone |
syncing-server-js-standalone | Source path: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node
syncing-server-js-standalone | Not found: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node
syncing-server-js-standalone | Not found: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node.js
syncing-server-js-standalone | Not found: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node.json
syncing-server-js-standalone | Not found: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node.node
syncing-server-js-standalone |
syncing-server-js-standalone | Require stack:
syncing-server-js-standalone | - /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/cpu_profiler.js
syncing-server-js-standalone | - /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/hubextensions.js
syncing-server-js-standalone | - /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/index.js
syncing-server-js-standalone | - /workspace/packages/syncing-server/dist/bin/server.js
syncing-server-js-standalone | at require$$0.Module._resolveFilename (/workspace/.pnp.cjs:13462:13)
syncing-server-js-standalone | at require$$0.Module._load (/workspace/.pnp.cjs:13313:42)
syncing-server-js-standalone | at Module.require (node:internal/modules/cjs/loader:1061:19)
syncing-server-js-standalone | at require (node:internal/modules/cjs/helpers:103:18)
syncing-server-js-standalone | at importCppBindingsModule (/workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/cpu_profiler.js:13:12)
syncing-server-js-standalone | at Object. (/workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/cpu_profiler.js:16:25)
syncing-server-js-standalone | at Module._compile (node:internal/modules/cjs/loader:1159:14)
syncing-server-js-standalone | at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
syncing-server-js-standalone | at require$$0.Module._extensions..js (/workspace/.pnp.cjs:13506:33)
syncing-server-js-standalone | at Module.load (node:internal/modules/cjs/loader:1037:32)
syncing-server-js-standalone |
syncing-server-js-standalone | Node.js v18.12.1
syncing-server-js-standalone | db (172.18.0.4:3306) open
syncing-server-js-standalone | db:3306 is up - executing command
syncing-server-js-standalone | [Docker] Starting Web...
syncing-server-js-standalone | cache (172.18.0.2:6379) open
syncing-server-js-standalone | cache:6379 is up - executing command
syncing-server-js-standalone | /workspace/.pnp.cjs:13462
syncing-server-js-standalone | Error.captureStackTrace(firstError);
syncing-server-js-standalone | ^
syncing-server-js-standalone |
syncing-server-js-standalone | Error: Qualified path resolution failed: we looked for the following paths, but none could be accessed.
syncing-server-js-standalone |
syncing-server-js-standalone | Source path: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node
syncing-server-js-standalone | Not found: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node
syncing-server-js-standalone | Not found: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node.js
syncing-server-js-standalone | Not found: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node.json
syncing-server-js-standalone | Not found: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node.node
syncing-server-js-standalone |
syncing-server-js-standalone | Require stack:
syncing-server-js-standalone | - /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/cpu_profiler.js
syncing-server-js-standalone | - /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/hubextensions.js
syncing-server-js-standalone | - /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/index.js
syncing-server-js-standalone | - /workspace/packages/syncing-server/dist/bin/server.js
syncing-server-js-standalone | at require$$0.Module._resolveFilename (/workspace/.pnp.cjs:13462:13)
syncing-server-js-standalone | at require$$0.Module._load (/workspace/.pnp.cjs:13313:42)
syncing-server-js-standalone | at Module.require (node:internal/modules/cjs/loader:1061:19)
syncing-server-js-standalone | at require (node:internal/modules/cjs/helpers:103:18)
syncing-server-js-standalone | at importCppBindingsModule (/workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/cpu_profiler.js:13:12)
syncing-server-js-standalone | at Object. (/workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/cpu_profiler.js:16:25)
syncing-server-js-standalone | at Module._compile (node:internal/modules/cjs/loader:1159:14)
syncing-server-js-standalone | at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
syncing-server-js-standalone | at require$$0.Module._extensions..js (/workspace/.pnp.cjs:13506:33)
syncing-server-js-standalone | at Module.load (node:internal/modules/cjs/loader:1037:32)
syncing-server-js-standalone |
syncing-server-js-standalone | Node.js v18.12.1
syncing-server-js-standalone | db (172.18.0.4:3306) open
syncing-server-js-standalone | db:3306 is up - executing command
syncing-server-js-standalone | cache (172.18.0.2:6379) open
syncing-server-js-standalone | cache:6379 is up - executing command
syncing-server-js-standalone | [Docker] Starting Web...
syncing-server-js-standalone | /workspace/.pnp.cjs:13462
syncing-server-js-standalone | Error.captureStackTrace(firstError);
syncing-server-js-standalone | ^
syncing-server-js-standalone |
syncing-server-js-standalone | Error: Qualified path resolution failed: we looked for the following paths, but none could be accessed.
syncing-server-js-standalone |
syncing-server-js-standalone | Source path: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node
syncing-server-js-standalone | Not found: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node
syncing-server-js-standalone | Not found: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node.js
syncing-server-js-standalone | Not found: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node.json
syncing-server-js-standalone | Not found: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node.node
syncing-server-js-standalone |
syncing-server-js-standalone | Require stack:
syncing-server-js-standalone | - /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/cpu_profiler.js
syncing-server-js-standalone | - /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/hubextensions.js
syncing-server-js-standalone | - /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/index.js
syncing-server-js-standalone | - /workspace/packages/syncing-server/dist/bin/server.js
syncing-server-js-standalone | at require$$0.Module._resolveFilename (/workspace/.pnp.cjs:13462:13)
syncing-server-js-standalone | at require$$0.Module._load (/workspace/.pnp.cjs:13313:42)
syncing-server-js-standalone | at Module.require (node:internal/modules/cjs/loader:1061:19)
syncing-server-js-standalone | at require (node:internal/modules/cjs/helpers:103:18)
syncing-server-js-standalone | at importCppBindingsModule (/workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/cpu_profiler.js:13:12)
syncing-server-js-standalone | at Object. (/workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/cpu_profiler.js:16:25)
syncing-server-js-standalone | at Module._compile (node:internal/modules/cjs/loader:1159:14)
syncing-server-js-standalone | at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
syncing-server-js-standalone | at require$$0.Module._extensions..js (/workspace/.pnp.cjs:13506:33)
syncing-server-js-standalone | at Module.load (node:internal/modules/cjs/loader:1037:32)
syncing-server-js-standalone |
syncing-server-js-standalone | Node.js v18.12.1
syncing-server-js-standalone | db (172.18.0.4:3306) open
syncing-server-js-standalone | db:3306 is up - executing command
syncing-server-js-standalone | cache (172.18.0.2:6379) open
syncing-server-js-standalone | cache:6379 is up - executing command
syncing-server-js-standalone | [Docker] Starting Web...
syncing-server-js-standalone | /workspace/.pnp.cjs:13462
syncing-server-js-standalone | Error.captureStackTrace(firstError);
syncing-server-js-standalone | ^
syncing-server-js-standalone |
syncing-server-js-standalone | Error: Qualified path resolution failed: we looked for the following paths, but none could be accessed.
syncing-server-js-standalone |
syncing-server-js-standalone | Source path: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node
syncing-server-js-standalone | Not found: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node
syncing-server-js-standalone | Not found: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node.js
syncing-server-js-standalone | Not found: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node.json
syncing-server-js-standalone | Not found: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node.node
syncing-server-js-standalone |
syncing-server-js-standalone | Require stack:
syncing-server-js-standalone | - /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/cpu_profiler.js
syncing-server-js-standalone | - /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/hubextensions.js
syncing-server-js-standalone | - /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/index.js
syncing-server-js-standalone | - /workspace/packages/syncing-server/dist/bin/server.js
syncing-server-js-standalone | at require$$0.Module._resolveFilename (/workspace/.pnp.cjs:13462:13)
syncing-server-js-standalone | at require$$0.Module._load (/workspace/.pnp.cjs:13313:42)
syncing-server-js-standalone | at Module.require (node:internal/modules/cjs/loader:1061:19)
syncing-server-js-standalone | at require (node:internal/modules/cjs/helpers:103:18)
syncing-server-js-standalone | at importCppBindingsModule (/workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/cpu_profiler.js:13:12)
syncing-server-js-standalone | at Object. (/workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/cpu_profiler.js:16:25)
syncing-server-js-standalone | at Module._compile (node:internal/modules/cjs/loader:1159:14)
syncing-server-js-standalone | at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
syncing-server-js-standalone | at require$$0.Module._extensions..js (/workspace/.pnp.cjs:13506:33)
syncing-server-js-standalone | at Module.load (node:internal/modules/cjs/loader:1037:32)
syncing-server-js-standalone |
syncing-server-js-standalone | Node.js v18.12.1
syncing-server-js-standalone | db (172.18.0.4:3306) open
syncing-server-js-standalone | db:3306 is up - executing command
syncing-server-js-standalone | cache (172.18.0.2:6379) open
syncing-server-js-standalone | cache:6379 is up - executing command
syncing-server-js-standalone | [Docker] Starting Web...
syncing-server-js-standalone | /workspace/.pnp.cjs:13462
syncing-server-js-standalone | Error.captureStackTrace(firstError);
syncing-server-js-standalone | ^
syncing-server-js-standalone |
syncing-server-js-standalone | Error: Qualified path resolution failed: we looked for the following paths, but none could be accessed.
syncing-server-js-standalone |
syncing-server-js-standalone | Source path: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node
syncing-server-js-standalone | Not found: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node
syncing-server-js-standalone | Not found: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node.js
syncing-server-js-standalone | Not found: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node.json
syncing-server-js-standalone | Not found: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node.node
syncing-server-js-standalone |
syncing-server-js-standalone | Require stack:
syncing-server-js-standalone | - /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/cpu_profiler.js
syncing-server-js-standalone | - /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/hubextensions.js
syncing-server-js-standalone | - /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/index.js
syncing-server-js-standalone | - /workspace/packages/syncing-server/dist/bin/server.js
syncing-server-js-standalone | at require$$0.Module._resolveFilename (/workspace/.pnp.cjs:13462:13)
syncing-server-js-standalone | at require$$0.Module._load (/workspace/.pnp.cjs:13313:42)
syncing-server-js-standalone | at Module.require (node:internal/modules/cjs/loader:1061:19)
syncing-server-js-standalone | at require (node:internal/modules/cjs/helpers:103:18)
syncing-server-js-standalone | at importCppBindingsModule (/workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/cpu_profiler.js:13:12)
syncing-server-js-standalone | at Object. (/workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/cpu_profiler.js:16:25)
syncing-server-js-standalone | at Module._compile (node:internal/modules/cjs/loader:1159:14)
syncing-server-js-standalone | at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
syncing-server-js-standalone | at require$$0.Module._extensions..js (/workspace/.pnp.cjs:13506:33)
syncing-server-js-standalone | at Module.load (node:internal/modules/cjs/loader:1037:32)
syncing-server-js-standalone |
syncing-server-js-standalone | Node.js v18.12.1
syncing-server-js-standalone | db:3306 is unavailable yet - waiting for it to start
syncing-server-js-standalone | db (172.18.0.2:3306) open
syncing-server-js-standalone | db:3306 is up - executing command
syncing-server-js-standalone | cache (172.18.0.3:6379) open
syncing-server-js-standalone | cache:6379 is up - executing command
syncing-server-js-standalone | [Docker] Starting Web...
syncing-server-js-standalone | /workspace/.pnp.cjs:13462
syncing-server-js-standalone | Error.captureStackTrace(firstError);
syncing-server-js-standalone | ^
syncing-server-js-standalone |
syncing-server-js-standalone | Error: Qualified path resolution failed: we looked for the following paths, but none could be accessed.
syncing-server-js-standalone |
syncing-server-js-standalone | Source path: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node
syncing-server-js-standalone | Not found: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node
syncing-server-js-standalone | Not found: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node.js
syncing-server-js-standalone | Not found: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node.json
syncing-server-js-standalone | Not found: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node.node
syncing-server-js-standalone |
syncing-server-js-standalone | Require stack:
syncing-server-js-standalone | - /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/cpu_profiler.js
syncing-server-js-standalone | - /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/hubextensions.js
syncing-server-js-standalone | - /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/index.js
syncing-server-js-standalone | - /workspace/packages/syncing-server/dist/bin/server.js
syncing-server-js-standalone | at require$$0.Module._resolveFilename (/workspace/.pnp.cjs:13462:13)
syncing-server-js-standalone | at require$$0.Module._load (/workspace/.pnp.cjs:13313:42)
syncing-server-js-standalone | at Module.require (node:internal/modules/cjs/loader:1061:19)
syncing-server-js-standalone | at require (node:internal/modules/cjs/helpers:103:18)
syncing-server-js-standalone | at importCppBindingsModule (/workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/cpu_profiler.js:13:12)
syncing-server-js-standalone | at Object. (/workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/cpu_profiler.js:16:25)
syncing-server-js-standalone | at Module._compile (node:internal/modules/cjs/loader:1159:14)
syncing-server-js-standalone | at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
syncing-server-js-standalone | at require$$0.Module._extensions..js (/workspace/.pnp.cjs:13506:33)
syncing-server-js-standalone | at Module.load (node:internal/modules/cjs/loader:1037:32)
syncing-server-js-standalone |
syncing-server-js-standalone | Node.js v18.12.1
syncing-server-js-standalone | db (172.18.0.2:3306) open
syncing-server-js-standalone | db:3306 is up - executing command
syncing-server-js-standalone | cache (172.18.0.3:6379) open
syncing-server-js-standalone | cache:6379 is up - executing command
syncing-server-js-standalone | [Docker] Starting Web...
syncing-server-js-standalone | /workspace/.pnp.cjs:13462
syncing-server-js-standalone | Error.captureStackTrace(firstError);
syncing-server-js-standalone | ^
syncing-server-js-standalone |
syncing-server-js-standalone | Error: Qualified path resolution failed: we looked for the following paths, but none could be accessed.
syncing-server-js-standalone |
syncing-server-js-standalone | Source path: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node
syncing-server-js-standalone | Not found: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node
syncing-server-js-standalone | Not found: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node.js
syncing-server-js-standalone | Not found: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node.json
syncing-server-js-standalone | Not found: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node.node
syncing-server-js-standalone |
syncing-server-js-standalone | Require stack:
syncing-server-js-standalone | - /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/cpu_profiler.js
syncing-server-js-standalone | - /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/hubextensions.js
syncing-server-js-standalone | - /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/index.js
syncing-server-js-standalone | - /workspace/packages/syncing-server/dist/bin/server.js
syncing-server-js-standalone | at require$$0.Module._resolveFilename (/workspace/.pnp.cjs:13462:13)
syncing-server-js-standalone | at require$$0.Module._load (/workspace/.pnp.cjs:13313:42)
syncing-server-js-standalone | at Module.require (node:internal/modules/cjs/loader:1061:19)
syncing-server-js-standalone | at require (node:internal/modules/cjs/helpers:103:18)
syncing-server-js-standalone | at importCppBindingsModule (/workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/cpu_profiler.js:13:12)
syncing-server-js-standalone | at Object. (/workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/cpu_profiler.js:16:25)
syncing-server-js-standalone | at Module._compile (node:internal/modules/cjs/loader:1159:14)
syncing-server-js-standalone | at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
syncing-server-js-standalone | at require$$0.Module._extensions..js (/workspace/.pnp.cjs:13506:33)
syncing-server-js-standalone | at Module.load (node:internal/modules/cjs/loader:1037:32)
syncing-server-js-standalone |
syncing-server-js-standalone | Node.js v18.12.1
syncing-server-js-worker-standalone | syncing-server-js:3000 is unavailable yet - waiting for it to start
auth-standalone | syncing-server-js:3000 is unavailable yet - waiting for it to start
auth-worker-standalone | auth:3000 is unavailable yet - waiting for it to start
api-gateway-standalone | auth:3000 is unavailable yet - waiting for it to start
auth-worker-standalone | auth:3000 is unavailable yet - waiting for it to start
api-gateway-standalone | auth:3000 is unavailable yet - waiting for it to start
auth-standalone | syncing-server-js:3000 is unavailable yet - waiting for it to start
syncing-server-js-worker-standalone | nc: bad address 'syncing-server-js'
syncing-server-js-worker-standalone | syncing-server-js:3000 is unavailable yet - waiting for it to start
auth-worker-standalone | auth:3000 is unavailable yet - waiting for it to start
api-gateway-standalone | auth:3000 is unavailable yet - waiting for it to start
auth-standalone | syncing-server-js:3000 is unavailable yet - waiting for it to start
syncing-server-js-worker-standalone | nc: bad address 'syncing-server-js'
syncing-server-js-worker-standalone | syncing-server-js:3000 is unavailable yet - waiting for it to start
auth-worker-standalone | auth:3000 is unavailable yet - waiting for it to start
api-gateway-standalone | auth:3000 is unavailable yet - waiting for it to start
auth-standalone | nc: bad address 'syncing-server-js'

@dm5n dm5n added the help wanted Extra attention is needed label Dec 20, 2022
@karolsojko
Copy link
Member

There has been a significant change in our setup, described in here: #97 (comment)

Could you update your server and check if it's working for you or we need to fix some other bugs?

@dm5n
Copy link
Author

dm5n commented Dec 28, 2022

Still getting error, on fresh install. I'm wondering if there is DNS problem as reported in issue #104 ?

syncing-server-js-self-hosted | Node.js v18.12.1
syncing-server-js-self-hosted | db (172.18.0.4:3306) open
syncing-server-js-self-hosted | db:3306 is up - executing command
syncing-server-js-self-hosted | cache (172.18.0.7:6379) open
syncing-server-js-self-hosted | cache:6379 is up - executing command
syncing-server-js-self-hosted | localstack (172.18.0.5:4566) open
syncing-server-js-self-hosted | localstack:4566 is up - executing command
syncing-server-js-self-hosted | [Docker] Starting Web...
syncing-server-js-self-hosted | /workspace/.pnp.cjs:13462
syncing-server-js-self-hosted | Error.captureStackTrace(firstError);
syncing-server-js-self-hosted | ^
syncing-server-js-self-hosted |
syncing-server-js-self-hosted | Error: Qualified path resolution failed: we looked for the following paths, but none could be accessed.
syncing-server-js-self-hosted |
syncing-server-js-self-hosted | Source path: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node
syncing-server-js-self-hosted | Not found: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node
syncing-server-js-self-hosted | Not found: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node.js
syncing-server-js-self-hosted | Not found: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node.json
syncing-server-js-self-hosted | Not found: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node.node
syncing-server-js-self-hosted |
syncing-server-js-self-hosted | Require stack:
syncing-server-js-self-hosted | - /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/cpu_profiler.js
syncing-server-js-self-hosted | - /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/hubextensions.js
syncing-server-js-self-hosted | - /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/index.js
syncing-server-js-self-hosted | - /workspace/packages/syncing-server/dist/bin/server.js
syncing-server-js-self-hosted | at require$$0.Module._resolveFilename (/workspace/.pnp.cjs:13462:13)
syncing-server-js-self-hosted | at require$$0.Module._load (/workspace/.pnp.cjs:13313:42)
syncing-server-js-self-hosted | at Module.require (node:internal/modules/cjs/loader:1061:19)
syncing-server-js-self-hosted | at require (node:internal/modules/cjs/helpers:103:18)
syncing-server-js-self-hosted | at importCppBindingsModule (/workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/cpu_profiler.js:13:12)
syncing-server-js-self-hosted | at Object. (/workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/lib/cpu_profiler.js:16:25)
syncing-server-js-self-hosted | at Module._compile (node:internal/modules/cjs/loader:1159:14)
syncing-server-js-self-hosted | at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
syncing-server-js-self-hosted | at require$$0.Module._extensions..js (/workspace/.pnp.cjs:13506:33)
syncing-server-js-self-hosted | at Module.load (node:internal/modules/cjs/loader:1037:32)
syncing-server-js-self-hosted |
syncing-server-js-self-hosted | Node.js v18.12.1
standalone-localstack-1 | 2022-12-28T05:37:54.599 INFO --- [ asgi_gw_0] localstack.request.aws : AWS sqs.ReceiveMessage => 200
standalone-localstack-1 | 2022-12-28T05:38:14.630 INFO --- [ asgi_gw_0] localstack.request.aws : AWS sqs.ReceiveMessage => 200
standalone-localstack-1 | 2022-12-28T05:38:34.660 INFO --- [ asgi_gw_0] localstack.request.aws : AWS sqs.ReceiveMessage => 200
standalone-localstack-1 | 2022-12-28T05:38:54.694 INFO --- [ asgi_gw_0] localstack.request.aws : AWS sqs.ReceiveMessage => 200
standalone-localstack-1 | 2022-12-28T05:39:14.725 INFO --- [ asgi_gw_0] localstack.request.aws : AWS sqs.ReceiveMessage => 200
standalone-localstack-1 | 2022-12-28T05:39:34.756 INFO --- [ asgi_gw_0] localstack.request.aws : AWS sqs.ReceiveMessage => 200
standalone-localstack-1 | 2022-12-28T05:39:54.784 INFO --- [ asgi_gw_0] localstack.request.aws : AWS sqs.ReceiveMessage => 200
standalone-localstack-1 | 2022-12-28T05:40:14.815 INFO --- [ asgi_gw_0] localstack.request.aws : AWS sqs.ReceiveMessage => 200
standalone-localstack-1 | 2022-12-28T05:40:34.848 INFO --- [ asgi_gw_0] localstack.request.aws : AWS sqs.ReceiveMessage => 200
standalone-localstack-1 | 2022-12-28T05:40:54.877 INFO --- [ asgi_gw_0] localstack.request.aws : AWS sqs.ReceiveMessage => 200
standalone-localstack-1 | 2022-12-28T05:41:14.910 INFO --- [ asgi_gw_0] localstack.request.aws : AWS sqs.ReceiveMessage => 200
standalone-localstack-1 | 2022-12-28T05:41:34.940 INFO --- [ asgi_gw_0] localstack.request.aws : AWS sqs.ReceiveMessage => 200
standalone-localstack-1 | 2022-12-28T05:41:54.972 INFO --- [ asgi_gw_0] localstack.request.aws : AWS sqs.ReceiveMessage => 200
standalone-localstack-1 | 2022-12-28T05:42:15.003 INFO --- [ asgi_gw_0] localstack.request.aws : AWS sqs.ReceiveMessage => 200
standalone-localstack-1 | 2022-12-28T05:42:35.031 INFO --- [ asgi_gw_0] localstack.request.aws : AWS sqs.ReceiveMessage => 200
standalone-localstack-1 | 2022-12-28T05:42:55.063 INFO --- [ asgi_gw_0] localstack.request.aws : AWS sqs.ReceiveMessage => 200
standalone-localstack-1 | 2022-12-28T05:43:15.096 INFO --- [ asgi_gw_0] localstack.request.aws : AWS sqs.ReceiveMessage => 200
standalone-localstack-1 | 2022-12-28T05:43:35.127 INFO --- [ asgi_gw_0] localstack.request.aws : AWS sqs.ReceiveMessage => 200
standalone-localstack-1 | 2022-12-28T05:43:55.160 INFO --- [ asgi_gw_0] localstack.request.aws : AWS sqs.ReceiveMessage => 200
standalone-localstack-1 | 2022-12-28T05:44:15.191 INFO --- [ asgi_gw_0] localstack.request.aws : AWS sqs.ReceiveMessage => 200
standalone-localstack-1 | 2022-12-28T05:44:35.221 INFO --- [ asgi_gw_0] localstack.request.aws : AWS sqs.ReceiveMessage => 200
standalone-localstack-1 | 2022-12-28T05:44:55.251 INFO --- [ asgi_gw_1] localstack.request.aws : AWS sqs.ReceiveMessage => 200
revisions-worker-self-hosted | revisions:3000 is unavailable yet - waiting for it to start
revisions-self-hosted | nc: bad address 'syncing-server-js'
revisions-self-hosted | syncing-server-js:3000 is unavailable yet - waiting for it to start
api-gateway-self-hosted | auth:3000 is unavailable yet - waiting for it to start
auth-worker-self-hosted | auth:3000 is unavailable yet - waiting for it to start
standalone-localstack-1 | 2022-12-28T05:45:15.283 INFO --- [ asgi_gw_1] localstack.

and server status - syncing-server-js-self-hosted keeps restarting:

Services State:

NAME                                   IMAGE                                    COMMAND                  SERVICE                    CREATED             STATUS                          PORTS
api-gateway-self-hosted                standardnotes/api-gateway:latest         "./packages/api-gate…"   api-gateway                35 minutes ago      Up 35 minutes                   0.0.0.0:3000->3000/tcp, :::3000->3000/tcp
auth-self-hosted                       standardnotes/auth:latest                "./packages/auth/wai…"   auth                       35 minutes ago      Up 35 minutes
auth-worker-self-hosted                standardnotes/auth:latest                "./packages/auth/wai…"   auth-worker                35 minutes ago      Up 35 minutes
cache-self-hosted                      redis:6.0-alpine                         "docker-entrypoint.s…"   cache                      36 minutes ago      Up 35 minutes                   6379/tcp
db-self-hosted                         mysql:8                                  "docker-entrypoint.s…"   db                         36 minutes ago      Up 35 minutes                   3306/tcp, 33060/tcp
files-self-hosted                      standardnotes/files:latest               "./packages/files/wa…"   files                      36 minutes ago      Up 35 minutes                   0.0.0.0:3125->3000/tcp, :::3125->3000/tcp
files-worker-self-hosted               standardnotes/files:latest               "./packages/files/wa…"   files-worker               35 minutes ago      Up 35 minutes
revisions-db-self-hosted               mysql:8                                  "docker-entrypoint.s…"   revisions-db               36 minutes ago      Up 35 minutes                   3306/tcp, 33060/tcp
revisions-self-hosted                  standardnotes/revisions:latest           "./packages/revision…"   revisions                  36 minutes ago      Up 35 minutes
revisions-worker-self-hosted           standardnotes/revisions:latest           "./packages/revision…"   revisions-worker           36 minutes ago      Up 35 minutes
standalone-localstack-1                localstack/localstack                    "docker-entrypoint.sh"   localstack                 36 minutes ago      Up 35 minutes (healthy)         4510-4559/tcp, 4566/tcp, 5678/tcp
syncing-server-js-self-hosted          standardnotes/syncing-server-js:latest   "./packages/syncing-…"   syncing-server-js          35 minutes ago      Restarting (1) 33 seconds ago
syncing-server-js-worker-self-hosted   standardnotes/syncing-server-js:latest   "./packages/syncing-…"   syncing-server-js-worker   35 minutes ago      Up 35 minutes

@tuncbkose
Copy link

I am having the same issue on a fresh install. One thing that I did change without thinking about it is in docker-compose.yaml, set mysql version to 8.

@grabpot
Copy link

grabpot commented Jan 1, 2023

I had the same issue. I assume from the log and from changing db-self-hosted to use msql:8 that you're also running on arm64.

I think the following missing file is the key in the log: /workspace/.yarn/unplugged/@sentry-profiling-node-npm-0.0.12-8aeba55fc9/node_modules/@sentry/profiling-node/binaries/sentry_cpu_profiler-v108-linux-arm64.node

The error is from the Sentry Profiling SDK, which looks like it's only packaged with binaries for Linux on x64: https://www.npmjs.com/package/@sentry/profiling-node?activeTab=readme

Profiling is only enabled in the server.js script if the env variable SENTRY_DSN is set to true, so I found a workaround is just to delete the lines that import Sentry from server.js in the syncing-server-js and auth images.

@dm5n
Copy link
Author

dm5n commented Jan 2, 2023

Guide for Arm64 install (in progress). Would the SN Dev team please check this out. Thanks for all the work @antonheitz

@karolsojko
Copy link
Member

Fixed with standardnotes/server#383

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants