{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/yii2-elasticsearch/issues/28","labels_url":"https://api.github.com/repos/yiisoft/yii2-elasticsearch/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2-elasticsearch/issues/28/comments","events_url":"https://api.github.com/repos/yiisoft/yii2-elasticsearch/issues/28/events","html_url":"https://github.com/yiisoft/yii2-elasticsearch/issues/28","id":110963251,"number":28,"title":"AWS Elasticsearch service compatibility","user":{"login":"andrey-bahrachev","id":597912,"avatar_url":"https://avatars.githubusercontent.com/u/597912?v=3","gravatar_id":"","url":"https://api.github.com/users/andrey-bahrachev","html_url":"https://github.com/andrey-bahrachev","followers_url":"https://api.github.com/users/andrey-bahrachev/followers","following_url":"https://api.github.com/users/andrey-bahrachev/following{/other_user}","gists_url":"https://api.github.com/users/andrey-bahrachev/gists{/gist_id}","starred_url":"https://api.github.com/users/andrey-bahrachev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrey-bahrachev/subscriptions","organizations_url":"https://api.github.com/users/andrey-bahrachev/orgs","repos_url":"https://api.github.com/users/andrey-bahrachev/repos","events_url":"https://api.github.com/users/andrey-bahrachev/events{/privacy}","received_events_url":"https://api.github.com/users/andrey-bahrachev/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yiisoft/yii2-elasticsearch/labels/enhancement","name":"enhancement","color":"d7e102"},{"url":"https://api.github.com/repos/yiisoft/yii2-elasticsearch/labels/status:ready%20for%20adoption","name":"status:ready for adoption","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-12T12:22:16Z","updated_at":"2015-10-12T13:49:17Z","closed_at":null,"body":"Hey guys!\r\nAs you may have heard, AWS have launched Elasticsearch service recently which is really great, and I decided to take it for a spin, but this extension doesn't work with it in its current state. There are two points of failure with it.\r\nFirstly, AWS ES endpoint returns 'text/plain' content type instead of 'application/json' - that's where the `Connection->httpRequest()` method fails. And secondly, ES nodes there don't have `'http_address'` property for some reason, that's why `Connection->open()` method and a couple of others that rely on that property fail.\r\nI hope that will be fixed, so that those who need it don't need to fork or hack the code :) Thanks!"},"comment":{"url":"https://api.github.com/repos/yiisoft/yii2-elasticsearch/issues/comments/147404932","html_url":"https://github.com/yiisoft/yii2-elasticsearch/issues/28#issuecomment-147404932","issue_url":"https://api.github.com/repos/yiisoft/yii2-elasticsearch/issues/28","id":147404932,"user":{"login":"andrey-bahrachev","id":597912,"avatar_url":"https://avatars.githubusercontent.com/u/597912?v=3","gravatar_id":"","url":"https://api.github.com/users/andrey-bahrachev","html_url":"https://github.com/andrey-bahrachev","followers_url":"https://api.github.com/users/andrey-bahrachev/followers","following_url":"https://api.github.com/users/andrey-bahrachev/following{/other_user}","gists_url":"https://api.github.com/users/andrey-bahrachev/gists{/gist_id}","starred_url":"https://api.github.com/users/andrey-bahrachev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrey-bahrachev/subscriptions","organizations_url":"https://api.github.com/users/andrey-bahrachev/orgs","repos_url":"https://api.github.com/users/andrey-bahrachev/repos","events_url":"https://api.github.com/users/andrey-bahrachev/events{/privacy}","received_events_url":"https://api.github.com/users/andrey-bahrachev/received_events","type":"User","site_admin":false},"created_at":"2015-10-12T13:49:17Z","updated_at":"2015-10-12T13:49:17Z","body":"@samdark Ah, ok, why not?"}}