{"action":"created","issue":{"url":"https://api.github.com/repos/deviantony/docker-elk/issues/320","repository_url":"https://api.github.com/repos/deviantony/docker-elk","labels_url":"https://api.github.com/repos/deviantony/docker-elk/issues/320/labels{/name}","comments_url":"https://api.github.com/repos/deviantony/docker-elk/issues/320/comments","events_url":"https://api.github.com/repos/deviantony/docker-elk/issues/320/events","html_url":"https://github.com/deviantony/docker-elk/issues/320","id":360222758,"node_id":"MDU6SXNzdWUzNjAyMjI3NTg=","number":320,"title":"Troubles while run search guard branch","user":{"login":"metju312","id":15929803,"node_id":"MDQ6VXNlcjE1OTI5ODAz","avatar_url":"https://avatars1.githubusercontent.com/u/15929803?v=4","gravatar_id":"","url":"https://api.github.com/users/metju312","html_url":"https://github.com/metju312","followers_url":"https://api.github.com/users/metju312/followers","following_url":"https://api.github.com/users/metju312/following{/other_user}","gists_url":"https://api.github.com/users/metju312/gists{/gist_id}","starred_url":"https://api.github.com/users/metju312/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metju312/subscriptions","organizations_url":"https://api.github.com/users/metju312/orgs","repos_url":"https://api.github.com/users/metju312/repos","events_url":"https://api.github.com/users/metju312/events{/privacy}","received_events_url":"https://api.github.com/users/metju312/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-14T09:16:51Z","updated_at":"2018-09-14T09:59:08Z","closed_at":"2018-09-14T09:59:08Z","author_association":"NONE","body":"A few minutes ago I clone `search guard branch` and I does everythink what `README` said.\r\n\r\nAfter `docker-compose up -d` all services are working but `elasticsearch_1` log one error every few secounds:\r\n\r\n> elasticsearch_1  | [2018-09-14T08:59:49,614][ERROR][c.f.s.a.BackendRegistry  ] Not yet initialized (you may need to run sgadmin)\r\n\r\nAfter that I run `docker-compose exec -T elasticsearch bin/init_sg.sh`, output:\r\n\r\n> Search Guard Admin v6\r\nWill connect to localhost:9300 ... done\r\nWARNING: An illegal reflective access operation has occurred\r\nWARNING: Illegal reflective access by io.netty.util.internal.ReflectionUtil (file:/usr/share/elasticsearch/plugins/search-guard-6/netty-common-4.1.16.Final.jar) to constructor java.nio.DirectByteBuffer(long,int)\r\nWARNING: Please consider reporting this to the maintainers of io.netty.util.internal.ReflectionUtil\r\nWARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations\r\nWARNING: All illegal access operations will be denied in a future release\r\nElasticsearch Version: 6.3.2\r\nSearch Guard Version: 6.3.2-23.0\r\nConnected as CN=kirk,OU=client,O=client,L=Test,C=DE\r\nContacting elasticsearch cluster 'elasticsearch' and wait for YELLOW clusterstate ...\r\nERR: Timed out while waiting for a green or yellow cluster state.\r\no. Try running sgadmin.sh with -icl (but no -cl) and -nhnv (If that works you need to check your clustername as well as hostnames in your TLS certificates)\r\no. Make also sure that your keystore or PEM certificate is a client certificate (not a node certificate) and configured properly in elasticsearch.yml\r\no. If this is not working, try running sgadmin.sh with --diagnose and see diagnose trace log file)\r\no. Add --accept-red-cluster to allow sgadmin to operate on a red cluster.\r\n\r\nI guess that sgadmin can't connect to elasticsearch cluster but I does everythink what README said.\r\n\r\nAny sugestions how to fix this?\r\nThanks for answers."},"comment":{"url":"https://api.github.com/repos/deviantony/docker-elk/issues/comments/421302375","html_url":"https://github.com/deviantony/docker-elk/issues/320#issuecomment-421302375","issue_url":"https://api.github.com/repos/deviantony/docker-elk/issues/320","id":421302375,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTMwMjM3NQ==","user":{"login":"antoineco","id":3299086,"node_id":"MDQ6VXNlcjMyOTkwODY=","avatar_url":"https://avatars2.githubusercontent.com/u/3299086?v=4","gravatar_id":"","url":"https://api.github.com/users/antoineco","html_url":"https://github.com/antoineco","followers_url":"https://api.github.com/users/antoineco/followers","following_url":"https://api.github.com/users/antoineco/following{/other_user}","gists_url":"https://api.github.com/users/antoineco/gists{/gist_id}","starred_url":"https://api.github.com/users/antoineco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antoineco/subscriptions","organizations_url":"https://api.github.com/users/antoineco/orgs","repos_url":"https://api.github.com/users/antoineco/repos","events_url":"https://api.github.com/users/antoineco/events{/privacy}","received_events_url":"https://api.github.com/users/antoineco/received_events","type":"User","site_admin":false},"created_at":"2018-09-14T09:59:08Z","updated_at":"2018-09-14T09:59:08Z","author_association":"COLLABORATOR","body":"The connection looks fine to me\r\n\r\n> `Will connect to localhost:9300 ... done`\r\n...\r\n`Connected as CN=kirk,OU=client,O=client,L=Test,C=DE`\r\n`Contacting elasticsearch cluster 'elasticsearch' and wait for YELLOW clusterstate ...`\r\n\r\nHere is what a successful execution of `init_sg.sh` looks like: https://travis-ci.org/deviantony/docker-elk/builds/415931495#L646-L675\r\n\r\nUnfortunately you did not fill-in the issue template, so we have no possibility to reproduce your issue. Please reopen when you can provide the required information. Thank you for your understanding."}}
{"actor":{"display_login":"antoineco"}}