You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think there is a bug in the latest version. It related to not being able to parse response properly from Elasticsearch when sniffing?
If you enable Sniff mode, then you get the following error. There is an "]" bracket on the value that comes with the port string (probably from), and when the library tries to do an int("9200]"), it gives a ValueError and crashes. Details below:
ValueError: invalid literal for int() with base 10: '9200]' Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/elasticsearch/client/__init__.py", line 150, in __init__ self.transport = transport_class(_normalize_hosts(hosts), **kwargs) File "/usr/local/lib/python2.7/site-packages/elasticsearch/transport.py", line 126, in __init__ self.sniff_hosts(True) File "/usr/local/lib/python2.7/site-packages/elasticsearch/transport.py", line 250, in sniff_hosts host['port'] = int(port) ValueError: invalid literal for int() with base 10: '9200]'
The text was updated successfully, but these errors were encountered:
I think there is a bug in the latest version. It related to not being able to parse response properly from Elasticsearch when sniffing?
If you enable Sniff mode, then you get the following error. There is an "]" bracket on the value that comes with the port string (probably from), and when the library tries to do an int("9200]"), it gives a ValueError and crashes. Details below:
ValueError: invalid literal for int() with base 10: '9200]'
Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/elasticsearch/client/__init__.py", line 150, in __init__ self.transport = transport_class(_normalize_hosts(hosts), **kwargs) File "/usr/local/lib/python2.7/site-packages/elasticsearch/transport.py", line 126, in __init__ self.sniff_hosts(True) File "/usr/local/lib/python2.7/site-packages/elasticsearch/transport.py", line 250, in sniff_hosts host['port'] = int(port) ValueError: invalid literal for int() with base 10: '9200]'
The text was updated successfully, but these errors were encountered: