{"action":"opened","issue":{"url":"https://api.github.com/repos/snyk/snyk/issues/156","repository_url":"https://api.github.com/repos/snyk/snyk","labels_url":"https://api.github.com/repos/snyk/snyk/issues/156/labels{/name}","comments_url":"https://api.github.com/repos/snyk/snyk/issues/156/comments","events_url":"https://api.github.com/repos/snyk/snyk/issues/156/events","html_url":"https://github.com/snyk/snyk/issues/156","id":322977417,"number":156,"title":"413 With large dependency tree","user":{"login":"barlock","id":5770007,"avatar_url":"https://avatars1.githubusercontent.com/u/5770007?v=4","gravatar_id":"","url":"https://api.github.com/users/barlock","html_url":"https://github.com/barlock","followers_url":"https://api.github.com/users/barlock/followers","following_url":"https://api.github.com/users/barlock/following{/other_user}","gists_url":"https://api.github.com/users/barlock/gists{/gist_id}","starred_url":"https://api.github.com/users/barlock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barlock/subscriptions","organizations_url":"https://api.github.com/users/barlock/orgs","repos_url":"https://api.github.com/users/barlock/repos","events_url":"https://api.github.com/users/barlock/events{/privacy}","received_events_url":"https://api.github.com/users/barlock/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-14T20:53:46Z","updated_at":"2018-05-14T20:53:46Z","closed_at":null,"author_association":"NONE","body":"- `node -v`: v8.9.4\r\n- `npm -v`: 5.6.0\r\n- `snyk -v`: 1.80.0\r\n- Command run: yarn snyk test --dev\r\n\r\n### Expected behaviour\r\nRuns to completion\r\n\r\n### Actual behaviour\r\nCommand failed. 413 \r\n\r\n### Notes\r\nI have a large dependency tree, ~700mb node_modules dir. I can't really shrink this and honestly I haven't done anything interesting here. I'm assuming that https://snyk.io/api/v1/vuln/npm has a max payload size? (69MB being sent) I couldn't locate the docs for this particular api call, I'm not sure if this can be sent in chunks to keep the size low. \r\n\r\n---\r\n\r\n```\r\n  snyk test { _: [ [Circular] ], dev: true } +0ms\r\n  snyk no file specified. Trying to autodetect in base folder /Users/michael/workspace/lifeomic/jupiter-web-galaxy +0ms\r\n  snyk trying to autodetect for yarn.lock +0ms\r\n  snyk analytics add local true +0ms\r\n  snyk policies found [ '/Users/michael/workspace/lifeomic/jupiter-web-galaxy',\r\n  '/Users/michael/workspace/lifeomic/jupiter-web-galaxy/node_modules/@lifeomic/abac',\r\n  '/Users/michael/workspace/lifeomic/jupiter-web-galaxy/node_modules/@lifeomic/alpha',\r\n  '/Users/michael/workspace/lifeomic/jupiter-web-galaxy/node_modules/@lifeomic/fhir-schemas',\r\n  '/Users/michael/workspace/lifeomic/jupiter-web-galaxy/node_modules/@lifeomic/platform-headers',\r\n  '/Users/michael/workspace/lifeomic/jupiter-web-galaxy/node_modules/@lifeomic/usage-stream',\r\n  '/Users/michael/workspace/lifeomic/jupiter-web-galaxy/node_modules/@lifeomic/dev-tools',\r\n  '/Users/michael/workspace/lifeomic/jupiter-web-galaxy/node_modules/@lifeomic/jupiter-web-toolkit',\r\n  '/Users/michael/workspace/lifeomic/jupiter-web-galaxy/node_modules/@lifeomic/lambda-tools' ] +0ms\r\n  snyk analytics add policies 9 +25s\r\n  snyk analytics add packageManager npm +37ms\r\n  snyk analytics add packageName jupiter-web-galaxy +0ms\r\n  snyk analytics add packageVersion 0.1.0 +0ms\r\n  snyk analytics add package jupiter-web-galaxy@0.1.0 +0ms\r\n  snyk sending request to: https://snyk.io/api/v1/vuln/npm +0ms\r\n  snyk request body size: 69964780 +1ms\r\n  snyk analytics add payloadSize 69964780 +883ms\r\n  snyk not using proxy +0ms\r\n  snyk analytics add error-message 413 +783ms\r\n  snyk analytics add error Error: 413\r\n    at /Users/michael/workspace/lifeomic/jupiter-web-galaxy/node_modules/snyk/cli/commands/test.js:134:21\r\n    at <anonymous>\r\n    at process._tickCallback (internal/process/next_tick.js:188:7) +0ms\r\n  snyk analytics add error-code 413 +0ms\r\n  snyk analytics add command test +0ms\r\nAn unknown error occurred. Please include the trace below when reporting to Snyk:\r\nError: 413\r\n    at /Users/michael/workspace/lifeomic/jupiter-web-galaxy/node_modules/snyk/cli/commands/test.js:134:21\r\n    at <anonymous>\r\n    at process._tickCallback (internal/process/next_tick.js:188:7)\r\n  snyk analytics { command: 'bad-command',\r\n  args: [ { dev: true, org: undefined, showVulnPaths: true } ],\r\n  metadata:\r\n   { local: true,\r\n     policies: 9,\r\n     packageManager: 'npm',\r\n     packageName: 'jupiter-web-galaxy',\r\n     packageVersion: '0.1.0',\r\n     package: 'jupiter-web-galaxy@0.1.0',\r\n     payloadSize: 69964780,\r\n     'error-message': '413',\r\n     error: 'Error: 413\\n    at /Users/michael/workspace/lifeomic/jupiter-web-galaxy/node_modules/snyk/cli/commands/test.js:134:21\\n    at <anonymous>\\n    at process._tickCallback (internal/process/next_tick.js:188:7)',\r\n     'error-code': 413,\r\n     command: 'test' },\r\n  version: '1.80.0',\r\n  os: 'macOS High Sierra',\r\n  nodeVersion: 'v8.9.4',\r\n  id: '56a63e49170ce265c51815774579ae18f9ca9e84',\r\n  ci: false,\r\n  durationMs: 26848 } +2ms\r\n  snyk sending request to: https://snyk.io/api/v1/analytics/cli +786ms\r\n  snyk request body size: 676 +0ms\r\n  snyk not using proxy +0ms"}}
{"actor":{"display_login":"barlock"}}