Coder Social home page Coder Social logo

Comments (2)

patrick91 avatar patrick91 commented on July 18, 2024

Hi @micheldumontier, sorry for the late reply, I just pushed a fix! Let me know if that works for you :)

I'll close the issue for now 😊

from federation-demo.

n3tra1 avatar n3tra1 commented on July 18, 2024

Hello!
I have same trouble:

gateway_1  |
gateway_1  | > [email protected] dev /app
gateway_1  | > nodemon
gateway_1  |
gateway_1  | [nodemon] 2.0.12
gateway_1  | [nodemon] to restart at any time, enter `rs`
gateway_1  | [nodemon] watching path(s): *.*
gateway_1  | [nodemon] watching extensions: js,ts
gateway_1  | [nodemon] starting `ts-node --project tsconfig.json server.ts`
reviews_1  | Skipping virtualenv creation, as specified in config file.
books_1    | Skipping virtualenv creation, as specified in config file.
books_1    | INFO:     Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
books_1    | INFO:     Started reloader process [8] using statreload
reviews_1  | INFO:     Uvicorn running on http://0.0.0.0:8800 (Press CTRL+C to quit)
reviews_1  | INFO:     Started reloader process [7] using statreload
gateway_1  | Polling running services is dangerous and not recommended in production. Polling should only be used against a registry. If you are polling running services, use with caution.
gateway_1  | ❌ Unable to start gateway Error: Couldn't load service definitions for "books" at http://books:8000/graphql: request to http://books:8000/graphql failed, reason: connect ECONNREFUSED 172.23.0.3:8000
gateway_1  |     at /app/node_modules/@apollo/gateway/src/loadServicesFromRemoteEndpoint.ts:73:15
gateway_1  |     at processTicksAndRejections (internal/process/task_queues.js:95:5)
gateway_1  |     at async Promise.all (index 0)
gateway_1  |     at async Object.getServiceDefinitionsFromRemoteEndpoint (/app/node_modules/@apollo/gateway/src/loadServicesFromRemoteEndpoint.ts:77:30)
gateway_1  |     at async ApolloGateway.updateSchema (/app/node_modules/@apollo/gateway/src/index.ts:423:20)
gateway_1  |     at async ApolloGateway.loadDynamic (/app/node_modules/@apollo/gateway/src/index.ts:403:7)
gateway_1  |     at async ApolloGateway.load (/app/node_modules/@apollo/gateway/src/index.ts:361:9)
gateway_1  | [nodemon] clean exit - waiting for changes before restart
reviews_1  | INFO:     Started server process [9]
reviews_1  | INFO:     Waiting for application startup.
reviews_1  | INFO:     Application startup complete.
books_1    | INFO:     Started server process [10]
books_1    | INFO:     Waiting for application startup.
books_1    | INFO:     Application startup complete.

from federation-demo.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.