r-sugi / nextjs-tdd-template

https://nextjs-tdd-templatestorybook-rsugis-projects.vercel.app
0 stars 0 forks source link

fix: 疎通 functions呼び出し時にエラーになっているっぽい #202

Closed r-sugi closed 2 months ago

r-sugi commented 2 months ago

functions呼び出し時にエラーになっている?

firebase | > {"severity":"ERROR","message":"TypeError: fetch failed\n at node:internal/deps/undici/undici:12618:11\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /opt/firebase/functions/lib/index.js:46:25\n at async runFunction (/usr/lib/node_modules/firebase-tools/lib/emulator/functionsEmulatorRuntime.js:506:9)\n at async runBackground (/usr/lib/node_modules/firebase-tools/lib/emulator/functionsEmulatorRuntime.js:517:5)\n at async processBackground (/usr/lib/node_modules/firebase-tools/lib/emulator/functionsEmulatorRuntime.js:501:5)\n at async /usr/lib/node_modules/firebase-tools/lib/emulator/functionsEmulatorRuntime.js:690:21 {\n cause: Error: connect ECONNREFUSED 127.0.0.1:8080\n at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) {\n errno: -111,\n code: 'ECONNREFUSED',\n syscall: 'connect',\n address: '127.0.0.1',\n port: 8080\n }\n}"}

r-sugi commented 2 months ago

dockerからhostマシンに対して疎通しようとしていた。