{"action":"reopened","issue":{"url":"https://api.github.com/repos/karma-runner/karma/issues/1544","labels_url":"https://api.github.com/repos/karma-runner/karma/issues/1544/labels{/name}","comments_url":"https://api.github.com/repos/karma-runner/karma/issues/1544/comments","events_url":"https://api.github.com/repos/karma-runner/karma/issues/1544/events","html_url":"https://github.com/karma-runner/karma/issues/1544","id":99137674,"number":1544,"title":"TypeError: Cannot read property 'then' of undefined","user":{"login":"albertosantini","id":328179,"avatar_url":"https://avatars.githubusercontent.com/u/328179?v=3","gravatar_id":"","url":"https://api.github.com/users/albertosantini","html_url":"https://github.com/albertosantini","followers_url":"https://api.github.com/users/albertosantini/followers","following_url":"https://api.github.com/users/albertosantini/following{/other_user}","gists_url":"https://api.github.com/users/albertosantini/gists{/gist_id}","starred_url":"https://api.github.com/users/albertosantini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albertosantini/subscriptions","organizations_url":"https://api.github.com/users/albertosantini/orgs","repos_url":"https://api.github.com/users/albertosantini/repos","events_url":"https://api.github.com/users/albertosantini/events{/privacy}","received_events_url":"https://api.github.com/users/albertosantini/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/karma-runner/karma/labels/priority:%20high","name":"priority: high","color":"e11d21"},{"url":"https://api.github.com/repos/karma-runner/karma/labels/type:%20bug","name":"type: bug","color":"e10c02"}],"state":"open","locked":false,"assignee":{"login":"Dignifiedquire","id":790842,"avatar_url":"https://avatars.githubusercontent.com/u/790842?v=3","gravatar_id":"","url":"https://api.github.com/users/Dignifiedquire","html_url":"https://github.com/Dignifiedquire","followers_url":"https://api.github.com/users/Dignifiedquire/followers","following_url":"https://api.github.com/users/Dignifiedquire/following{/other_user}","gists_url":"https://api.github.com/users/Dignifiedquire/gists{/gist_id}","starred_url":"https://api.github.com/users/Dignifiedquire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dignifiedquire/subscriptions","organizations_url":"https://api.github.com/users/Dignifiedquire/orgs","repos_url":"https://api.github.com/users/Dignifiedquire/repos","events_url":"https://api.github.com/users/Dignifiedquire/events{/privacy}","received_events_url":"https://api.github.com/users/Dignifiedquire/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-08-05T06:51:24Z","updated_at":"2015-08-05T07:23:19Z","closed_at":null,"body":"With 0.13.5. on Travis CI, I get the below message.\r\nLocally, on Windows 10 box, it works fine.\r\n\r\n```\r\nRunning \"karma:continuos\" (karma) task\r\n04 08 2015 22:02:57.300:INFO [karma]: Karma v0.13.5 server started at http://localhost:9876/\r\n04 08 2015 22:02:57.306:INFO [launcher]: Starting browser PhantomJS\r\n04 08 2015 22:02:57.535:INFO [PhantomJS 1.9.8 (Linux 0.0.0)]: Connected on socket OVnFFtIiryxYxgx4AAAA with id 12406497\r\nTypeError: Cannot read property 'then' of undefined\r\n    at then (/home/travis/build/albertosantini/argo/node_modules/karma/lib/middleware/common.js:12:19)\r\n    at /home/travis/build/albertosantini/argo/node_modules/karma/lib/middleware/karma.js:107:27\r\n    at call (/home/travis/build/albertosantini/argo/node_modules/karma/node_modules/connect/index.js:239:7)\r\n    at next (/home/travis/build/albertosantini/argo/node_modules/karma/node_modules/connect/index.js:183:5)\r\n    at /home/travis/build/albertosantini/argo/node_modules/karma/lib/middleware/strip_host.js:13:5\r\n    at call (/home/travis/build/albertosantini/argo/node_modules/karma/node_modules/connect/index.js:239:7)\r\n    at next (/home/travis/build/albertosantini/argo/node_modules/karma/node_modules/connect/index.js:183:5)\r\n    at /home/travis/build/albertosantini/argo/node_modules/karma/lib/middleware/runner.js:19:14\r\n    at call (/home/travis/build/albertosantini/argo/node_modules/karma/node_modules/connect/index.js:239:7)\r\n    at next (/home/travis/build/albertosantini/argo/node_modules/karma/node_modules/connect/index.js:183:5)\r\n    at Function.handle (/home/travis/build/albertosantini/argo/node_modules/karma/node_modules/connect/index.js:186:3)\r\n    at Server.app (/home/travis/build/albertosantini/argo/node_modules/karma/node_modules/connect/index.js:51:37)\r\n    at Server.<anonymous> (/home/travis/build/albertosantini/argo/node_modules/karma/node_modules/socket.io/node_modules/engine.io/lib/server.js:369:22)\r\n    at Server.<anonymous> (/home/travis/build/albertosantini/argo/node_modules/karma/node_modules/socket.io/lib/index.js:258:16)\r\n    at emitTwo (events.js:87:13)\r\n    at Server.emit (events.js:172:7)\r\n04 08 2015 22:03:07.537:WARN [PhantomJS 1.9.8 (Linux 0.0.0)]: Disconnected (1 times), because no message in 10000 ms.\r\nPhantomJS 1.9.8 (Linux 0.0.0): Executed 0 of 0 DISCONNECTED (10.007 secs / 0 secs)\r\nWarning: Task \"karma:continuos\" failed.\u0007 Use --force to continue.\r\n\r\n```\r\n\r\nP.S.: with 0.13.3, the test was ok.\r\n\r\nP.S.2: Just with another commit, it is ok. Timeout glitch? I close the issue."}}