title: Cassandra RangeError: Trying to access beyond buffer length
body: <p>We are using <code>CassandraDB</code> to store time series data. Everyday data needs to be inserted to <code>CassandraDB</code> from <code>nodejs</code> application. Initially it was fine, but for the last few weeks, it gives the following error frequently.</p>
  
  <pre><code>RangeError: Trying to access beyond buffer length
      at FrameReader.checkOffset (C:\WB\wb_jobserver\node_modules\cassandra-driver\lib\readers.js:119:15)
      at FrameReader.readString (C:\WB\wb_jobserver\node_modules\cassandra-driver\lib\readers.js:107:8)
      at FrameReader.readError (C:\WB\wb_jobserver\node_modules\cassandra-driver\lib\readers.js:315:22)
      at Parser.parseBody (C:\WBIS\wb_jobserver\node_modules\cassandra-driver\lib\streams.js:180:66)
      at Parser._transform (C:\WBIS\wb_jobserver\node_modules\cassandra-driver\lib\streams.js:135:10)
      at Parser.Transform._read (_stream_transform.js:167:10)
      at Parser.Transform._write (_stream_transform.js:155:12)
      at doWrite (_stream_writable.js:292:12)
      at writeOrBuffer (_stream_writable.js:278:5)
      at Parser.Writable.write (_stream_writable.js:207:11)
      at Protocol.ondata (_stream_readable.js:528:20)
  </code></pre>
  
  <p>We are using Cassandra DevCenter 1.5. other details are
  cqlsh 5.0.1 | Cassandra 3.7.0 | CQL spec 3.4.2 | Native protocol v4</p>
  
  <p>Kindly give a solution to overcome this problem</p>