{"action":"opened","issue":{"url":"https://api.github.com/repos/senecajs/seneca-in-practice/issues/39","repository_url":"https://api.github.com/repos/senecajs/seneca-in-practice","labels_url":"https://api.github.com/repos/senecajs/seneca-in-practice/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/senecajs/seneca-in-practice/issues/39/comments","events_url":"https://api.github.com/repos/senecajs/seneca-in-practice/issues/39/events","html_url":"https://github.com/senecajs/seneca-in-practice/issues/39","id":150339500,"number":39,"title":"Can't get the solution to run in Ex 9: Transport","user":{"login":"irelandm","id":16843292,"avatar_url":"https://avatars.githubusercontent.com/u/16843292?v=3","gravatar_id":"","url":"https://api.github.com/users/irelandm","html_url":"https://github.com/irelandm","followers_url":"https://api.github.com/users/irelandm/followers","following_url":"https://api.github.com/users/irelandm/following{/other_user}","gists_url":"https://api.github.com/users/irelandm/gists{/gist_id}","starred_url":"https://api.github.com/users/irelandm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/irelandm/subscriptions","organizations_url":"https://api.github.com/users/irelandm/orgs","repos_url":"https://api.github.com/users/irelandm/repos","events_url":"https://api.github.com/users/irelandm/events{/privacy}","received_events_url":"https://api.github.com/users/irelandm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-22T11:02:38Z","updated_at":"2016-04-22T11:02:38Z","closed_at":null,"body":"My solution and **the provided sample** work fine when invoked from node and tested with curl or a browser, but neither will work when tested with seneca-in-practice.\r\n\r\nI get the following error:\r\n\r\n> seneca-in-practice run transport.js \r\n\r\n```\r\n/Users/marki/.nvm/versions/node/v0.12.12/lib/node_modules/seneca-in-practice/problems/transport/exercise.js:71\r\n          , exercise.__('fail.connection', {address: url, message: err.message\r\n                     ^\r\nTypeError: undefined is not a function\r\n    at DuplexWrapper.<anonymous> (/Users/marki/.nvm/versions/node/v0.12.12/lib/node_modules/seneca-in-practice/problems/transport/exercise.js:71:22)\r\n    at DuplexWrapper.emit (events.js:129:20)\r\n    at ClientRequest.<anonymous> (/Users/marki/.nvm/versions/node/v0.12.12/lib/node_modules/seneca-in-practice/node_modules/hyperquest/index.js:13:19)\r\n    at ClientRequest.emit (events.js:129:20)\r\n    at Socket.socketErrorListener (_http_client.js:271:9)\r\n    at Socket.emit (events.js:107:17)\r\n    at net.js:459:14\r\n    at process._tickCallback (node.js:355:11)\r\n\r\n```"}}