Hello,
I have been sending data to my localhost (elastic 7.12) easily with Python.
I'm trying to do the same with elastic cloud with the following command :
es = Elasticsearch(
cloud_id='my_cloud_id_from_https://cloud.elastic.co/deployments/my_id',
http_auth=('elastic', 'mypassword'), port=443)
helpers.bulk(es, some_data)
I have the following error :
ConnectionError: ConnectionError(<urllib3.connection.HTTPSConnection object at 0x0000021278455EB0>: Failed to establish a new connection: [WinError 10061] Aucune connexion n’a pu être établie car l’ordinateur cible l’a expressément refusée) caused by: NewConnectionError(<urllib3.connection.HTTPSConnection object at 0x0000021278455EB0>: Failed to establish a new connection: [WinError 10061] Aucune connexion n’a pu être établie car l’ordinateur cible l’a expressément refusée)
Sorry, some sentences are in french but basically, the connexion is refused.