Failed to establish a new connection: [Errno 11004] getaddrinfo failed

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

xpack.security.enabled: true
xpack.security.transport.ssl.enabled: true

above is the security related configuration

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.