Nice piece of work. Thank you. I’ve been trying it out and running in Kube-Docker image. Happy to provide the Dockerfile. However, sometimes I get the following when it works fine with npm run start. Any idea why its looking for favicon.ico action? I am calling it with the same URL as I do with npm run start.

> hipaams@1.0.0 start /app

> moleculer-runner services

FILEPATH: /app/moleculer.config.js

[2017–10–17T22:53:00.222Z] INFO hipaams-2623307731-t0g1s/BROKER: Moleculer v0.11.5 is starting…

[2017–10–17T22:53:00.224Z] INFO hipaams-2623307731-t0g1s/BROKER: Node ID: hipaams-2623307731-t0g1s

[2017–10–17T22:53:00.224Z] INFO hipaams-2623307731-t0g1s/BROKER: Namespace: dev

[2017–10–17T22:53:00.232Z] INFO hipaams-2623307731-t0g1s/REGISTRY: ‘$node’ service is registered.

[2017–10–17T22:53:00.286Z] INFO hipaams-2623307731-t0g1s/REGISTRY: ‘api’ service is registered.

[2017–10–17T22:53:00.308Z] INFO hipaams-2623307731-t0g1s/API: API Gateway created!

[2017–10–17T22:53:00.309Z] INFO hipaams-2623307731-t0g1s/REGISTRY: ‘hipaams’ service is registered.

[2017–10–17T22:53:00.317Z] INFO hipaams-2623307731-t0g1s/BROKER: ServiceBroker with 3 service(s) is started successfully.

[2017–10–17T22:53:00.321Z] INFO hipaams-2623307731-t0g1s/API: API Gateway listening on http://0.0.0.0:3000

[2017–10–17T22:53:36.588Z] WARN hipaams-2623307731-t0g1s/BROKER: Service ‘favicon.ico’ is not registered.

[2017–10–17T22:53:36.595Z] ERROR hipaams-2623307731-t0g1s/API: Request error! ServiceNotFoundError : Service ‘favicon.ico’ is not found.

ServiceNotFoundError: Service ‘favicon.ico’ is not found.

at ServiceBroker.findNextActionEndpoint (/app/node_modules/moleculer/src/service-broker.js:750:13)

at p.Promise.resolve.then.then.then.then.then.then (/app/node_modules/moleculer-web/src/index.js:507:29)

at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)

at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)

at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)

at Promise._settlePromise0 (/app/node_modules/bluebird/js/release/promise.js:614:10)

at Promise._settlePromises (/app/node_modules/bluebird/js/release/promise.js:693:18)

at Async._drainQueue (/app/node_modules/bluebird/js/release/async.js:133:16)

at Async._drainQueues (/app/node_modules/bluebird/js/release/async.js:143:10)

at Immediate.Async.drainQueues (/app/node_modules/bluebird/js/release/async.js:17:14)

at runCallback (timers.js:637:20)

at tryOnImmediate (timers.js:610:5)

at processImmediate [as _immediateCallback] (timers.js:582:5)

Data: { action: ‘favicon.ico’, nodeID: undefined }

A digital innovation advisor to some of the largest clients in the world with over 25 years’ experience realizing business outcomes with technology.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store