Giter VIP home page Giter VIP logo

Comments (3)

eiximenis avatar eiximenis commented on August 24, 2024

Hi @StefH!

Is the sql.data container running? If using Docker Desktop for Win/Mac just note that this is a SQL Server container and it requires some RAM, so you maybe to need to increase the RAM of Docker VM to 4 Gb.

from tailwindtraders-backend.

StefH avatar StefH commented on August 24, 2024

After increasing the memory for Docker to 8GB and 2GB swap, I was able to start almost all services.

coupon-api still failed with this error:

Connection to CosmosDB successful
Starting seed data...
End seed success
{ MongoNetworkError: failed to connect to server [nosql.data:27017] on first connect [MongoNetworkError: connect ECONNREFUSED 172.18.0.9:27017]
    at Pool.<anonymous> (/src/node_modules/mongodb-core/lib/topologies/server.js:564:11)
    at emitOne (events.js:116:13)
    at Pool.emit (events.js:211:7)
    at Connection.<anonymous> (/src/node_modules/mongodb-core/lib/connection/pool.js:317:12)
    at Object.onceWrapper (events.js:317:30)
    at emitTwo (events.js:126:13)
    at Connection.emit (events.js:214:7)
    at Socket.<anonymous> (/src/node_modules/mongodb-core/lib/connection/connection.js:246:50)
    at Object.onceWrapper (events.js:315:30)
    at emitOne (events.js:116:13)
    at Socket.emit (events.js:211:7)
    at emitErrorNT (internal/streams/destroy.js:66:8)
    at _combinedTickCallback (internal/process/next_tick.js:139:11)
    at process._tickCallback (internal/process/next_tick.js:181:9)
  name: 'MongoNetworkError',
  errorLabels: [ 'TransientTransactionError' ],
  [Symbol(mongoErrorContextSymbol)]: {} }

Manually restarting worked.

The stock-api still has errors like:

2019-05-31T09:16:09.972784500Z 
2019-05-31 09:16:09.969 ERROR 1 --- [           main] o.s.boot.SpringApplication               : Application run failed
2019-05-31T09:16:09.972795400Z 
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]

from tailwindtraders-backend.

olgamarti avatar olgamarti commented on August 24, 2024

Solved in commit c5b93d4

from tailwindtraders-backend.

Related Issues (20)

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.