Docker 에서 n8n 실행 후 connection lost
해결됨
[인프런어워드 베스트셀러] 코딩 없이 AI 자동화 전문가가 되는 법, n8n 완벽 가이드
안녕하세요. Docker 설치(CPU) 를 완료하고, N8N 실행을 해서 따라가보려고 하는데, N8N 에 Connection Lost 가 지속적으로 뜨고 있습니다. ㅠㅠ DOCKER 만 보면 연결은 되어있는것 같은데, 문제점이 무엇일까요? 아래 다른질문을 참고하여, 시스템 부팅을 해도 동일한 증상이고, docker logs n8n --tail=100 입력시, 아래와 같이 나옵니다. 무엇을 확인해야할까요? Initializing n8n process Error tracking disabled because this release is older than 6 weeks. n8n ready on ::, port 5678 There are deprecations related to your environment variables. Please take the recommended actions to update your configuration: - N8N_RUNNERS_ENABLED -> Running n8n without task runners is deprecated. Task runners will be turned on by default in a future version. Please set N8N_RUNNERS_ENABLED=true to enable task runners now and avoid potential issues in the future. Learn more: https://docs.n8n.io/hosting/configuration/task-runners/ - N8N_BLOCK_ENV_ACCESS_IN_NODE -> The default value of N8N_BLOCK_ENV_ACCESS_IN_NODE will be changed from false to true in a future version. If you need to access environment variables from the Code Node or from expressions, please set N8N_BLOCK_ENV_ACCESS_IN_NODE=false. Learn more: https://docs.n8n.io/hosting/configuration/environment-variables/security/ - N8N_GIT_NODE_DISABLE_BARE_REPOS -> Support for bare repositories in the Git Node will be removed in a future version due to security concerns. If you are not using bare repositories in the Git Node, please set N8N_GIT_NODE_DISABLE_BARE_REPOS=true. Learn more: https://docs.n8n.io/hosting/configuration/environment-variables/security/ [license SDK] Skipping renewal on init: license cert is not initialized Collaboration features are disabled because push is configured unidirectional. Use N8N_PUSH_BACKEND=websocket environment variable to enable them. Version: 1.123.7 Editor is now accessible via: http://localhost:5678 Owner was set up successfully Origin header does NOT match the expected origin. (Origin: "undefined" -> "N/A", Expected: "undefined" -> "undefined", Protocol: "undefined") ResponseError: Invalid origin! at Push.handleRequest (/usr/local/lib/node_modules/n8n/src/push/index.ts:143:10) at /usr/local/lib/node_modules/n8n/src/push/index.ts:99:10 at Layer.handleRequest (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17) at trimPrefix (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13) at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9 at processParams (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12) at next (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5) at /usr/local/lib/node_modules/n8n/src/auth/auth.service.ts:144:18 at processTicksAndRejections (node:internal/process/task_queues:105:5) Origin header does NOT match the expected origin. (Origin: "undefined" -> "N/A", Expected: "undefined" -> "undefined", Protocol: "undefined") ResponseError: Invalid origin! at Push.handleRequest (/usr/local/lib/node_modules/n8n/src/push/index.ts:143:10) at /usr/local/lib/node_modules/n8n/src/push/index.ts:99:10 at Layer.handleRequest (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17) at trimPrefix (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13) at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9 at processParams (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12) at next (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5) at /usr/local/lib/node_modules/n8n/src/auth/auth.service.ts:144:18 at processTicksAndRejections (node:internal/process/task_queues:105:5) Origin header does NOT match the expected origin. (Origin: "undefined" -> "N/A", Expected: "undefined" -> "undefined", Protocol: "undefined") ResponseError: Invalid origin! at Push.handleRequest (/usr/local/lib/node_modules/n8n/src/push/index.ts:143:10) at /usr/local/lib/node_modules/n8n/src/push/index.ts:99:10 at Layer.handleRequest (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17) at trimPrefix (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13) at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9 at processParams (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12) at next (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5) at /usr/local/lib/node_modules/n8n/src/auth/auth.service.ts:144:18 at processTicksAndRejections (node:internal/process/task_queues:105:5) Last session crashed Initializing n8n process Error tracking disabled because this release is older than 6 weeks. n8n ready on ::, port 5678 There are deprecations related to your environment variables. Please take the recommended actions to update your configuration: - N8N_RUNNERS_ENABLED -> Running n8n without task runners is deprecated. Task runners will be turned on by default in a future version. Please set N8N_RUNNERS_ENABLED=true to enable task runners now and avoid potential issues in the future. Learn more: https://docs.n8n.io/hosting/configuration/task-runners/ - N8N_BLOCK_ENV_ACCESS_IN_NODE -> The default value of N8N_BLOCK_ENV_ACCESS_IN_NODE will be changed from false to true in a future version. If you need to access environment variables from the Code Node or from expressions, please set N8N_BLOCK_ENV_ACCESS_IN_NODE=false. Learn more: https://docs.n8n.io/hosting/configuration/environment-variables/security/ - N8N_GIT_NODE_DISABLE_BARE_REPOS -> Support for bare repositories in the Git Node will be removed in a future version due to security concerns. If you are not using bare repositories in the Git Node, please set N8N_GIT_NODE_DISABLE_BARE_REPOS=true. Learn more: https://docs.n8n.io/hosting/configuration/environment-variables/security/ [license SDK] Skipping renewal on init: license cert is not initialized Collaboration features are disabled because push is configured unidirectional. Use N8N_PUSH_BACKEND=websocket environment variable to enable them. Version: 1.123.7 Editor is now accessible via: http://localhost:5678 Origin header does NOT match the expected origin. (Origin: "undefined" -> "N/A", Expected: "undefined" -> "undefined", Protocol: "undefined") ResponseError: Invalid origin! at Push.handleRequest (/usr/local/lib/node_modules/n8n/src/push/index.ts:143:10) at /usr/local/lib/node_modules/n8n/src/push/index.ts:99:10 at Layer.handleRequest (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17) at trimPrefix (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13) at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9 at processParams (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12) at next (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5) at /usr/local/lib/node_modules/n8n/src/auth/auth.service.ts:144:18 at processTicksAndRejections (node:internal/process/task_queues:105:5)
- n8n
- 인공지능(ai)
- rag
- ai-agent





