{"action":"created","issue":{"url":"https://api.github.com/repos/xolvio/chimp/issues/496","repository_url":"https://api.github.com/repos/xolvio/chimp","labels_url":"https://api.github.com/repos/xolvio/chimp/issues/496/labels{/name}","comments_url":"https://api.github.com/repos/xolvio/chimp/issues/496/comments","events_url":"https://api.github.com/repos/xolvio/chimp/issues/496/events","html_url":"https://github.com/xolvio/chimp/issues/496","id":182990703,"number":496,"title":"[chimp][helper] setupBrowserAndDDP had error","user":{"login":"tlimpanont","id":617876,"avatar_url":"https://avatars.githubusercontent.com/u/617876?v=3","gravatar_id":"","url":"https://api.github.com/users/tlimpanont","html_url":"https://github.com/tlimpanont","followers_url":"https://api.github.com/users/tlimpanont/followers","following_url":"https://api.github.com/users/tlimpanont/following{/other_user}","gists_url":"https://api.github.com/users/tlimpanont/gists{/gist_id}","starred_url":"https://api.github.com/users/tlimpanont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tlimpanont/subscriptions","organizations_url":"https://api.github.com/users/tlimpanont/orgs","repos_url":"https://api.github.com/users/tlimpanont/repos","events_url":"https://api.github.com/users/tlimpanont/events{/privacy}","received_events_url":"https://api.github.com/users/tlimpanont/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-14T08:22:27Z","updated_at":"2016-10-25T09:32:57Z","closed_at":"2016-10-15T23:39:11Z","body":"> chimp --ddp=http://localhost:3000 --path=./app/tests/cucumber/features\r\n\r\n\r\n```\r\n[chimp] Running...\r\n[chimp][helper] setupBrowserAndDDP had error\r\n{ [Error: session not created exception\r\nfrom unknown error: Runtime.executionContextCreated has invalid 'context': {\"auxData\":{\"frameId\":\"3267.1\",\"isDefault\":true},\"id\":1,\"name\":\"\",\"origin\":\"://\"}]\r\n  message: 'session not created exception\\nfrom unknown error: Runtime.executionContextCreated has invalid \\'context\\': {\"auxData\":{\"frameId\":\"3267.1\",\"isDefault\":true},\"id\":1,\"name\":\"\",\"origin\":\"://\"}',\r\n  type: 'RuntimeError',\r\n  seleniumStack: \r\n   { status: 33,\r\n     type: 'SessionNotCreatedException',\r\n     message: 'A new session could not be created.',\r\n     orgStatusMessage: 'session not created exception\\nfrom unknown error: Runtime.executionContextCreated has invalid \\'context\\': {\"auxData\":{\"frameId\":\"3267.1\",\"isDefault\":true},\"id\":1,\"name\":\"\",\"origin\":\"://\"}\\n  (Session info: chrome=54.0.2840.59)\\n  (Driver info: chromedriver=2.20.353124 (035346203162d32c80f1dce587c8154a1efa0c3b),platform=Mac OS X 10.11.6 x86_64) (WARNING: The server did not provide any stacktrace information)\\nCommand duration or timeout: 720 milliseconds\\nBuild info: version: \\'2.50.1\\', revision: \\'d7fc91b\\', time: \\'2016-01-29 19:08:26\\'\\nSystem info: host: \\'theuys-macbook-pro-2.local\\', ip: \\'192.168.178.17\\', os.name: \\'Mac OS X\\', os.arch: \\'x86_64\\', os.version: \\'10.11.6\\', java.version: \\'1.8.0_101\\'\\nDriver info: org.openqa.selenium.chrome.ChromeDriver' } }\r\nError: session not created exception\r\n    at Object.Future.wait (/Users/theuylimpanont/Development/part-up/node_modules/fibers/future.js:449:15)\r\n    at Object.<anonymous> (/Users/theuylimpanont/Development/part-up/node_modules/wdio-sync/build/index.js:345:27)\r\n    at initBrowser (/Users/theuylimpanont/Development/part-up/node_modules/chimp/dist/lib/chimp-helper.js:168:17)\r\n    at Object.setupBrowserAndDDP (/Users/theuylimpanont/Development/part-up/node_modules/chimp/dist/lib/chimp-helper.js:226:7)\r\n    at /Users/theuylimpanont/Development/part-up/node_modules/chimp/dist/lib/cucumberjs/hooks.js:21:24\r\n    at /Users/theuylimpanont/Development/part-up/node_modules/meteor-promise/fiber_pool.js:33:40\r\n    - - - - -\r\nfrom unknown error: Runtime.executionContextCreated has invalid 'context': {\"auxData\":{\"frameId\":\"3267.1\",\"isDefault\":true},\"id\":1,\"name\":\"\",\"origin\":\"://\"}\r\n    at new RuntimeError (/Users/theuylimpanont/Development/part-up/node_modules/webdriverio/build/lib/utils/ErrorHandler.js:115:12)\r\n    at Request._callback (/Users/theuylimpanont/Development/part-up/node_modules/webdriverio/build/lib/utils/RequestHandler.js:257:39)\r\n    at Request.self.callback (/Users/theuylimpanont/Development/part-up/node_modules/webdriverio/node_modules/request/request.js:373:22)\r\n    at emitTwo (events.js:100:13)\r\n    at Request.emit (events.js:185:7)\r\n    at Request.<anonymous> (/Users/theuylimpanont/Development/part-up/node_modules/webdriverio/node_modules/request/request.js:1318:14)\r\n    at emitOne (events.js:95:20)\r\n    at Request.emit (events.js:182:7)\r\n    at IncomingMessage.<anonymous> (/Users/theuylimpanont/Development/part-up/node_modules/webdriverio/node_modules/request/request.js:1266:12)\r\n    at emitNone (events.js:85:20)\r\n    at IncomingMessage.emit (events.js:179:7)\r\n    at endReadableNT (_stream_readable.js:913:12)\r\n    at _combinedTickCallback (internal/process/next_tick.js:74:11)\r\n    at process._tickCallback (internal/process/next_tick.js:98:9)\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/xolvio/chimp/issues/comments/255985523","html_url":"https://github.com/xolvio/chimp/issues/496#issuecomment-255985523","issue_url":"https://api.github.com/repos/xolvio/chimp/issues/496","id":255985523,"user":{"login":"lgandecki","id":4002543,"avatar_url":"https://avatars.githubusercontent.com/u/4002543?v=3","gravatar_id":"","url":"https://api.github.com/users/lgandecki","html_url":"https://github.com/lgandecki","followers_url":"https://api.github.com/users/lgandecki/followers","following_url":"https://api.github.com/users/lgandecki/following{/other_user}","gists_url":"https://api.github.com/users/lgandecki/gists{/gist_id}","starred_url":"https://api.github.com/users/lgandecki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lgandecki/subscriptions","organizations_url":"https://api.github.com/users/lgandecki/orgs","repos_url":"https://api.github.com/users/lgandecki/repos","events_url":"https://api.github.com/users/lgandecki/events{/privacy}","received_events_url":"https://api.github.com/users/lgandecki/received_events","type":"User","site_admin":false},"created_at":"2016-10-25T09:32:57Z","updated_at":"2016-10-25T09:32:57Z","body":"@lnmunhoz you have a different error:\r\n\r\n{ [Error: session not created exception\r\nvs\r\n{ [Error: Connection refused (Connection refused)]\r\n\r\nNonetheless, I'm looking into it now. Will let you know.\r\n\r\n@citricacid-pl could you please provide your console log? As you can see, it's easy to confuse different errors.\r\n\r\n@tlimpanont I saw that before - I know that's a lame solution but restarting the OS helped in my case. Since it went away I couldn't reproduce and fix it. It might have something to do with stale selenium server."}}
{"actor":{"display_login":"lgandecki"}}