{"action":"created","issue":{"url":"https://api.github.com/repos/OpenAgInitiative/openag_brain_install_rpi/issues/2","repository_url":"https://api.github.com/repos/OpenAgInitiative/openag_brain_install_rpi","labels_url":"https://api.github.com/repos/OpenAgInitiative/openag_brain_install_rpi/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/OpenAgInitiative/openag_brain_install_rpi/issues/2/comments","events_url":"https://api.github.com/repos/OpenAgInitiative/openag_brain_install_rpi/issues/2/events","html_url":"https://github.com/OpenAgInitiative/openag_brain_install_rpi/issues/2","id":178079427,"number":2,"title":"proxy for couchdb had to be configured manually?","user":{"login":"serein7","id":1544137,"avatar_url":"https://avatars.githubusercontent.com/u/1544137?v=3","gravatar_id":"","url":"https://api.github.com/users/serein7","html_url":"https://github.com/serein7","followers_url":"https://api.github.com/users/serein7/followers","following_url":"https://api.github.com/users/serein7/following{/other_user}","gists_url":"https://api.github.com/users/serein7/gists{/gist_id}","starred_url":"https://api.github.com/users/serein7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serein7/subscriptions","organizations_url":"https://api.github.com/users/serein7/orgs","repos_url":"https://api.github.com/users/serein7/repos","events_url":"https://api.github.com/users/serein7/events{/privacy}","received_events_url":"https://api.github.com/users/serein7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-20T14:40:00Z","updated_at":"2016-09-20T16:29:28Z","closed_at":null,"body":"To easy up development and testing for myself I decided to switch from setup with docker containers to direct install. \r\n\r\nLooks like install script only installs couchdb, but do not modify default configuration. In my case I had to manually add proxy for openag_brain api. If that is so, maybe it makes sense to include copy of local.ini into this repo and install it into /etc/couchdb during install."},"comment":{"url":"https://api.github.com/repos/OpenAgInitiative/openag_brain_install_rpi/issues/comments/248355644","html_url":"https://github.com/OpenAgInitiative/openag_brain_install_rpi/issues/2#issuecomment-248355644","issue_url":"https://api.github.com/repos/OpenAgInitiative/openag_brain_install_rpi/issues/2","id":248355644,"user":{"login":"serein7","id":1544137,"avatar_url":"https://avatars.githubusercontent.com/u/1544137?v=3","gravatar_id":"","url":"https://api.github.com/users/serein7","html_url":"https://github.com/serein7","followers_url":"https://api.github.com/users/serein7/followers","following_url":"https://api.github.com/users/serein7/following{/other_user}","gists_url":"https://api.github.com/users/serein7/gists{/gist_id}","starred_url":"https://api.github.com/users/serein7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serein7/subscriptions","organizations_url":"https://api.github.com/users/serein7/orgs","repos_url":"https://api.github.com/users/serein7/repos","events_url":"https://api.github.com/users/serein7/events{/privacy}","received_events_url":"https://api.github.com/users/serein7/received_events","type":"User","site_admin":false},"created_at":"2016-09-20T16:29:28Z","updated_at":"2016-09-20T16:29:28Z","body":"Seems it is related to default values. When I just run `rosrun openag_brain main` and try to access to api through couchdb proxy I get an error:\r\n>{\r\n\"error\": \"error\",\r\n\"reason\": \"{conn_failed,{error,econnrefused}}\"\r\n}\r\n\r\nOnly when I set explicit API url with `rosrun openag_brain main -A http://brain:5000` I get it working.\r\n\r\nDid not looked at source code yet, but my guess that either proxy is not setup at all when there is no `-A` is set or default value for API endpoint url is different from the assumed by proxy."}}
{"actor":{"display_login":"serein7"}}