{"issue":{"state":"closed","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/9d0d0d10bf944bb82f824abfa2131664?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"9d0d0d10bf944bb82f824abfa2131664","url":"https://api.github.com/users/devinfoley","login":"devinfoley","id":139239},"milestone":null,"assignee":null,"updated_at":"2011-11-08T16:06:02Z","labels":[],"closed_at":"2011-11-08T16:06:02Z","comments":6,"url":"https://api.github.com/repos/lukeredpath/libPusher/issues/9","body":"Hi,\r\n\r\nFirst of all, thanks for this library! Unfortunately, I'm having trouble connecting.\r\n\r\nWhen I execute the following code...\r\n\r\n    // Init pusher\r\n    NSLog(@\"%@\", @\"Connecting to pusher...\");\r\n    pusher = [PTPusher pusherWithKey:PUSHER_API_KEY delegate:self encrypted:YES];\r\n    pusher.reconnectAutomatically = YES;\r\n    [pusher connect];\r\n\r\nI get the following error...\r\n\r\n*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: theReadStream != NULL'\r\n*** Call stack at first throw:\r\n(\r\n\t0   CoreFoundation                      0x0196b5a9 __exceptionPreprocess + 185\r\n\t1   libobjc.A.dylib                     0x01abf313 objc_exception_throw + 44\r\n\t2   CoreFoundation                      0x01923ef8 +[NSException raise:format:arguments:] + 136\r\n\t3   Foundation                          0x0165a3bb -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 116\r\n\t4   [my app]                               0x0005e502 -[AsyncSocket doCFReadStreamCallback:forStream:] + 242\r\n\t5   [my app]                               0x00057cf9 MyCFReadStreamCallback + 169\r\n\r\nI've double checked everything and tried a few different parameters. Any ideas?\r\n\r\nThanks!\r\nDevin","html_url":"https://github.com/lukeredpath/libPusher/issues/9","title":"Can't Connect Due to NULL theReadStream","number":9,"id":2171391,"created_at":"2011-11-08T06:19:28Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/9d0d0d10bf944bb82f824abfa2131664?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"9d0d0d10bf944bb82f824abfa2131664","url":"https://api.github.com/users/devinfoley","login":"devinfoley","id":139239},"updated_at":"2011-11-08T16:06:02Z","url":"https://api.github.com/repos/lukeredpath/libPusher/issues/comments/2669390","body":"Closing...","id":2669390,"created_at":"2011-11-08T16:06:02Z"}}