title: OperationTimedOut: errors={}, last_host=127.0.0.1
body: <p>I am using a single node Cassandra and I intend to run some queries in order to check the response time. In some queries, after 10s of execution occurs to me the following error:</p>
  
  <pre><code>OperationTimedOut: errors = {}, last_host = 127.0.0.1
  </code></pre>
  
  <p>So I ran the following command: </p>
  
  <pre><code>sudo gedit /usr/bin/cqlsh.py
  </code></pre>
  
  <p>And changed <code>cqlsh.py</code> file:</p>
  
  <pre><code># cqlsh should run correctly when run out of a Cassandra source tree,
  # out of an unpacked Cassandra tarball, and after a proper package install.
  cqlshlibdir = os.path.join(CASSANDRA_PATH, 'pylib')
  if os.path.isdir(cqlshlibdir):
      sys.path.insert(0, cqlshlibdir)
  
  from cqlshlib import cql3handling, cqlhandling, pylexotron, sslhandling
  from cqlshlib.displaying import (ANSI_RESET, BLUE, COLUMN_NAME_COLORS, CYAN,
                                   RED, FormattedValue, colorme)
  
  from cqlshlib.formatting import (DEFAULT_DATE_FORMAT, DEFAULT_NANOTIME_FORMAT,
                                   DEFAULT_TIMESTAMP_FORMAT, DateTimeFormat,
                                   format_by_type, format_value_utype,
                                   formatter_for)
  
  from cqlshlib.tracing import print_trace, print_trace_session
  from cqlshlib.util import get_file_encoding_bomsize, trim_if_present
  
  DEFAULT_HOST = '127.0.0.1'
  DEFAULT_PORT = 9042
  DEFAULT_CQLVER = '3.3.1'
  DEFAULT_PROTOCOL_VERSION = 4
  DEFAULT_CONNECT_TIMEOUT_SECONDS = 240
  
  DEFAULT_FLOAT_PRECISION = 5
  DEFAULT_MAX_TRACE_WAIT = 300
  </code></pre>
  
  <p>However, when I try to run the query again, cql return the same error after 10s: </p>
  
  <pre><code>OperationTimedOut: errors = {}, last_host = 127.0.0.1
  </code></pre>
  
  <p>What I have to do so that the query has no answer timeout?</p>