Open adrianvanderwal opened 8 months ago
very strange not seen this error before will look into it @adrianvanderwal
I encountered the same error after a fresh installation from the docker-compose example provided. Despite copying and pasting directly, everything seems to be functioning correctly. My docker image is also showing an unhealthy state.
See other ways of importing Prisma Client: http://pris.ly/d/importing-client
Error while shutting down PostHog Error [PostHogFetchNetworkError]: Network error while fetching PostHog
at new PostHogFetchNetworkError (/apps/api/node_modules/posthog-node/lib/index.cjs.js:1127:16)
at PostHog.<anonymous> (/apps/api/node_modules/posthog-node/lib/index.cjs.js:1521:51)
at step (/apps/api/node_modules/posthog-node/lib/index.cjs.js:135:27)
at Object.throw (/apps/api/node_modules/posthog-node/lib/index.cjs.js:84:53)
at rejected (/apps/api/node_modules/posthog-node/lib/index.cjs.js:71:36)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
error: TypeError: fetch failed
at node:internal/deps/undici/undici:12345:11
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
cause: AggregateError
at internalConnectMultiple (node:net:1114:18)
at afterConnectMultiple (node:net:1667:5) {
code: 'ECONNREFUSED',
[errors]: [Array]
}
},
[cause]: TypeError: fetch failed
at node:internal/deps/undici/undici:12345:11
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
cause: AggregateError
at internalConnectMultiple (node:net:1114:18)
at afterConnectMultiple (node:net:1667:5) {
code: 'ECONNREFUSED',
[errors]: [Array]
}
}
}
loop completed
loop completed
What infra setup are you running @maxgill
What infra setup are you running @maxgill
I am running Docker version 26.0.0 and Portainer Business Edition 2.19.4 on a virtual machine with Rocky Linux 9.3, hosted in a Proxmox environment.
I suspect there might be a DNS issue, as I’ve noticed that requests to PostHog are being blocked by my AdGuard server.
Ooo. I am also running adguard. That may be our culprit.
Indeed, after unblocking app.posthog.com and reconstructing my stack, the error appears to have been resolved. There are no longer any error messages in the logs.
However, the container remains in an unhealthy state, as I’m encountering errors with wget.
remove the healthcheck from the compose @maxgill, thank you, i'll see if i can handle this gracefully on my side
I tried to deploy the container today after a minor modification of the docker-compose.yml (changed to port 3001:3000, as I already have another container bound to port 3000).
The container deploys, but gets stuck starting and is in an unhealthy state.
Output of
docker logs peppermint
below.