Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Click on "Add instance" crash the application #2

Closed
kerphi opened this issue Apr 25, 2016 · 1 comment
Closed

Click on "Add instance" crash the application #2

kerphi opened this issue Apr 25, 2016 · 1 comment

Comments

@kerphi
Copy link
Contributor

kerphi commented Apr 25, 2016

Just before i installed the app from scratch folowing the README. I did a "Install and run (without docker)".

Here is my backtrace:

/home/kerphi/ezmaster/routes/route.js:176
      container.start(function (err, data) {
               ^

TypeError: Cannot read property 'start' of null
    at /home/kerphi/ezmaster/routes/route.js:176:16
    at /home/kerphi/ezmaster/node_modules/dockerode/lib/docker.js:37:21
    at /home/kerphi/ezmaster/node_modules/dockerode/node_modules/docker-modem/lib/modem.js:235:7
    at getCause (/home/kerphi/ezmaster/node_modules/dockerode/node_modules/docker-modem/lib/modem.js:257:7)
    at Modem.buildPayload (/home/kerphi/ezmaster/node_modules/dockerode/node_modules/docker-modem/lib/modem.js:228:5)
    at IncomingMessage.<anonymous> (/home/kerphi/ezmaster/node_modules/dockerode/node_modules/docker-modem/lib/modem.js:204:14)
    at emitNone (events.js:72:20)
    at IncomingMessage.emit (events.js:166:7)
    at endReadableNT (_stream_readable.js:913:12)
    at nextTickCallbackWith2Args (node.js:442:9)
    at process._tickCallback (node.js:356:17)

@kerphi
Copy link
Contributor Author

kerphi commented May 4, 2016

I tested and clicking the button does not crash anymore the application but nothing appends

I just got this in the debug logs:

  castor:helpers:acl access ignored for  +1s /-/v1/instances/

Then I tried to click again few minutes later and i got this:

  castor:helpers:acl access ignored for  +326ms /-/v1/instances/
/home/kerphi/ezmaster/routes/route.js:173
          if(err) { throw err; }
                    ^

Error: HTTP code is 409 which indicates error: undefined - Conflict. The name "/inistcnrs-ezvis" is already in use by container 33b0ad45f5fa904f1d27f65b919a2c674d43b88cb5505d586e816e6c38153b76. You have to remove (or rename) that container to be able to reuse that name.

    at /home/kerphi/ezmaster/node_modules/dockerode/node_modules/docker-modem/lib/modem.js:229:17
    at getCause (/home/kerphi/ezmaster/node_modules/dockerode/node_modules/docker-modem/lib/modem.js:257:7)
    at Modem.buildPayload (/home/kerphi/ezmaster/node_modules/dockerode/node_modules/docker-modem/lib/modem.js:228:5)
    at IncomingMessage.<anonymous> (/home/kerphi/ezmaster/node_modules/dockerode/node_modules/docker-modem/lib/modem.js:204:14)
    at emitNone (events.js:72:20)
    at IncomingMessage.emit (events.js:166:7)
    at endReadableNT (_stream_readable.js:913:12)
    at nextTickCallbackWith2Args (node.js:442:9)
    at process._tickCallback (node.js:356:17)
Makefile:11: recipe for target 'run-debug' failed
make: *** [run-debug] Error 1

So maybe it worked the first time but is it very slow ? and because there is no user feedback during the docker pull that's maybe the reason why i though it was not working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants