{"action":"created","issue":{"url":"https://api.github.com/repos/ssbc/scuttlebot/issues/113","labels_url":"https://api.github.com/repos/ssbc/scuttlebot/issues/113/labels{/name}","comments_url":"https://api.github.com/repos/ssbc/scuttlebot/issues/113/comments","events_url":"https://api.github.com/repos/ssbc/scuttlebot/issues/113/events","html_url":"https://github.com/ssbc/scuttlebot/issues/113","id":57044171,"number":113,"title":"sbot invite.addMe crashes","user":{"login":"ralphtheninja","id":308049,"avatar_url":"https://avatars.githubusercontent.com/u/308049?v=3","gravatar_id":"","url":"https://api.github.com/users/ralphtheninja","html_url":"https://github.com/ralphtheninja","followers_url":"https://api.github.com/users/ralphtheninja/followers","following_url":"https://api.github.com/users/ralphtheninja/following{/other_user}","gists_url":"https://api.github.com/users/ralphtheninja/gists{/gist_id}","starred_url":"https://api.github.com/users/ralphtheninja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ralphtheninja/subscriptions","organizations_url":"https://api.github.com/users/ralphtheninja/orgs","repos_url":"https://api.github.com/users/ralphtheninja/repos","events_url":"https://api.github.com/users/ralphtheninja/events{/privacy}","received_events_url":"https://api.github.com/users/ralphtheninja/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ssbc/scuttlebot/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-02-09T15:21:47Z","updated_at":"2015-02-09T19:59:01Z","closed_at":null,"body":"```\r\n$ sbot invite.addMe \"ralphtheninja.info,55eHs2t9xT9hAQ3ln5PueRXllrxZIVhGhtCP2bL/IY0=.blake2s,0owmW8rCTQ5slb3fbY4YvXnPaN/mjCHNVOBJagdN+0w=\"\r\n\r\n/usr/local/lib/node_modules/scuttlebot/bin.js:205\r\n        if(err) throw err\r\n                      ^\r\nError: unexpected end of parent stream\r\n    at Object.p.destroy (/usr/local/lib/node_modules/scuttlebot/node_modules/muxrpc/node_modules/packet-stream/index.js:189:15)\r\n    at Object.p.write (/usr/local/lib/node_modules/scuttlebot/node_modules/muxrpc/node_modules/packet-stream/index.js:179:24)\r\n    at source (/usr/local/lib/node_modules/scuttlebot/node_modules/muxrpc/pull-weird.js:34:15)\r\n    at /usr/local/lib/node_modules/scuttlebot/node_modules/muxrpc/node_modules/pull-goodbye/endable.js:6:7\r\n    at /usr/local/lib/node_modules/scuttlebot/node_modules/pull-stream/throughs.js:13:5\r\n    at /usr/local/lib/node_modules/scuttlebot/node_modules/pull-inactivity/node_modules/pull-stream/throughs.js:123:12\r\n    at cancel (/usr/local/lib/node_modules/scuttlebot/node_modules/pull-inactivity/node_modules/pull-abortable/index.js:13:5)\r\n    at Function.reader.abort (/usr/local/lib/node_modules/scuttlebot/node_modules/pull-inactivity/node_modules/pull-abortable/index.js:47:5)\r\n    at abort (/usr/local/lib/node_modules/scuttlebot/node_modules/pull-inactivity/index.js:32:17)\r\n    at null.<anonymous> (/usr/local/lib/node_modules/scuttlebot/node_modules/pull-inactivity/index.js:39:7)\r\n```\r\n\r\nFired up an `sbot` at work and used a one time invite code. Not sure if it's related to that or not.\r\n\r\nI get the following output in the terminal running `sbot server`\r\n\r\n```\r\ninfo ZRUA SBOT 10 incoming-connection \r\ninfo ZRUA AUTH 10 req \"ZRUAZND59Bxahx6z0R03LwWvfX+I3O08+1TUROaqirs=.blake2s\"\r\ninfo ZRUA REMO 10 remote-authed {\"granted\":true,\"type\":\"client\",\"role\":\"master\"}\r\ninfo ZRUA SBOT 10 client-authed \"ZRUAZND59Bxahx6z0R03LwWvfX+I3O08+1TUROaqirs=.blake2s\"\r\ninfo ZRUA SBOT 10 authed {\"type\":\"server\"}\r\ninfo ZRUA SBOT 11 connect {\"host\":\"ralphtheninja.info\",\"port\":2000}\r\nwarn ZRUA SBOT 11 unauthed {}\r\n```"},"comment":{"url":"https://api.github.com/repos/ssbc/scuttlebot/issues/comments/73578591","html_url":"https://github.com/ssbc/scuttlebot/issues/113#issuecomment-73578591","issue_url":"https://api.github.com/repos/ssbc/scuttlebot/issues/113","id":73578591,"user":{"login":"dominictarr","id":259374,"avatar_url":"https://avatars.githubusercontent.com/u/259374?v=3","gravatar_id":"","url":"https://api.github.com/users/dominictarr","html_url":"https://github.com/dominictarr","followers_url":"https://api.github.com/users/dominictarr/followers","following_url":"https://api.github.com/users/dominictarr/following{/other_user}","gists_url":"https://api.github.com/users/dominictarr/gists{/gist_id}","starred_url":"https://api.github.com/users/dominictarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominictarr/subscriptions","organizations_url":"https://api.github.com/users/dominictarr/orgs","repos_url":"https://api.github.com/users/dominictarr/repos","events_url":"https://api.github.com/users/dominictarr/events{/privacy}","received_events_url":"https://api.github.com/users/dominictarr/received_events","type":"User","site_admin":false},"created_at":"2015-02-09T19:59:01Z","updated_at":"2015-02-09T19:59:01Z","body":"actually, connecting to remote hosts is currently broken. todo: fix that.\r\n\r\nI tried your invite code, it took a few seconds, but it worked:\r\n\r\n``` js\r\n./bin.js invite.addMe \"ralphtheninja.info,55eHs2t9xT9hAQ3ln5PueRXllrxZIVhGhtCP2bL/IY0=.blake2s,0owmW8rCTQ5slb3fbY4YvXnPaN/mjCHNVOBJagdN+0w=\"\r\n\r\n[\r\n  {\r\n    \"key\": \"yM8IbSape+kM+UKalrCERQQx1T3JSZhKYm23qcdaDIA=.blake2s\",\r\n    \"value\": {\r\n      \"previous\": \"C4fAr+KMzYcQhmw7zVwFyTHTFz2QY1OZMzZYqu2jdrc=.blake2s\",\r\n      \"author\": \"wuDDnMxVtk8U9hrueDj/T0itgp5HJZ4ZDEJodTyoMdg=.blake2s\",\r\n      \"sequence\": 105,\r\n      \"timestamp\": 1423511842404,\r\n      \"hash\": \"blake2s\",\r\n      \"content\": {\r\n        \"type\": \"follow\",\r\n        \"feed\": \"55eHs2t9xT9hAQ3ln5PueRXllrxZIVhGhtCP2bL/IY0=.blake2s\",\r\n        \"rel\": \"follows\"\r\n      },\r\n      \"signature\": \"M0OPAqPsxR/vV9fb/LnlT3P2d/Mmme0u4aVTKE+MP1QmlawJI03aFcMwV5JXkHSVP4CgOQzImaIw4WKpb1uGLg==.blake2s.k256\"\r\n    }\r\n  },\r\n  {\r\n    \"key\": \"n+NMJJstS21FX5vXnLlE59NcrYkQVaVs6zVc0/Uz/f8=.blake2s\",\r\n    \"value\": {\r\n      \"previous\": \"yM8IbSape+kM+UKalrCERQQx1T3JSZhKYm23qcdaDIA=.blake2s\",\r\n      \"author\": \"wuDDnMxVtk8U9hrueDj/T0itgp5HJZ4ZDEJodTyoMdg=.blake2s\",\r\n      \"sequence\": 106,\r\n      \"timestamp\": 1423511842584,\r\n      \"hash\": \"blake2s\",\r\n      \"content\": {\r\n        \"type\": \"pub\",\r\n        \"address\": \"ralphtheninja.info\"\r\n      },\r\n      \"signature\": \"+mTwPFdoUbZxvrsiOJyVOvWBnCNhaz2liOs7HVDojOnbP1NfsYZkEQyygUihAL7qVHxFOmw1xuthy9fU+0bstw==.blake2s.k256\"\r\n    }\r\n  }\r\n]\r\n```"}}