{"action":"closed","issue":{"url":"https://api.github.com/repos/carlalexander/debops-wordpress/issues/188","repository_url":"https://api.github.com/repos/carlalexander/debops-wordpress","labels_url":"https://api.github.com/repos/carlalexander/debops-wordpress/issues/188/labels{/name}","comments_url":"https://api.github.com/repos/carlalexander/debops-wordpress/issues/188/comments","events_url":"https://api.github.com/repos/carlalexander/debops-wordpress/issues/188/events","html_url":"https://github.com/carlalexander/debops-wordpress/issues/188","id":271657460,"number":188,"title":"Elasticsearch not working","user":{"login":"jstoeffler","id":3008836,"avatar_url":"https://avatars2.githubusercontent.com/u/3008836?v=4","gravatar_id":"","url":"https://api.github.com/users/jstoeffler","html_url":"https://github.com/jstoeffler","followers_url":"https://api.github.com/users/jstoeffler/followers","following_url":"https://api.github.com/users/jstoeffler/following{/other_user}","gists_url":"https://api.github.com/users/jstoeffler/gists{/gist_id}","starred_url":"https://api.github.com/users/jstoeffler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jstoeffler/subscriptions","organizations_url":"https://api.github.com/users/jstoeffler/orgs","repos_url":"https://api.github.com/users/jstoeffler/repos","events_url":"https://api.github.com/users/jstoeffler/events{/privacy}","received_events_url":"https://api.github.com/users/jstoeffler/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-11-06T23:26:39Z","updated_at":"2017-11-11T14:59:40Z","closed_at":"2017-11-11T14:59:40Z","author_association":"NONE","body":"So after installing the ElasticPress plugin, and specifying the URL, it tells me : `There is a problem with connecting to your Elasticsearch host.`\r\n\r\nI tried to call Elasticsearch on the server with:\r\n\r\n    curl -XGET 'http://localhost:9200/_count?pretty' -d '\r\n    {\r\n        \"query\": {\r\n            \"match_all\": {}\r\n        }\r\n    }\r\n    '\r\n\r\nWhich returns `curl: (7) Failed to connect to localhost port 9200: Connection refused`\r\n\r\nI looked into the Elasticsearch logs and I found the stack trace above, which is the same as the one in [this issue](https://github.com/pires/docker-elasticsearch-kubernetes/issues/5), which seems to be caused by a missing `network.host` flag. Is there something to do on my side?\r\n\r\njava.lang.IllegalArgumentException: No up-and-running site-local (private) addresses found, got [name:lo (lo), name:eth0 (eth0)]\r\n\tat org.elasticsearch.common.network.NetworkUtils.getSiteLocalAddresses(NetworkUtils.java:187) ~[elasticsearch-5.6.3.jar:5.6.3]\r\n\tat org.elasticsearch.common.network.NetworkService.resolveInternal(NetworkService.java:246) ~[elasticsearch-5.6.3.jar:5.6.3]\r\n\tat org.elasticsearch.common.network.NetworkService.resolveInetAddresses(NetworkService.java:220) ~[elasticsearch-5.6.3.jar:5.6.3]\r\n\tat org.elasticsearch.common.network.NetworkService.resolveBindHostAddresses(NetworkService.java:130) ~[elasticsearch-5.6.3.jar:5.6.3]\r\n\tat org.elasticsearch.transport.TcpTransport.bindServer(TcpTransport.java:729) ~[elasticsearch-5.6.3.jar:5.6.3]\r\n\tat org.elasticsearch.transport.netty4.Netty4Transport.doStart(Netty4Transport.java:174) ~[?:?]\r\n\tat org.elasticsearch.common.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:69) ~[elasticsearch-5.6.3.jar:5.6.3]\r\n\tat org.elasticsearch.transport.TransportService.doStart(TransportService.java:209) ~[elasticsearch-5.6.3.jar:5.6.3]\r\n\tat org.elasticsearch.common.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:69) ~[elasticsearch-5.6.3.jar:5.6.3]\r\n\tat org.elasticsearch.node.Node.start(Node.java:694) ~[elasticsearch-5.6.3.jar:5.6.3]\r\n\tat org.elasticsearch.bootstrap.Bootstrap.start(Bootstrap.java:278) ~[elasticsearch-5.6.3.jar:5.6.3]\r\n\tat org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:351) [elasticsearch-5.6.3.jar:5.6.3]\r\n\tat org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:132) [elasticsearch-5.6.3.jar:5.6.3]\r\n\tat org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:123) [elasticsearch-5.6.3.jar:5.6.3]\r\n\tat org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:70) [elasticsearch-5.6.3.jar:5.6.3]\r\n\tat org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:134) [elasticsearch-5.6.3.jar:5.6.3]\r\n\tat org.elasticsearch.cli.Command.main(Command.java:90) [elasticsearch-5.6.3.jar:5.6.3]\r\n\tat org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:91) [elasticsearch-5.6.3.jar:5.6.3]\r\n\tat org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:84) [elasticsearch-5.6.3.jar:5.6.3]\r\n[2017-11-06T23:02:46,603][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [www] uncaught exception in thread [main]\r\norg.elasticsearch.bootstrap.StartupException: java.lang.IllegalArgumentException: No up-and-running site-local (private) addresses found, got [name:lo (lo), name:eth0 (eth0)]\r\n\tat org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:136) ~[elasticsearch-5.6.3.jar:5.6.3]\r\n\tat org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:123) ~[elasticsearch-5.6.3.jar:5.6.3]\r\n\tat org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:70) ~[elasticsearch-5.6.3.jar:5.6.3]\r\n\tat org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:134) ~[elasticsearch-5.6.3.jar:5.6.3]\r\n\tat org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-5.6.3.jar:5.6.3]\r\n\tat org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:91) ~[elasticsearch-5.6.3.jar:5.6.3]\r\n\tat org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:84) ~[elasticsearch-5.6.3.jar:5.6.3]\r\nCaused by: java.lang.IllegalArgumentException: No up-and-running site-local (private) addresses found, got [name:lo (lo), name:eth0 (eth0)]\r\n\tat org.elasticsearch.common.network.NetworkUtils.getSiteLocalAddresses(NetworkUtils.java:187) ~[elasticsearch-5.6.3.jar:5.6.3]\r\n\tat org.elasticsearch.common.network.NetworkService.resolveInternal(NetworkService.java:246) ~[elasticsearch-5.6.3.jar:5.6.3]\r\n\tat org.elasticsearch.common.network.NetworkService.resolveInetAddresses(NetworkService.java:220) ~[elasticsearch-5.6.3.jar:5.6.3]\r\n\tat org.elasticsearch.common.network.NetworkService.resolveBindHostAddresses(NetworkService.java:130) ~[elasticsearch-5.6.3.jar:5.6.3]\r\n\tat org.elasticsearch.transport.TcpTransport.bindServer(TcpTransport.java:729) ~[elasticsearch-5.6.3.jar:5.6.3]\r\n\tat org.elasticsearch.transport.netty4.Netty4Transport.doStart(Netty4Transport.java:174) ~[?:?]\r\n\tat org.elasticsearch.common.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:69) ~[elasticsearch-5.6.3.jar:5.6.3]\r\n\tat org.elasticsearch.transport.TransportService.doStart(TransportService.java:209) ~[elasticsearch-5.6.3.jar:5.6.3]\r\n\tat org.elasticsearch.common.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:69) ~[elasticsearch-5.6.3.jar:5.6.3]\r\n\tat org.elasticsearch.node.Node.start(Node.java:694) ~[elasticsearch-5.6.3.jar:5.6.3]\r\n\tat org.elasticsearch.bootstrap.Bootstrap.start(Bootstrap.java:278) ~[elasticsearch-5.6.3.jar:5.6.3]\r\n\tat org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:351) ~[elasticsearch-5.6.3.jar:5.6.3]\r\n\tat org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:132) ~[elasticsearch-5.6.3.jar:5.6.3]\r\n\t... 6 more\r\n\r\n\r\n"}}
{"actor":{"display_login":"jstoeffler"}}