Could not connect to server at http://prisma:4466
jdhines opened this issue · 0 comments
jdhines commented
I can't really tell if this might be an enterprise proxy or blocked URL to Prisma Cloud, but after running docker-compose, it appears to work up until this point:
server_1 | wait-for-it.sh: waiting 15 seconds for prisma:4466
prisma_1 | Obtaining exclusive agent lock...
prisma_1 | Obtaining exclusive agent lock... Successful.
prisma_1 | Deployment worker initialization complete.
prisma_1 | Initializing workers...
prisma_1 | Successfully started 1 workers.
prisma_1 | Server running on :4466
server_1 | wait-for-it.sh: prisma:4466 is available after 9 seconds
server_1 | ▸ Could not connect to server at http://prisma:4466. Please check if your
server_1 | ▸ server is running.
server_1 |
server_1 | Get in touch if you need help: https://slack.prisma.io
server_1 | To get more detailed output, run $ export DEBUG="*"
server_1 | -
prisma_1 | [Telemetry] Warning: Telemetry call failed with akka.stream.StreamTcpException: Connection failed.
server_1 | fs.js:114
server_1 | throw err;
server_1 | ^
server_1 |
server_1 | Error: ENOENT: no such file or directory, open '/usr/src/app/src/generated/prisma.graphql'
server_1 | at Object.openSync (fs.js:443:3)
server_1 | at Object.readFileSync (fs.js:343:35)
server_1 | at read (/usr/src/app/node_modules/graphql-yoga/node_modules/graphql-import/dist/index.js:11:19)
server_1 | at /usr/src/app/node_modules/graphql-yoga/node_modules/graphql-import/dist/index.js:171:43
server_1 | at Array.forEach (<anonymous>)
server_1 | at collectDefinitions (/usr/src/app/node_modules/graphql-yoga/node_modules/graphql-import/dist/index.js:165:19)
server_1 | at Object.importSchema (/usr/src/app/node_modules/graphql-yoga/node_modules/graphql-import/dist/index.js:61:14)
server_1 | at mergeTypeDefs (/usr/src/app/node_modules/graphql-yoga/dist/index.js:408:37)
server_1 | at new GraphQLServer (/usr/src/app/node_modules/graphql-yoga/dist/index.js:92:34)
server_1 | at Object.<anonymous> (/usr/src/app/src/index.js:83:16)
server_1 | [nodemon] app crashed - waiting for file changes before starting...
prisma_1 | [Metrics] No Prisma Cloud secret is set. Metrics collection is disabled.