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

Debian error timeout #91

Open
flavienliger opened this issue Feb 17, 2016 · 0 comments
Open

Debian error timeout #91

flavienliger opened this issue Feb 17, 2016 · 0 comments

Comments

@flavienliger
Copy link

Hi, i'm working on Debian (8.2), and NodeJs 0.12.10.
I've many problems with guv.

guv remoteconfig / install / ... == timeout

root:/# guv
error: Daemon was not running
root:/# guv
error: Function call timed out after 10003ms (10000ms permitted)

/var/log/guvnor/guvnor.log.2016-02-17 :

{
  "level": "debug",
  "message": "incoming connection - client: {} id:  72acd0c767f69727be2f64c435cbe9a8",
  "timestamp": "2016-02-17T16:51:05.069Z"
} {
  "level": "debug",
  "message": "client connection 72acd0c767f69727be2f64c435cbe9a8 ended",
  "timestamp": "2016-02-17T16:51:05.080Z"
} {
  "level": "debug",
  "message": "incoming connection - client: {} id:  e3f28ebf8bb18025449fafb3403208b4",
  "timestamp": "2016-02-17T16:51:05.085Z"
} {
  "level": "debug",
  "message": "incoming connection - client: {} id:  441434f1697a4bc2e035506fc47d9843",
  "timestamp": "2016-02-17T16:51:05.091Z"
} {
  "level": "debug",
  "message": "client connection e3f28ebf8bb18025449fafb3403208b4 ended",
  "timestamp": "2016-02-17T16:51:05.101Z"
} {
  "level": "debug",
  "message": "client connection 441434f1697a4bc2e035506fc47d9843 ended",
  "timestamp": "2016-02-17T16:51:05.102Z"
} {
  "level": "debug",
  "message": "Removing socket from /var/run/guvnor/admin.socket",
  "timestamp": "2016-02-17T16:51:05.114Z"
} {
  "level": "debug",
  "message": "incoming connection - client: {} id:  6c5892debae427d52a997936c7152d9e",
  "timestamp": "2016-02-17T16:51:07.649Z"
} {
  "level": "debug",
  "message": "incoming connection - client: {} id:  4dd5da2ec8377699338a2fd4051d20db",
  "timestamp": "2016-02-17T16:51:07.667Z"
} {
  "level": "debug",
  "message": "client connection 6c5892debae427d52a997936c7152d9e ended",
  "timestamp": "2016-02-17T16:51:07.689Z"
} {
  "level": "debug",
  "message": "client connection 4dd5da2ec8377699338a2fd4051d20db ended",
  "timestamp": "2016-02-17T16:51:07.690Z"
} {
  "level": "debug",
  "message": "incoming connection - client: {} id:  095cc4ce1149ab06ce45f47a4ff64683",
  "timestamp": "2016-02-17T16:51:09.754Z"
} {
  "level": "debug",
  "message": "incoming connection - client: {} id:  bfb925a40a64d80be159e1be149ef0cc",
  "timestamp": "2016-02-17T16:51:09.765Z"
} {
  "level": "warn",
  "message": "Socket file has disappeared, will restart dnode",
  "timestamp": "2016-02-17T16:51:17.569Z"
} {
  "level": "warn",
  "message": "Socket file has disappeared, will restart dnode",
  "timestamp": "2016-02-17T16:51:17.572Z"
} {
  "level": "debug",
  "message": "client connection bfb925a40a64d80be159e1be149ef0cc ended",
  "timestamp": "2016-02-17T16:51:20.352Z"
} {
  "level": "debug",
  "message": "client connection 095cc4ce1149ab06ce45f47a4ff64683 ended",
  "timestamp": "2016-02-17T16:51:20.354Z"
} {
  "stack": "Error: write EPIPE\n    at exports._errnoException (util.js:746:11)\n    at WriteWrap.afterWrite (net.js:777:14)",
  "message": "client connection socket 095cc4ce1149ab06ce45f47a4ff64683 erred",
  "code": "EPIPE",
  "errno": "EPIPE",
  "syscall": "write",
  "level": "debug",
  "timestamp": "2016-02-17T16:51:20.355Z"
}

/var/log/guvnor/guvnor.error.log :

{
  "date": "Wed Feb 17 2016 17:51:05 GMT+0100 (CET)",
  "process": {
    "pid": 14337,
    "uid": 0,
    "gid": 1001,
    "cwd": "/run/guvnor",
    "execPath": "/usr/bin/nodejs",
    "version": "v0.12.10",
    "argv": ["/usr/bin/nodejs", "/usr/lib/node_modules/guvnor/lib/daemon/index.js"],
    "memoryUsage": {
      "rss": 47644672,
      "heapTotal": 32617984,
      "heapUsed": 16353976
    }
  },
  "os": {
    "loadavg": [0.0830078125, 0.03125, 0.05078125],
    "uptime": 450345
  },
  "trace": [{
    "column": 50,
    "file": "/usr/lib/node_modules/guvnor/lib/daemon/rpc/RPCEndpoint.js",
    "function": "",
    "line": 143,
    "method": null,
    "native": false
  }, {
    "column": 7,
    "file": "/usr/lib/node_modules/guvnor/lib/common/Store.js",
    "function": "",
    "line": 26,
    "method": null,
    "native": false
  }, {
    "column": 16,
    "file": "/usr/lib/node_modules/guvnor/node_modules/wantsit/lib/Container.js",
    "function": "",
    "line": 146,
    "method": null,
    "native": false
  }, {
    "column": 16,
    "file": "events.js",
    "function": "g",
    "line": 199,
    "method": null,
    "native": false
  }, {
    "column": 17,
    "file": "events.js",
    "function": "emit",
    "line": 110,
    "method": null,
    "native": false
  }, {
    "column": 17,
    "file": "timers.js",
    "function": "processImmediate [as _immediateCallback]",
    "line": 367,
    "method": null,
    "native": false
  }],
  "stack": ["TypeError: number is not a function", "    at null.<anonymous> (/usr/lib/node_modules/guvnor/lib/daemon/rpc/RPCEndpoint.js:143:50)", "    at null.<anonymous> (/usr/lib/node_modules/guvnor/lib/common/Store.js:26:7)", "    at null.<anonymous> (/usr/lib/node_modules/guvnor/node_modules/wantsit/lib/Container.js:146:16)", "    at g (events.js:199:16)", "    at emit (events.js:110:17)", "    at processImmediate [as _immediateCallback] (timers.js:367:17)"],
  "level": "error",
  "message": "uncaughtException: number is not a function",
  "timestamp": "2016-02-17T16:51:05.110Z"
}

Thank for your help.

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

1 participant