{"action":"created","issue":{"url":"https://api.github.com/repos/OptimalBits/redbird/issues/64","repository_url":"https://api.github.com/repos/OptimalBits/redbird","labels_url":"https://api.github.com/repos/OptimalBits/redbird/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/OptimalBits/redbird/issues/64/comments","events_url":"https://api.github.com/repos/OptimalBits/redbird/issues/64/events","html_url":"https://github.com/OptimalBits/redbird/issues/64","id":173806169,"number":64,"title":"Cannot connect to parse server. \"Cannot GET /\" and 'XMLHttpRequest failed: \"Unable to connect to the Parse API\"","user":{"login":"MostHated","id":3442753,"avatar_url":"https://avatars.githubusercontent.com/u/3442753?v=3","gravatar_id":"","url":"https://api.github.com/users/MostHated","html_url":"https://github.com/MostHated","followers_url":"https://api.github.com/users/MostHated/followers","following_url":"https://api.github.com/users/MostHated/following{/other_user}","gists_url":"https://api.github.com/users/MostHated/gists{/gist_id}","starred_url":"https://api.github.com/users/MostHated/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MostHated/subscriptions","organizations_url":"https://api.github.com/users/MostHated/orgs","repos_url":"https://api.github.com/users/MostHated/repos","events_url":"https://api.github.com/users/MostHated/events{/privacy}","received_events_url":"https://api.github.com/users/MostHated/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-08-29T15:48:18Z","updated_at":"2016-08-30T15:43:18Z","closed_at":null,"body":"Hello,\r\n    I am not 100% sure this is an issue with redbird at all, but I am not able to figure it out. My pal and I are working on getting a store he made working using nodejs, I also am running apache on 8080 and 8443 in order for them to run side by side and am using redbird to handle the requests, but for some reason I am not able to get the store to connect to parse-server, yet parse dash is working fine.\r\n\r\nHere is what I am using currently. \r\n\r\n`//If URL has/.well-known/, send request to upstream API service\r\n  var customResolver1 = function(host, url) {\r\n   if(/^\\/.well-known\\//.test(url)){\r\n      return 'http://planetex.press:8080';\r\n   } \r\n };\r\n\r\n //assign high priority\r\n customResolver1.priority = 100;\r\n\r\n var proxy = new require('redbird')({\r\n    port: 80, \r\n    resolvers: [\r\n    customResolver1],\r\n    secure: true,\r\n    ssl:{ port: 443 },\r\n })\r\n\r\nproxy.register(\"www.planetex.press\", \"http://www.planetex.press:3000\", {\r\nssl: {\r\n        key: \"/home/planetex/ssl.key\",\r\n        cert: \"/home/planetex/ssl.cert\",\r\n    }\r\n});\r\nproxy.register(\"api.planetex.press\", \"http://api.planetex.press:3002\",{\r\nssl: {\r\n        key: \"/home/planetex/domains/api.planetex.press/ssl.key\",\r\n        cert: \"/home/planetex/domains/api.planetex.press/ssl.cert\",\r\n    }\r\n});\r\nproxy.register(\"dash.planetex.press\", \"http://dash.planetex.press:3001\",{\r\nssl: {\r\n        key: \"/home/planetex/domains/dash.planetex.press/ssl.key\",\r\n        cert: \"/home/planetex/domains/dash.planetex.press/ssl.cert\",\r\n    }\r\n});`"},"comment":{"url":"https://api.github.com/repos/OptimalBits/redbird/issues/comments/243483807","html_url":"https://github.com/OptimalBits/redbird/issues/64#issuecomment-243483807","issue_url":"https://api.github.com/repos/OptimalBits/redbird/issues/64","id":243483807,"user":{"login":"manast","id":95200,"avatar_url":"https://avatars.githubusercontent.com/u/95200?v=3","gravatar_id":"","url":"https://api.github.com/users/manast","html_url":"https://github.com/manast","followers_url":"https://api.github.com/users/manast/followers","following_url":"https://api.github.com/users/manast/following{/other_user}","gists_url":"https://api.github.com/users/manast/gists{/gist_id}","starred_url":"https://api.github.com/users/manast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manast/subscriptions","organizations_url":"https://api.github.com/users/manast/orgs","repos_url":"https://api.github.com/users/manast/repos","events_url":"https://api.github.com/users/manast/events{/privacy}","received_events_url":"https://api.github.com/users/manast/received_events","type":"User","site_admin":false},"created_at":"2016-08-30T15:43:18Z","updated_at":"2016-08-30T15:43:18Z","body":"Btw, you may be interested in this: https://github.com/OptimalBits/redbird/commit/997626cd1221a6e5314def664e036350b9a4caef\r\n\r\nI need to implement the automatic renewal procedure and more testing, but other than that this is mostly finished."}}
{"actor":{"display_login":"manast"}}