When I enable xpack security, I need to use basic authorization to access elasticsearch api to fetch data or update data.
I use python API, when I use server id address, I could fetch data successful, but when i use aws elk link, it's reutrn below error
ConnectionError: ConnectionError(<urllib3.connection.HTTPConnection object at 0x0000000008897630>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x0000000008897630>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed)
aws elb link:
http:// awselb*********:9200
aws elb setting: port 9200 transform to 9200
ipaddress
http://***.***.***.***:9200
if disable security setting, the aws elb is working.
Please advise whether anything configuration missing/incorrect ?
thanks
Wayne