Giter VIP home page Giter VIP logo

2020-demo-admin-hq's Introduction

2020-demo-admin-hq

For all settings, configure the variables in a .env folder, similar to the .env.example

DEV - run apps locally for development

make dev-server

make dev-ui

BUILD - build images locally using s2i

make build-server

make build-ui

make build

PUSH - push images to repository

make push-server

make push-ui

make push

2020-demo-admin-hq's People

Contributors

cfchase avatar ted-ross avatar dependabot[bot] avatar

Stargazers

Christian Marangoni avatar

Watchers

Burr Sutter avatar  avatar James Cloos avatar  avatar

2020-demo-admin-hq's Issues

Pod fails to start when broadcasting gamestats

log:

Environment: 
	DEV_MODE=false
	NODE_ENV=production
	DEBUG_PORT=5858
Launching via npm...
npm info it worked if it ends with ok
npm info using [email protected]
npm info using [email protected]
npm info lifecycle [email protected]~prestart: [email protected]
npm info lifecycle [email protected]~start: [email protected]

> [email protected] start /opt/app-root/src
> node server.js

{"level":30,"time":1591719702665,"pid":30,"hostname":"admin-server-1-l6h4b","name":"datagrid","msg":"Connected to Infinispan game data"}
{"level":50,"time":1591719703495,"pid":30,"hostname":"admin-server-1-l6h4b","name":"datagrid/read-bot-config","msg":"Bot configuration missing"}
{"level":30,"time":1591719704034,"pid":30,"hostname":"admin-server-1-l6h4b","name":"datagrid","msg":"Connected to Infinispan player data"}
{"level":30,"time":1591719704582,"pid":30,"hostname":"admin-server-1-l6h4b","name":"game-messaging","msg":"Subscribing to mc/game"}
{"level":30,"time":1591719704620,"pid":30,"hostname":"admin-server-1-l6h4b","name":"leaderboard-messaging","msg":"Subscribing to mc/leaderboard"}
{"level":50,"time":1591719707245,"pid":30,"hostname":"admin-server-1-l6h4b","name":"integration/poll-leaderboard","msg":"leaderboard request failed 'getaddrinfo ENOTFOUND leaderboard-api.leaderboard.svc.cluster.local'"}
{"level":50,"time":1591719712399,"pid":30,"hostname":"admin-server-1-l6h4b","name":"integration/poll-leaderboard","msg":"leaderboard request failed 'getaddrinfo ENOTFOUND leaderboard-api.leaderboard.svc.cluster.local'"}
{"level":50,"time":1591719717658,"pid":30,"hostname":"admin-server-1-l6h4b","name":"integration/poll-leaderboard","msg":"leaderboard request failed 'getaddrinfo ENOTFOUND leaderboard-api.leaderboard.svc.cluster.local'"}
{"level":50,"time":1591719722846,"pid":30,"hostname":"admin-server-1-l6h4b","name":"integration/poll-leaderboard","msg":"leaderboard request failed 'getaddrinfo ENOTFOUND leaderboard-api.leaderboard.svc.cluster.local'"}
{"level":50,"time":1591719728029,"pid":30,"hostname":"admin-server-1-l6h4b","name":"integration/poll-leaderboard","msg":"leaderboard request failed 'getaddrinfo ENOTFOUND leaderboard-api.leaderboard.svc.cluster.local'"}
{"level":50,"time":1591719733158,"pid":30,"hostname":"admin-server-1-l6h4b","name":"integration/poll-leaderboard","msg":"leaderboard request failed 'getaddrinfo ENOTFOUND leaderboard-api.leaderboard.svc.cluster.local'"}
{"level":50,"time":1591719738315,"pid":30,"hostname":"admin-server-1-l6h4b","name":"integration/poll-leaderboard","msg":"leaderboard request failed 'getaddrinfo ENOTFOUND leaderboard-api.leaderboard.svc.cluster.local'"}
{"level":50,"time":1591719743474,"pid":30,"hostname":"admin-server-1-l6h4b","name":"integration/poll-leaderboard","msg":"leaderboard request failed 'getaddrinfo ENOTFOUND leaderboard-api.leaderboard.svc.cluster.local'"}
{"level":50,"time":1591719748689,"pid":30,"hostname":"admin-server-1-l6h4b","name":"integration/poll-leaderboard","msg":"leaderboard request failed 'getaddrinfo ENOTFOUND leaderboard-api.leaderboard.svc.cluster.local'"}
{"level":50,"time":1591719753916,"pid":30,"hostname":"admin-server-1-l6h4b","name":"integration/poll-leaderboard","msg":"leaderboard request failed 'getaddrinfo ENOTFOUND leaderboard-api.leaderboard.svc.cluster.local'"}
{"level":50,"time":1591719759028,"pid":30,"hostname":"admin-server-1-l6h4b","name":"integration/poll-leaderboard","msg":"leaderboard request failed 'getaddrinfo ENOTFOUND leaderboard-api.leaderboard.svc.cluster.local'"}
{"level":50,"time":1591719764174,"pid":30,"hostname":"admin-server-1-l6h4b","name":"integration/poll-leaderboard","msg":"leaderboard request failed 'getaddrinfo ENOTFOUND leaderboard-api.leaderboard.svc.cluster.local'"}
{"level":50,"time":1591719769368,"pid":30,"hostname":"admin-server-1-l6h4b","name":"integration/poll-leaderboard","msg":"leaderboard request failed 'getaddrinfo ENOTFOUND leaderboard-api.leaderboard.svc.cluster.local'"}
{"level":50,"time":1591719774524,"pid":30,"hostname":"admin-server-1-l6h4b","name":"integration/poll-leaderboard","msg":"leaderboard request failed 'getaddrinfo ENOTFOUND leaderboard-api.leaderboard.svc.cluster.local'"}
{"level":50,"time":1591719779807,"pid":30,"hostname":"admin-server-1-l6h4b","name":"integration/poll-leaderboard","msg":"leaderboard request failed 'getaddrinfo ENOTFOUND leaderboard-api.leaderboard.svc.cluster.local'"}
{"level":50,"time":1591719784946,"pid":30,"hostname":"admin-server-1-l6h4b","name":"integration/poll-leaderboard","msg":"leaderboard request failed 'getaddrinfo ENOTFOUND leaderboard-api.leaderboard.svc.cluster.local'"}
{"level":50,"time":1591719790154,"pid":30,"hostname":"admin-server-1-l6h4b","name":"integration/poll-leaderboard","msg":"leaderboard request failed 'getaddrinfo ENOTFOUND leaderboard-api.leaderboard.svc.cluster.local'"}
/opt/app-root/src/server.js:40
  broadcast(JSON.stringify(gameStats));
                 ^

TypeError: Converting circular structure to JSON
    --> starting at object with constructor 'Socket'
    |     property 'parser' -> object with constructor 'HTTPParser'
    --- property 'socket' closes the circle
    at JSON.stringify (<anonymous>)
    at Timeout._onTimeout (/opt/app-root/src/server.js:40:18)
    at listOnTimeout (internal/timers.js:531:17)
    at processTimers (internal/timers.js:475:7)
npm info lifecycle [email protected]~start: Failed to exec start script
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `node server.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm timing npm Completed in 94776ms

npm ERR! A complete log of this run can be found in:
npm ERR!     /opt/app-root/src/.npm/_logs/2020-06-09T16_23_15_445Z-debug.log

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.