Getting below inconsistent ConnectionError during select queries only. If run my script after some time it works without issue.
How to find the exact issue and the error message was clear?
Any help will be appreciated.
Traceback (most recent call last):
File "generator.py", line 48, in execute
target.mxm(mxm_sql)
File "/home/itsme/Target.py", line 38, in mxm
curs.execute(sql, parms)
File "build/bdist.linux-x86_64/egg/vertica_python/vertica/cursor.py", line 113, in execute
self._message = self.connection.read_message()
File "build/bdist.linux-x86_64/egg/vertica_python/vertica/connection.py", line 206, in read_message
raise_from(errors.ConnectionError, e)
File "/data/itsme/Python-2.7.12/lib/python2.7/site-packages/six-1.11.0-py2.7.egg/six.py", line 737, in raise_from
raise value
ConnectionError
Getting below inconsistent ConnectionError during select queries only. If run my script after some time it works without issue.
How to find the exact issue and the error message was clear?
Any help will be appreciated.
Traceback (most recent call last):
File "generator.py", line 48, in execute
target.mxm(mxm_sql)
File "/home/itsme/Target.py", line 38, in mxm
curs.execute(sql, parms)
File "build/bdist.linux-x86_64/egg/vertica_python/vertica/cursor.py", line 113, in execute
self._message = self.connection.read_message()
File "build/bdist.linux-x86_64/egg/vertica_python/vertica/connection.py", line 206, in read_message
raise_from(errors.ConnectionError, e)
File "/data/itsme/Python-2.7.12/lib/python2.7/site-packages/six-1.11.0-py2.7.egg/six.py", line 737, in raise_from
raise value
ConnectionError