{"action":"created","issue":{"url":"https://api.github.com/repos/spacekit/spacekit/issues/67","repository_url":"https://api.github.com/repos/spacekit/spacekit","labels_url":"https://api.github.com/repos/spacekit/spacekit/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/spacekit/spacekit/issues/67/comments","events_url":"https://api.github.com/repos/spacekit/spacekit/issues/67/events","html_url":"https://github.com/spacekit/spacekit/issues/67","id":184429606,"number":67,"title":"Exception thrown while generating SSL certificate","user":{"login":"Sija","id":988,"avatar_url":"https://avatars.githubusercontent.com/u/988?v=3","gravatar_id":"","url":"https://api.github.com/users/Sija","html_url":"https://github.com/Sija","followers_url":"https://api.github.com/users/Sija/followers","following_url":"https://api.github.com/users/Sija/following{/other_user}","gists_url":"https://api.github.com/users/Sija/gists{/gist_id}","starred_url":"https://api.github.com/users/Sija/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sija/subscriptions","organizations_url":"https://api.github.com/users/Sija/orgs","repos_url":"https://api.github.com/users/Sija/repos","events_url":"https://api.github.com/users/Sija/events{/privacy}","received_events_url":"https://api.github.com/users/Sija/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-21T08:38:17Z","updated_at":"2016-10-26T19:09:46Z","closed_at":null,"body":"I got following exception while generating SSL certificate.\r\nSeems like it's happening only for the first time. Next run successfully finishes.\r\n\r\n```\r\nTraffic routed through SpaceKit is encrypted end-to-end.\r\nWe are now generating a new TLS certificate with LetsEncrypt.\r\nThis can take up to one minute, and it only needs to be done once.\r\n\r\nPlease wait...\r\n\r\n*************************************************************\r\nFailure: We were unable to obtain a TLS certificate for you:\r\n TypeError: Path must be a string. Received undefined\r\n    at assertPath (path.js:7:11)\r\n    at Object.dirname (path.js:1324:5)\r\n    at /Users/sija/.nvm/versions/node/v6.9.1/lib/node_modules/spacekit/node_modules/letsencrypt/lib/core.js:274:31\r\n    at tryCatcher (/Users/sija/.nvm/versions/node/v6.9.1/lib/node_modules/spacekit/node_modules/bluebird/js/release/util.js:16:23)\r\n    at Promise._settlePromiseFromHandler (/Users/sija/.nvm/versions/node/v6.9.1/lib/node_modules/spacekit/node_modules/bluebird/js/release/promise.js:510:31)\r\n    at Promise._settlePromise (/Users/sija/.nvm/versions/node/v6.9.1/lib/node_modules/spacekit/node_modules/bluebird/js/release/promise.js:567:18)\r\n    at Promise._settlePromiseCtx (/Users/sija/.nvm/versions/node/v6.9.1/lib/node_modules/spacekit/node_modules/bluebird/js/release/promise.js:604:10)\r\n    at Async._drainQueue (/Users/sija/.nvm/versions/node/v6.9.1/lib/node_modules/spacekit/node_modules/bluebird/js/release/async.js:143:12)\r\n    at Async._drainQueues (/Users/sija/.nvm/versions/node/v6.9.1/lib/node_modules/spacekit/node_modules/bluebird/js/release/async.js:148:10)\r\n    at Immediate.Async.drainQueues (/Users/sija/.nvm/versions/node/v6.9.1/lib/node_modules/spacekit/node_modules/bluebird/js/release/async.js:17:14)\r\n    at runCallback (timers.js:637:20)\r\n    at tryOnImmediate (timers.js:610:5)\r\n    at processImmediate [as _immediateCallback] (timers.js:582:5)\r\n*************************************************************\r\nThis is fatal and unexpected. Please submit a bug report. :(\r\n(node:54188) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Path must be a string. Received undefined\r\n```"},"comment":{"url":"https://api.github.com/repos/spacekit/spacekit/issues/comments/256447546","html_url":"https://github.com/spacekit/spacekit/issues/67#issuecomment-256447546","issue_url":"https://api.github.com/repos/spacekit/spacekit/issues/67","id":256447546,"user":{"login":"jedireza","id":979929,"avatar_url":"https://avatars.githubusercontent.com/u/979929?v=3","gravatar_id":"","url":"https://api.github.com/users/jedireza","html_url":"https://github.com/jedireza","followers_url":"https://api.github.com/users/jedireza/followers","following_url":"https://api.github.com/users/jedireza/following{/other_user}","gists_url":"https://api.github.com/users/jedireza/gists{/gist_id}","starred_url":"https://api.github.com/users/jedireza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jedireza/subscriptions","organizations_url":"https://api.github.com/users/jedireza/orgs","repos_url":"https://api.github.com/users/jedireza/repos","events_url":"https://api.github.com/users/jedireza/events{/privacy}","received_events_url":"https://api.github.com/users/jedireza/received_events","type":"User","site_admin":false},"created_at":"2016-10-26T19:09:46Z","updated_at":"2016-10-26T19:09:46Z","body":"Thanks for opening an issue. I ran into a similar error recently too. I'll begin looking into this further."}}
{"actor":{"display_login":"jedireza"}}