cozy / cozy-data-system

Deprecated - Data Layer for Cozy V2 Platform
https://cozy.io
GNU Affero General Public License v3.0
24 stars 21 forks source link

Server crash on `RangeError: length > kMaxLength` #185

Open clochix opened 8 years ago

clochix commented 8 years ago

The server crash a few minutes after startup with the following message:

buffer.js:194
      this.parent = new SlowBuffer(this.length);
                    ^
RangeError: length > kMaxLength
    at new Buffer (buffer.js:194:21)
    at Function.Buffer.concat (buffer.js:495:16)
    at BufferList.copy (/usr/local/cozy/apps/data-system/node_modules/request/node_modules/bl/bl.js:113:21)
    at BufferList.slice (/usr/local/cozy/apps/data-system/node_modules/request/node_modules/bl/bl.js:88:15)
    at BufferList.toString (/usr/local/cozy/apps/data-system/node_modules/request/node_modules/bl/bl.js:155:15)
    at Request.<anonymous> (/usr/local/cozy/apps/data-system/node_modules/request/request.js:1199:36)
    at Request.emit (events.js:117:20)
    at IncomingMessage.<anonymous> (/usr/local/cozy/apps/data-system/node_modules/request/request.js:1167:12)
    at IncomingMessage.emit (events.js:117:20)
    at _stream_readable.js:943:16