{"action":"created","issue":{"url":"https://api.github.com/repos/graphaware/neo4j-to-elasticsearch/issues/106","repository_url":"https://api.github.com/repos/graphaware/neo4j-to-elasticsearch","labels_url":"https://api.github.com/repos/graphaware/neo4j-to-elasticsearch/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/graphaware/neo4j-to-elasticsearch/issues/106/comments","events_url":"https://api.github.com/repos/graphaware/neo4j-to-elasticsearch/issues/106/events","html_url":"https://github.com/graphaware/neo4j-to-elasticsearch/issues/106","id":298927323,"number":106,"title":"username & password support","user":{"login":"immon","id":541494,"avatar_url":"https://avatars2.githubusercontent.com/u/541494?v=4","gravatar_id":"","url":"https://api.github.com/users/immon","html_url":"https://github.com/immon","followers_url":"https://api.github.com/users/immon/followers","following_url":"https://api.github.com/users/immon/following{/other_user}","gists_url":"https://api.github.com/users/immon/gists{/gist_id}","starred_url":"https://api.github.com/users/immon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/immon/subscriptions","organizations_url":"https://api.github.com/users/immon/orgs","repos_url":"https://api.github.com/users/immon/repos","events_url":"https://api.github.com/users/immon/events{/privacy}","received_events_url":"https://api.github.com/users/immon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-02-21T11:06:26Z","updated_at":"2018-02-21T12:39:57Z","closed_at":null,"author_association":"NONE","body":"I [installed](http://neo4j.com/docs/operations-manual/current/installation/linux/debian/) neo4j 3.3.3 locally on my ubuntu, copied official [three](https://github.com/graphaware/neo4j-to-elasticsearch#server-mode) JARs into `/var/lib/neo4j/plugins`, configured them in `neo4j.conf` according to the [guidelines](https://github.com/graphaware/neo4j-to-elasticsearch#server-mode-1) with [username and password](https://github.com/graphaware/neo4j-to-elasticsearch#elasticsearch-shield-support) added. Unfortunately I'm not able to connect to elasticsearch via http using username and password. As I checked the traffic the requests do not include any authentication headers and the logs show the following error\r\n```\r\n2018-02-21 10:28:52.528+0000 ERROR [c.g.m.e.m.BaseMapping] Failed to create ElasticSearch index. Details: {\"root_cause\":[{\"type\":\"security_exception\",\"reason\":\"missing authentication token for REST request [/neo4j-index-relationship]\",\"header\":{\"WWW-Authenticate\":\"Basic realm=\\\"shield\\\" charset=\\\"UTF-8\\\"\"}}],\"type\":\"security_exception\",\"reason\":\"missing authentication token for REST request [/neo4j-index-relationship]\",\"header\":{\"WWW-Authenticate\":\"Basic realm=\\\"shield\\\" charset=\\\"UTF-8\\\"\"}}\r\n```\r\n\r\nI tried Elasticseach 2.4.6 and 5.6.7 with [X-Pack](https://www.elastic.co/products/x-pack) installed.\r\n\r\n\r\nHTTP request I see on the loopback interface:\r\n```http\r\nHEAD /neo4j-index-node HTTP/1.1\r\nHost: localhost:9200\r\nConnection: Keep-Alive\r\nUser-Agent: Apache-HttpClient/4.5.1 (Java/1.8.0_161)\r\nAccept-Encoding: gzip,deflate\r\n\r\nHTTP/1.1 401 Unauthorized\r\nWWW-Authenticate: Basic realm=\"shield\" charset=\"UTF-8\"\r\nContent-Type: text/plain; charset=UTF-8\r\nContent-Length: 0\r\n```\r\n\r\nMy plugins dir:\r\n```console\r\nroot@lake:/var/lib/neo4j/plugins# ls -l\r\ntotal 16472\r\n-rw-r--r-- 1 root root  2911664 lut 21 11:26 graphaware-neo4j-to-elasticsearch-3.3.2.52.7.jar\r\n-rw-r--r-- 1 root root 13925597 lut 21 11:26 graphaware-server-community-all-3.3.2.52.jar\r\n-rw-r--r-- 1 root root    27438 lut 21 11:26 graphaware-uuid-3.3.2.52.14.jar\r\n```\r\n\r\nWhat do I do incorrectly?"},"comment":{"url":"https://api.github.com/repos/graphaware/neo4j-to-elasticsearch/issues/comments/367313326","html_url":"https://github.com/graphaware/neo4j-to-elasticsearch/issues/106#issuecomment-367313326","issue_url":"https://api.github.com/repos/graphaware/neo4j-to-elasticsearch/issues/106","id":367313326,"user":{"login":"immon","id":541494,"avatar_url":"https://avatars2.githubusercontent.com/u/541494?v=4","gravatar_id":"","url":"https://api.github.com/users/immon","html_url":"https://github.com/immon","followers_url":"https://api.github.com/users/immon/followers","following_url":"https://api.github.com/users/immon/following{/other_user}","gists_url":"https://api.github.com/users/immon/gists{/gist_id}","starred_url":"https://api.github.com/users/immon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/immon/subscriptions","organizations_url":"https://api.github.com/users/immon/orgs","repos_url":"https://api.github.com/users/immon/repos","events_url":"https://api.github.com/users/immon/events{/privacy}","received_events_url":"https://api.github.com/users/immon/received_events","type":"User","site_admin":false},"created_at":"2018-02-21T12:39:57Z","updated_at":"2018-02-21T12:39:57Z","author_association":"NONE","body":"I have Credentials bulk execution set to true\r\n```\r\n2018-02-21 12:38:54.695+0000 INFO [c.g.m.e.ElasticSearchModuleBootstrapper] Elasticsearch Auth Credentials bulk execution set to true\r\n```"}}
{"actor":{"display_login":"immon"}}