{"action":"created","issue":{"url":"https://api.github.com/repos/annotationsatharvard/catcha/issues/79","repository_url":"https://api.github.com/repos/annotationsatharvard/catcha","labels_url":"https://api.github.com/repos/annotationsatharvard/catcha/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/annotationsatharvard/catcha/issues/79/comments","events_url":"https://api.github.com/repos/annotationsatharvard/catcha/issues/79/events","html_url":"https://github.com/annotationsatharvard/catcha/issues/79","id":167306057,"number":79,"title":"No CORS header in OPTION response","user":{"login":"xcompass","id":465548,"avatar_url":"https://avatars.githubusercontent.com/u/465548?v=3","gravatar_id":"","url":"https://api.github.com/users/xcompass","html_url":"https://github.com/xcompass","followers_url":"https://api.github.com/users/xcompass/followers","following_url":"https://api.github.com/users/xcompass/following{/other_user}","gists_url":"https://api.github.com/users/xcompass/gists{/gist_id}","starred_url":"https://api.github.com/users/xcompass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xcompass/subscriptions","organizations_url":"https://api.github.com/users/xcompass/orgs","repos_url":"https://api.github.com/users/xcompass/repos","events_url":"https://api.github.com/users/xcompass/events{/privacy}","received_events_url":"https://api.github.com/users/xcompass/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-25T08:02:27Z","updated_at":"2016-07-25T13:23:59Z","closed_at":null,"body":"Hi there,\r\n\r\nWe have installed a server following the instruction here: http://catcha.readthedocs.io/en/latest/admin-guide/installation/ using docker: https://hub.docker.com/r/compass/catcha/\r\n\r\nThe server is up and running. However, when I tried to enable it in edX. I got an error message saying \"The annotation server is down\". I traced down to the reason that the response of the first OPTION request doesn't include \"Access-Control-Allow-Origin\" header. So that API query failed.\r\n\r\nWhen I look at the code, it seems enabled by default:\r\nhttps://github.com/annotationsatharvard/catcha/blob/fb7aae05ccc1ffbedbe388fec79c34de3e30aa74/grails-app/conf/Config.groovy#L204\r\n\r\nIs there anywhere else I should enable it? Or any advice? Thanks.\r\n\r\nPS: I'm using the latest released binary."},"comment":{"url":"https://api.github.com/repos/annotationsatharvard/catcha/issues/comments/234951577","html_url":"https://github.com/annotationsatharvard/catcha/issues/79#issuecomment-234951577","issue_url":"https://api.github.com/repos/annotationsatharvard/catcha/issues/79","id":234951577,"user":{"login":"jmiranda","id":1162935,"avatar_url":"https://avatars.githubusercontent.com/u/1162935?v=3","gravatar_id":"","url":"https://api.github.com/users/jmiranda","html_url":"https://github.com/jmiranda","followers_url":"https://api.github.com/users/jmiranda/followers","following_url":"https://api.github.com/users/jmiranda/following{/other_user}","gists_url":"https://api.github.com/users/jmiranda/gists{/gist_id}","starred_url":"https://api.github.com/users/jmiranda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmiranda/subscriptions","organizations_url":"https://api.github.com/users/jmiranda/orgs","repos_url":"https://api.github.com/users/jmiranda/repos","events_url":"https://api.github.com/users/jmiranda/events{/privacy}","received_events_url":"https://api.github.com/users/jmiranda/received_events","type":"User","site_admin":false},"created_at":"2016-07-25T13:23:59Z","updated_at":"2016-07-25T13:23:59Z","body":"Sorry, I'm traveling / on vacation this week, so I might not be able to help you too much. But if you followed those instructions to the T, then you're probably using an older version of the Catch API (0.5.4). I can't remember if that version contained the CORS plugin or not. My recommendation would be to download the latest release from the GitHub Releases page (https://github.com/annotationsatharvard/catcha/releases/latest) and let me know if that resolves your issue."}}
{"actor":{"display_login":"jmiranda"}}