{"action":"closed","issue":{"url":"https://api.github.com/repos/intercom/intercom-rails/issues/195","repository_url":"https://api.github.com/repos/intercom/intercom-rails","labels_url":"https://api.github.com/repos/intercom/intercom-rails/issues/195/labels{/name}","comments_url":"https://api.github.com/repos/intercom/intercom-rails/issues/195/comments","events_url":"https://api.github.com/repos/intercom/intercom-rails/issues/195/events","html_url":"https://github.com/intercom/intercom-rails/issues/195","id":154527075,"number":195,"title":"Intercom not working on localhost for logged-in users","user":{"login":"abrambailey","id":978462,"avatar_url":"https://avatars.githubusercontent.com/u/978462?v=3","gravatar_id":"","url":"https://api.github.com/users/abrambailey","html_url":"https://github.com/abrambailey","followers_url":"https://api.github.com/users/abrambailey/followers","following_url":"https://api.github.com/users/abrambailey/following{/other_user}","gists_url":"https://api.github.com/users/abrambailey/gists{/gist_id}","starred_url":"https://api.github.com/users/abrambailey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abrambailey/subscriptions","organizations_url":"https://api.github.com/users/abrambailey/orgs","repos_url":"https://api.github.com/users/abrambailey/repos","events_url":"https://api.github.com/users/abrambailey/events{/privacy}","received_events_url":"https://api.github.com/users/abrambailey/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-05-12T16:34:34Z","updated_at":"2016-07-25T09:28:32Z","closed_at":"2016-07-25T09:28:32Z","body":"I am not seeing the messenger icon appear and also see the following errors:\r\n```\r\nintercom.ce2651f4.js:7 POST https://api-ping.intercom.io/vjs/users/ping 403 (Forbidden)send @\r\nintercom.ce2651f4.js:7le.extend.ajax @ \r\nintercom.ce2651f4.js:7e.exports @\r\n intercom.ce2651f4.js:15m.post @\r\n intercom.ce2651f4.js:15o.extend._post @\r\n intercom.ce2651f4.js:15o.extend.createOrUpdateUser @ \r\nintercom.ce2651f4.js:15i.createOrUpdateUser @ \r\nintercom.ce2651f4.js:15i.throttledCreateOrUpdateUser @ \r\nintercom.ce2651f4.js:15c.extend.createOrUpdateUser @\r\n intercom.ce2651f4.js:8c.extend.initialize @ \r\nintercom.ce2651f4.js:8(anonymous function) @ \r\nintercom.ce2651f4.js:4t @ \r\nintercom.ce2651f4.js:1i @ \r\nintercom.ce2651f4.js:4(anonymous function) @ \r\nintercom.ce2651f4.js:4t @ \r\nintercom.ce2651f4.js:1(anonymous function) @\r\n intercom.ce2651f4.js:1t @ \r\nintercom.ce2651f4.js:1(anonymous function) @ \r\nintercom.ce2651f4.js:1(anonymous function) @ \r\nintercom.ce2651f4.js:1\r\n```\r\n\r\nThe messenger icon is appearing for visitors only.\r\n\r\nSeems the issue is here:\r\n\r\n```javascript\r\nrn && le.ajaxTransport(function(e) {\r\n    if (!e.crossDomain || se.cors) {\r\n        var t;\r\n        return {\r\n            send: function(n, i) {\r\n                var o, r = e.xhr(), a = ++nn;\r\n                if (r.open(e.type, e.url, e.async, e.username, e.password),\r\n                e.xhrFields)\r\n                    for (o in e.xhrFields)\r\n                        r[o] = e.xhrFields[o];\r\n                e.mimeType && r.overrideMimeType && r.overrideMimeType(e.mimeType),\r\n                e.crossDomain || n[\"X-Requested-With\"] || (n[\"X-Requested-With\"] = \"XMLHttpRequest\");\r\n                for (o in n)\r\n                    void 0 !== n[o] && r.setRequestHeader(o, n[o] + \"\");\r\n                >>>>>>>>>>>>>> r.send(e.hasContent && e.data || null ), <<<<<<<<<<<<<<<<\r\n                t = function(n, o) {\r\n                    var s, c, l;\r\n                    if (t && (o || 4 === r.readyState))\r\n                        if (delete on[a],\r\n                        t = void 0,\r\n                        r.onreadystatechange = le.noop,\r\n                        o)\r\n                            4 !== r.readyState && r.abort();\r\n                        else {\r\n                            l = {},\r\n                            s = r.status,\r\n                            \"string\" == typeof r.responseText && (l.text = r.responseText);\r\n                            try {\r\n                                c = r.statusText\r\n                            } catch (m) {\r\n                                c = \"\"\r\n                            }\r\n                            s || !e.isLocal || e.crossDomain ? 1223 === s && (s = 204) : s = l.text ? 200 : 404\r\n                        }\r\n                    l && i(s, c, l, r.getAllResponseHeaders())\r\n                }\r\n                ,\r\n                e.async ? 4 === r.readyState ? setTimeout(t) : r.onreadystatechange = on[a] = t : t()\r\n            },\r\n            abort: function() {\r\n                t && t(void 0, !0)\r\n            }\r\n        }\r\n    }\r\n})\r\n```"}}
{"actor":{"display_login":"choran"}}