2026-04-23 10:21:43 [[31merror[39m]: ConnectionError: Connection not yet open.
    at ConnectionPool._acquire (/var/www/html/backend/SysIP-backend/node_modules/mssql/lib/base/connection-pool.js:307:36)
    at ConnectionPool.acquire (/var/www/html/backend/SysIP-backend/node_modules/mssql/lib/base/connection-pool.js:293:56)
    at Immediate.<anonymous> (/var/www/html/backend/SysIP-backend/node_modules/mssql/lib/tedious/request.js:419:19)
    at processImmediate (node:internal/timers:466:21)
{
  "error": {
    "code": "ENOTOPEN",
    "name": "ConnectionError"
  },
  "rejection": true,
  "date": "Thu Apr 23 2026 10:21:43 GMT-0400 (Venezuela Time)",
  "process": {
    "pid": 2137459,
    "uid": 0,
    "gid": 0,
    "cwd": "/var/www/html/backend/SysIP-backend",
    "execPath": "/root/.nvm/versions/node/v16.14.2/bin/node",
    "version": "v16.14.2",
    "argv": [
      "/root/.nvm/versions/node/v16.14.2/bin/node",
      "/root/.nvm/versions/node/v16.14.2/lib/node_modules/pm2/lib/ProcessContainerFork.js"
    ],
    "memoryUsage": {
      "rss": 205414400,
      "heapTotal": 90746880,
      "heapUsed": 83781736,
      "external": 9169715,
      "arrayBuffers": 4270617
    }
  },
  "os": {
    "loadavg": [
      0.21,
      0.17,
      0.12
    ],
    "uptime": 12350980.87
  },
  "trace": [
    {
      "column": 36,
      "file": "/var/www/html/backend/SysIP-backend/node_modules/mssql/lib/base/connection-pool.js",
      "function": "ConnectionPool._acquire",
      "line": 307,
      "method": "_acquire",
      "native": false
    },
    {
      "column": 56,
      "file": "/var/www/html/backend/SysIP-backend/node_modules/mssql/lib/base/connection-pool.js",
      "function": "ConnectionPool.acquire",
      "line": 293,
      "method": "acquire",
      "native": false
    },
    {
      "column": 19,
      "file": "/var/www/html/backend/SysIP-backend/node_modules/mssql/lib/tedious/request.js",
      "function": null,
      "line": 419,
      "method": null,
      "native": false
    },
    {
      "column": 21,
      "file": "node:internal/timers",
      "function": "processImmediate",
      "line": 466,
      "method": null,
      "native": false
    }
  ],
  "service": "Sys2000"
}
2026-04-23 11:49:56 [[31merror[39m]: ConnectionError: Connection not yet open.
    at ConnectionPool._acquire (/var/www/html/backend/SysIP-backend/node_modules/mssql/lib/base/connection-pool.js:307:36)
    at ConnectionPool.acquire (/var/www/html/backend/SysIP-backend/node_modules/mssql/lib/base/connection-pool.js:293:56)
    at Immediate.<anonymous> (/var/www/html/backend/SysIP-backend/node_modules/mssql/lib/tedious/request.js:419:19)
    at processImmediate (node:internal/timers:466:21)
{
  "error": {
    "code": "ENOTOPEN",
    "name": "ConnectionError"
  },
  "rejection": true,
  "date": "Thu Apr 23 2026 11:49:56 GMT-0400 (Venezuela Time)",
  "process": {
    "pid": 2397090,
    "uid": 0,
    "gid": 0,
    "cwd": "/var/www/html/backend/SysIP-backend",
    "execPath": "/root/.nvm/versions/node/v16.14.2/bin/node",
    "version": "v16.14.2",
    "argv": [
      "/root/.nvm/versions/node/v16.14.2/bin/node",
      "/root/.nvm/versions/node/v16.14.2/lib/node_modules/pm2/lib/ProcessContainerFork.js"
    ],
    "memoryUsage": {
      "rss": 196972544,
      "heapTotal": 89960448,
      "heapUsed": 82474176,
      "external": 9508761,
      "arrayBuffers": 4281232
    }
  },
  "os": {
    "loadavg": [
      0.18,
      0.1,
      0.07
    ],
    "uptime": 12356273.77
  },
  "trace": [
    {
      "column": 36,
      "file": "/var/www/html/backend/SysIP-backend/node_modules/mssql/lib/base/connection-pool.js",
      "function": "ConnectionPool._acquire",
      "line": 307,
      "method": "_acquire",
      "native": false
    },
    {
      "column": 56,
      "file": "/var/www/html/backend/SysIP-backend/node_modules/mssql/lib/base/connection-pool.js",
      "function": "ConnectionPool.acquire",
      "line": 293,
      "method": "acquire",
      "native": false
    },
    {
      "column": 19,
      "file": "/var/www/html/backend/SysIP-backend/node_modules/mssql/lib/tedious/request.js",
      "function": null,
      "line": 419,
      "method": null,
      "native": false
    },
    {
      "column": 21,
      "file": "node:internal/timers",
      "function": "processImmediate",
      "line": 466,
      "method": null,
      "native": false
    }
  ],
  "service": "Sys2000"
}
2026-04-23 13:36:03 [[31merror[39m]: RequestError: Validation failed for parameter 'femision'. Invalid date.
    at Request.userCallback (/var/www/html/backend/SysIP-backend/node_modules/mssql/lib/tedious/request.js:811:19)
    at Request.callback (/var/www/html/backend/SysIP-backend/node_modules/mssql/node_modules/tedious/lib/request.js:205:14)
    at /var/www/html/backend/SysIP-backend/node_modules/mssql/node_modules/tedious/lib/connection.js:1982:17
    at processTicksAndRejections (node:internal/process/task_queues:78:11)
{
  "service": "Sys2000",
  "error": "Validation failed for parameter 'femision'. Invalid date.",
  "emiInput": {
    "cusuario": {
      "value": 7
    },
    "cpais": {
      "value": 58
    },
    "cestado": {},
    "cciudad": {},
    "cprog": {
      "type": {
        "length": 20
      },
      "value": "AutoToro"
    },
    "csucur": {
      "type": {
        "precision": 4
      },
      "value": 1
    },
    "iplaca": {
      "type": {
        "length": 2
      },
      "value": "N"
    },
    "xplaca": {
      "type": {
        "length": 15
      },
      "value": "AR2G06N"
    },
    "xcolor": {
      "type": {
        "length": 60
      },
      "value": "BLANCO"
    },
    "xserialmotor": {
      "type": {
        "length": 60
      },
      "value": "TR167FMMS9195920"
    },
    "xserialcarroceria": {
      "type": {
        "length": 60
      },
      "value": "81J41G1F4TG008297"
    },
    "puestos": {
      "type": {
        "precision": 4
      },
      "value": 2
    },
    "cmarca": {
      "type": {
        "length": 4
      },
      "value": "638"
    },
    "cmodelo": {
      "type": {
        "length": 4
      },
      "value": "003"
    },
    "cversion": {
      "type": {
        "length": 4
      },
      "value": "01 "
    },
    "cano": {
      "type": {
        "precision": 6
      },
      "value": 2026
    },
    "tipoV": {
      "type": {
        "precision": 4
      },
      "value": 4
    },
    "uso": {
      "type": {
        "precision": 4
      },
      "value": 20
    },
    "ctenedor": {
      "type": {
        "precision": 12
      },
      "value": 502663061
    },
    "cproductor": {
      "type": {
        "precision": 6
      },
      "value": 348
    },
    "casegurado": {
      "type": {
        "precision": 12
      },
      "value": "14552377"
    },
    "beneficiario": {
      "type": {
        "precision": 12
      },
      "value": "505363506"
    },
    "cconductor": {
      "type": {
        "precision": 12
      },
      "value": null
    },
    "cplan": {
      "type": {
        "length": 20
      },
      "value": "TOROMO"
    },
    "femision": {
      "value": ""
    },
    "fdesde": {
      "value": ""
    },
    "fhasta": {
      "value": ""
    },
    "cproces": {
      "type": {
        "precision": 20
      }
    },
    "ifrecuencia": {
      "type": {
        "length": 20
      },
      "value": "A"
    },
    "coberadicional": {
      "type": {
        "length": 2
      },
      "value": "PT"
    },
    "sumaaseg": {
      "type": {
        "precision": 12,
        "scale": 4
      },
      "value": "3870"
    },
    "sumaasegbl": {
      "type": {
        "precision": 18,
        "scale": 2
      },
      "value": 0
    },
    "sumaasegad": {
      "type": {
        "precision": 18,
        "scale": 2
      },
      "value": 0
    },
    "primagbl": {
      "type": {
        "precision": 18,
        "scale": 2
      },
      "value": 0
    },
    "primagad": {
      "type": {
        "precision": 18,
        "scale": 2
      },
      "value": 0
    },
    "tasapt": {
      "type": {
        "precision": 18,
        "scale": 2
      },
      "value": 0
    },
    "tasaca": {
      "type": {
        "precision": 18,
        "scale": 2
      },
      "value": 0
    },
    "recargo": {
      "type": {
        "precision": 18
      },
      "value": 0
    },
    "canal": {
      "type": {
        "precision": 18
      }
    },
    "toneladasAd": {
      "type": {
        "precision": 10
      },
      "value": 0
    },
    "recargoRcv": {
      "type": {
        "precision": 6
      },
      "value": 0
    },
    "ramo": {
      "type": {
        "precision": 6
      },
      "value": 18
    }
  }
}
2026-04-23 14:53:06 [[31merror[39m]: TypeError: Cannot read properties of undefined (reading 'id')
    at Object.createClient (file:///var/www/html/backend/SysIP-backend/src/service/client.js:262:71)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async createClient (file:///var/www/html/backend/SysIP-backend/src/controllers/clientController.js:90:28)
{
  "error": {},
  "rejection": true,
  "date": "Thu Apr 23 2026 14:53:06 GMT-0400 (Venezuela Time)",
  "process": {
    "pid": 2416974,
    "uid": 0,
    "gid": 0,
    "cwd": "/var/www/html/backend/SysIP-backend",
    "execPath": "/root/.nvm/versions/node/v16.14.2/bin/node",
    "version": "v16.14.2",
    "argv": [
      "/root/.nvm/versions/node/v16.14.2/bin/node",
      "/root/.nvm/versions/node/v16.14.2/lib/node_modules/pm2/lib/ProcessContainerFork.js"
    ],
    "memoryUsage": {
      "rss": 394956800,
      "heapTotal": 87076864,
      "heapUsed": 82624760,
      "external": 153999677,
      "arrayBuffers": 149155677
    }
  },
  "os": {
    "loadavg": [
      0.16,
      0.29,
      0.35
    ],
    "uptime": 12367263.77
  },
  "trace": [
    {
      "column": 71,
      "file": "file:///var/www/html/backend/SysIP-backend/src/service/client.js",
      "function": "Object.createClient",
      "line": 262,
      "method": "createClient",
      "native": false
    },
    {
      "column": null,
      "file": null,
      "function": "runMicrotasks",
      "line": null,
      "method": null,
      "native": false
    },
    {
      "column": 5,
      "file": "node:internal/process/task_queues",
      "function": "processTicksAndRejections",
      "line": 96,
      "method": null,
      "native": false
    },
    {
      "column": 28,
      "file": "file:///var/www/html/backend/SysIP-backend/src/controllers/clientController.js",
      "function": "async createClient",
      "line": 90,
      "method": null,
      "native": false
    }
  ],
  "service": "Sys2000"
}
2026-04-23 14:53:42 [[31merror[39m]: ConnectionError: Connection not yet open.
    at ConnectionPool._acquire (/var/www/html/backend/SysIP-backend/node_modules/mssql/lib/base/connection-pool.js:307:36)
    at ConnectionPool.acquire (/var/www/html/backend/SysIP-backend/node_modules/mssql/lib/base/connection-pool.js:293:56)
    at Immediate.<anonymous> (/var/www/html/backend/SysIP-backend/node_modules/mssql/lib/tedious/request.js:419:19)
    at processImmediate (node:internal/timers:466:21)
{
  "error": {
    "code": "ENOTOPEN",
    "name": "ConnectionError"
  },
  "rejection": true,
  "date": "Thu Apr 23 2026 14:53:42 GMT-0400 (Venezuela Time)",
  "process": {
    "pid": 2492902,
    "uid": 0,
    "gid": 0,
    "cwd": "/var/www/html/backend/SysIP-backend",
    "execPath": "/root/.nvm/versions/node/v16.14.2/bin/node",
    "version": "v16.14.2",
    "argv": [
      "/root/.nvm/versions/node/v16.14.2/bin/node",
      "/root/.nvm/versions/node/v16.14.2/lib/node_modules/pm2/lib/ProcessContainerFork.js"
    ],
    "memoryUsage": {
      "rss": 152195072,
      "heapTotal": 81510400,
      "heapUsed": 75937664,
      "external": 8823069,
      "arrayBuffers": 4000376
    }
  },
  "os": {
    "loadavg": [
      0.14,
      0.27,
      0.34
    ],
    "uptime": 12367299.38
  },
  "trace": [
    {
      "column": 36,
      "file": "/var/www/html/backend/SysIP-backend/node_modules/mssql/lib/base/connection-pool.js",
      "function": "ConnectionPool._acquire",
      "line": 307,
      "method": "_acquire",
      "native": false
    },
    {
      "column": 56,
      "file": "/var/www/html/backend/SysIP-backend/node_modules/mssql/lib/base/connection-pool.js",
      "function": "ConnectionPool.acquire",
      "line": 293,
      "method": "acquire",
      "native": false
    },
    {
      "column": 19,
      "file": "/var/www/html/backend/SysIP-backend/node_modules/mssql/lib/tedious/request.js",
      "function": null,
      "line": 419,
      "method": null,
      "native": false
    },
    {
      "column": 21,
      "file": "node:internal/timers",
      "function": "processImmediate",
      "line": 466,
      "method": null,
      "native": false
    }
  ],
  "service": "Sys2000"
}
2026-04-23 15:25:52 [[31merror[39m]: Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:371:5)
    at ServerResponse.setHeader (node:_http_outgoing:576:11)
    at ServerResponse.header (/var/www/html/backend/SysIP-backend/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/var/www/html/backend/SysIP-backend/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/var/www/html/backend/SysIP-backend/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/var/www/html/backend/SysIP-backend/node_modules/express/lib/response.js:162:21)
    at calculatePlanSis (file:///var/www/html/backend/SysIP-backend/src/controllers/automobile.js:255:10)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
{
  "error": {
    "code": "ERR_HTTP_HEADERS_SENT"
  },
  "rejection": true,
  "date": "Thu Apr 23 2026 15:25:52 GMT-0400 (Venezuela Time)",
  "process": {
    "pid": 2493166,
    "uid": 0,
    "gid": 0,
    "cwd": "/var/www/html/backend/SysIP-backend",
    "execPath": "/root/.nvm/versions/node/v16.14.2/bin/node",
    "version": "v16.14.2",
    "argv": [
      "/root/.nvm/versions/node/v16.14.2/bin/node",
      "/root/.nvm/versions/node/v16.14.2/lib/node_modules/pm2/lib/ProcessContainerFork.js"
    ],
    "memoryUsage": {
      "rss": 170090496,
      "heapTotal": 89960448,
      "heapUsed": 78850832,
      "external": 8961783,
      "arrayBuffers": 4091999
    }
  },
  "os": {
    "loadavg": [
      0.04,
      0.1,
      0.12
    ],
    "uptime": 12369229.61
  },
  "trace": [
    {
      "column": 5,
      "file": "node:internal/errors",
      "function": "new NodeError",
      "line": 371,
      "method": null,
      "native": false
    },
    {
      "column": 11,
      "file": "node:_http_outgoing",
      "function": "ServerResponse.setHeader",
      "line": 576,
      "method": "setHeader",
      "native": false
    },
    {
      "column": 10,
      "file": "/var/www/html/backend/SysIP-backend/node_modules/express/lib/response.js",
      "function": "ServerResponse.header",
      "line": 794,
      "method": "header",
      "native": false
    },
    {
      "column": 12,
      "file": "/var/www/html/backend/SysIP-backend/node_modules/express/lib/response.js",
      "function": "ServerResponse.send",
      "line": 174,
      "method": "send",
      "native": false
    },
    {
      "column": 15,
      "file": "/var/www/html/backend/SysIP-backend/node_modules/express/lib/response.js",
      "function": "ServerResponse.json",
      "line": 278,
      "method": "json",
      "native": false
    },
    {
      "column": 21,
      "file": "/var/www/html/backend/SysIP-backend/node_modules/express/lib/response.js",
      "function": "ServerResponse.send",
      "line": 162,
      "method": "send",
      "native": false
    },
    {
      "column": 10,
      "file": "file:///var/www/html/backend/SysIP-backend/src/controllers/automobile.js",
      "function": "calculatePlanSis",
      "line": 255,
      "method": null,
      "native": false
    },
    {
      "column": null,
      "file": null,
      "function": "runMicrotasks",
      "line": null,
      "method": null,
      "native": false
    },
    {
      "column": 5,
      "file": "node:internal/process/task_queues",
      "function": "processTicksAndRejections",
      "line": 96,
      "method": null,
      "native": false
    }
  ],
  "service": "Sys2000"
}
2026-04-23 19:22:26 [[31merror[39m]: RequestError: The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Parameter 4 ("@cci_rif"): Data type 0xE7 has an invalid data length or metadata length.
    at handleError (/var/www/html/backend/SysIP-backend/node_modules/mssql/lib/tedious/request.js:738:15)
    at Connection.emit (node:events:526:28)
    at Connection.emit (/var/www/html/backend/SysIP-backend/node_modules/mssql/node_modules/tedious/lib/connection.js:1040:18)
    at RequestTokenHandler.onErrorMessage (/var/www/html/backend/SysIP-backend/node_modules/mssql/node_modules/tedious/lib/token/handler.js:365:21)
    at Readable.<anonymous> (/var/www/html/backend/SysIP-backend/node_modules/mssql/node_modules/tedious/lib/token/token-stream-parser.js:26:33)
    at Readable.emit (node:events:526:28)
    at addChunk (node:internal/streams/readable:315:12)
    at readableAddChunk (node:internal/streams/readable:289:9)
    at Readable.push (node:internal/streams/readable:228:10)
    at next (node:internal/streams/from:98:31)
{
  "service": "Sys2000",
  "error": "The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Parameter 4 (\"@cci_rif\"): Data type 0xE7 has an invalid data length or metadata length.",
  "inputs": {
    "xcaso": "recibos",
    "iestadorec": "P",
    "itiporec": "0",
    "cci_rif": "J-       Arqueo de Caja efectuado el día 23 de ABRIL      de 2026               Opciones:                                                             1. Mostrar detalles                                            Opc    Cant.      Descripción                    Monto en bolívares   Monto total del arqueo expresado en bolívares            865.628,06   Cobrado en bolívares                                                            1    En efectivo                                     2,99             2    En Cachea ó Transferencia                 575.527,18            16    En tarjetas ó Cashea                      282.852,63    Monto Total cobrado en bolívares                        858.382,80                                                                         Cobrado en dólares a la Tasa de Cambio de        483,34  Bs./$                  1    $ en efectivo              14,99            7.245,26                  $ en cheques                0,00                0,00                  $ en tarjetas               0,00                0,00    Monto Total cobrado en $                 14,99            7.245,26    Notas de credito                                              0,00    Diferencia en bolívares                                       0,00                                                                      090083294"
  }
}
2026-04-23 19:22:26 [[31merror[39m]: Tienes un error pasable,piensa bien(lee bien tambien)
{
  "service": "Sys2000",
  "error": "The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Parameter 4 (\"@cci_rif\"): Data type 0xE7 has an invalid data length or metadata length.",
  "endpoint": "/api/v2/collection/search"
}
2026-04-23 19:51:14 [[31merror[39m]: Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:371:5)
    at ServerResponse.setHeader (node:_http_outgoing:576:11)
    at ServerResponse.header (/var/www/html/backend/SysIP-backend/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/var/www/html/backend/SysIP-backend/node_modules/express/lib/response.js:174:12)
    at ServerResponse.json (/var/www/html/backend/SysIP-backend/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/var/www/html/backend/SysIP-backend/node_modules/express/lib/response.js:162:21)
    at calculatePlanSis (file:///var/www/html/backend/SysIP-backend/src/controllers/automobile.js:255:10)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
{
  "error": {
    "code": "ERR_HTTP_HEADERS_SENT"
  },
  "rejection": true,
  "date": "Thu Apr 23 2026 19:51:14 GMT-0400 (Venezuela Time)",
  "process": {
    "pid": 2507175,
    "uid": 0,
    "gid": 0,
    "cwd": "/var/www/html/backend/SysIP-backend",
    "execPath": "/root/.nvm/versions/node/v16.14.2/bin/node",
    "version": "v16.14.2",
    "argv": [
      "/root/.nvm/versions/node/v16.14.2/bin/node",
      "/root/.nvm/versions/node/v16.14.2/lib/node_modules/pm2/lib/ProcessContainerFork.js"
    ],
    "memoryUsage": {
      "rss": 225009664,
      "heapTotal": 93892608,
      "heapUsed": 86021968,
      "external": 9811356,
      "arrayBuffers": 4993137
    }
  },
  "os": {
    "loadavg": [
      0.06,
      0.04,
      0
    ],
    "uptime": 12385151.55
  },
  "trace": [
    {
      "column": 5,
      "file": "node:internal/errors",
      "function": "new NodeError",
      "line": 371,
      "method": null,
      "native": false
    },
    {
      "column": 11,
      "file": "node:_http_outgoing",
      "function": "ServerResponse.setHeader",
      "line": 576,
      "method": "setHeader",
      "native": false
    },
    {
      "column": 10,
      "file": "/var/www/html/backend/SysIP-backend/node_modules/express/lib/response.js",
      "function": "ServerResponse.header",
      "line": 794,
      "method": "header",
      "native": false
    },
    {
      "column": 12,
      "file": "/var/www/html/backend/SysIP-backend/node_modules/express/lib/response.js",
      "function": "ServerResponse.send",
      "line": 174,
      "method": "send",
      "native": false
    },
    {
      "column": 15,
      "file": "/var/www/html/backend/SysIP-backend/node_modules/express/lib/response.js",
      "function": "ServerResponse.json",
      "line": 278,
      "method": "json",
      "native": false
    },
    {
      "column": 21,
      "file": "/var/www/html/backend/SysIP-backend/node_modules/express/lib/response.js",
      "function": "ServerResponse.send",
      "line": 162,
      "method": "send",
      "native": false
    },
    {
      "column": 10,
      "file": "file:///var/www/html/backend/SysIP-backend/src/controllers/automobile.js",
      "function": "calculatePlanSis",
      "line": 255,
      "method": null,
      "native": false
    },
    {
      "column": null,
      "file": null,
      "function": "runMicrotasks",
      "line": null,
      "method": null,
      "native": false
    },
    {
      "column": 5,
      "file": "node:internal/process/task_queues",
      "function": "processTicksAndRejections",
      "line": 96,
      "method": null,
      "native": false
    }
  ],
  "service": "Sys2000"
}
2026-04-23 21:30:41 [[31merror[39m]: TypeError: Cannot read properties of undefined (reading 'cusuario')
    at Object.createJWT (file:///var/www/html/backend/SysIP-backend/src/service/authService.js:97:24)
    at createJWTPHP (file:///var/www/html/backend/SysIP-backend/src/controllers/authController.js:317:32)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
{
  "error": {},
  "rejection": true,
  "date": "Thu Apr 23 2026 21:30:41 GMT-0400 (Venezuela Time)",
  "process": {
    "pid": 2547199,
    "uid": 0,
    "gid": 0,
    "cwd": "/var/www/html/backend/SysIP-backend",
    "execPath": "/root/.nvm/versions/node/v16.14.2/bin/node",
    "version": "v16.14.2",
    "argv": [
      "/root/.nvm/versions/node/v16.14.2/bin/node",
      "/root/.nvm/versions/node/v16.14.2/lib/node_modules/pm2/lib/ProcessContainerFork.js"
    ],
    "memoryUsage": {
      "rss": 155430912,
      "heapTotal": 86814720,
      "heapUsed": 80106648,
      "external": 9234600,
      "arrayBuffers": 4418602
    }
  },
  "os": {
    "loadavg": [
      0.09,
      0.04,
      0
    ],
    "uptime": 12391118.48
  },
  "trace": [
    {
      "column": 24,
      "file": "file:///var/www/html/backend/SysIP-backend/src/service/authService.js",
      "function": "Object.createJWT",
      "line": 97,
      "method": "createJWT",
      "native": false
    },
    {
      "column": 32,
      "file": "file:///var/www/html/backend/SysIP-backend/src/controllers/authController.js",
      "function": "createJWTPHP",
      "line": 317,
      "method": null,
      "native": false
    },
    {
      "column": null,
      "file": null,
      "function": "runMicrotasks",
      "line": null,
      "method": null,
      "native": false
    },
    {
      "column": 5,
      "file": "node:internal/process/task_queues",
      "function": "processTicksAndRejections",
      "line": 96,
      "method": null,
      "native": false
    }
  ],
  "service": "Sys2000"
}
2026-04-23 22:05:30 [[31merror[39m]: TypeError: Cannot read properties of undefined (reading 'cusuario')
    at Object.createJWT (file:///var/www/html/backend/SysIP-backend/src/service/authService.js:97:24)
    at createJWTPHP (file:///var/www/html/backend/SysIP-backend/src/controllers/authController.js:317:32)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
{
  "error": {},
  "rejection": true,
  "date": "Thu Apr 23 2026 22:05:30 GMT-0400 (Venezuela Time)",
  "process": {
    "pid": 2552802,
    "uid": 0,
    "gid": 0,
    "cwd": "/var/www/html/backend/SysIP-backend",
    "execPath": "/root/.nvm/versions/node/v16.14.2/bin/node",
    "version": "v16.14.2",
    "argv": [
      "/root/.nvm/versions/node/v16.14.2/bin/node",
      "/root/.nvm/versions/node/v16.14.2/lib/node_modules/pm2/lib/ProcessContainerFork.js"
    ],
    "memoryUsage": {
      "rss": 149913600,
      "heapTotal": 81833984,
      "heapUsed": 75293640,
      "external": 9171952,
      "arrayBuffers": 4353054
    }
  },
  "os": {
    "loadavg": [
      0.2,
      0.14,
      0.1
    ],
    "uptime": 12393207.96
  },
  "trace": [
    {
      "column": 24,
      "file": "file:///var/www/html/backend/SysIP-backend/src/service/authService.js",
      "function": "Object.createJWT",
      "line": 97,
      "method": "createJWT",
      "native": false
    },
    {
      "column": 32,
      "file": "file:///var/www/html/backend/SysIP-backend/src/controllers/authController.js",
      "function": "createJWTPHP",
      "line": 317,
      "method": null,
      "native": false
    },
    {
      "column": null,
      "file": null,
      "function": "runMicrotasks",
      "line": null,
      "method": null,
      "native": false
    },
    {
      "column": 5,
      "file": "node:internal/process/task_queues",
      "function": "processTicksAndRejections",
      "line": 96,
      "method": null,
      "native": false
    }
  ],
  "service": "Sys2000"
}
2026-04-23 22:05:39 [[31merror[39m]: TypeError: Cannot read properties of undefined (reading 'cusuario')
    at Object.createJWT (file:///var/www/html/backend/SysIP-backend/src/service/authService.js:97:24)
    at createJWTPHP (file:///var/www/html/backend/SysIP-backend/src/controllers/authController.js:317:32)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
{
  "error": {},
  "rejection": true,
  "date": "Thu Apr 23 2026 22:05:39 GMT-0400 (Venezuela Time)",
  "process": {
    "pid": 2555915,
    "uid": 0,
    "gid": 0,
    "cwd": "/var/www/html/backend/SysIP-backend",
    "execPath": "/root/.nvm/versions/node/v16.14.2/bin/node",
    "version": "v16.14.2",
    "argv": [
      "/root/.nvm/versions/node/v16.14.2/bin/node",
      "/root/.nvm/versions/node/v16.14.2/lib/node_modules/pm2/lib/ProcessContainerFork.js"
    ],
    "memoryUsage": {
      "rss": 175497216,
      "heapTotal": 110608384,
      "heapUsed": 85626328,
      "external": 13098818,
      "arrayBuffers": 4306997
    }
  },
  "os": {
    "loadavg": [
      0.27,
      0.15,
      0.1
    ],
    "uptime": 12393216.79
  },
  "trace": [
    {
      "column": 24,
      "file": "file:///var/www/html/backend/SysIP-backend/src/service/authService.js",
      "function": "Object.createJWT",
      "line": 97,
      "method": "createJWT",
      "native": false
    },
    {
      "column": 32,
      "file": "file:///var/www/html/backend/SysIP-backend/src/controllers/authController.js",
      "function": "createJWTPHP",
      "line": 317,
      "method": null,
      "native": false
    },
    {
      "column": 5,
      "file": "node:internal/process/task_queues",
      "function": "processTicksAndRejections",
      "line": 96,
      "method": null,
      "native": false
    }
  ],
  "service": "Sys2000"
}
2026-04-23 22:17:39 [[31merror[39m]: TypeError: Cannot read properties of undefined (reading 'cusuario')
    at Object.createJWT (file:///var/www/html/backend/SysIP-backend/src/service/authService.js:97:24)
    at createJWTPHP (file:///var/www/html/backend/SysIP-backend/src/controllers/authController.js:317:32)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
{
  "error": {},
  "rejection": true,
  "date": "Thu Apr 23 2026 22:17:39 GMT-0400 (Venezuela Time)",
  "process": {
    "pid": 2555946,
    "uid": 0,
    "gid": 0,
    "cwd": "/var/www/html/backend/SysIP-backend",
    "execPath": "/root/.nvm/versions/node/v16.14.2/bin/node",
    "version": "v16.14.2",
    "argv": [
      "/root/.nvm/versions/node/v16.14.2/bin/node",
      "/root/.nvm/versions/node/v16.14.2/lib/node_modules/pm2/lib/ProcessContainerFork.js"
    ],
    "memoryUsage": {
      "rss": 152600576,
      "heapTotal": 80785408,
      "heapUsed": 73764000,
      "external": 8888040,
      "arrayBuffers": 4072897
    }
  },
  "os": {
    "loadavg": [
      0.05,
      0.1,
      0.09
    ],
    "uptime": 12393936.12
  },
  "trace": [
    {
      "column": 24,
      "file": "file:///var/www/html/backend/SysIP-backend/src/service/authService.js",
      "function": "Object.createJWT",
      "line": 97,
      "method": "createJWT",
      "native": false
    },
    {
      "column": 32,
      "file": "file:///var/www/html/backend/SysIP-backend/src/controllers/authController.js",
      "function": "createJWTPHP",
      "line": 317,
      "method": null,
      "native": false
    },
    {
      "column": null,
      "file": null,
      "function": "runMicrotasks",
      "line": null,
      "method": null,
      "native": false
    },
    {
      "column": 5,
      "file": "node:internal/process/task_queues",
      "function": "processTicksAndRejections",
      "line": 96,
      "method": null,
      "native": false
    }
  ],
  "service": "Sys2000"
}
2026-04-23 22:55:39 [[31merror[39m]: ConnectionError: Connection not yet open.
    at ConnectionPool._acquire (/var/www/html/backend/SysIP-backend/node_modules/mssql/lib/base/connection-pool.js:307:36)
    at ConnectionPool.acquire (/var/www/html/backend/SysIP-backend/node_modules/mssql/lib/base/connection-pool.js:293:56)
    at Immediate.<anonymous> (/var/www/html/backend/SysIP-backend/node_modules/mssql/lib/tedious/request.js:419:19)
    at processImmediate (node:internal/timers:466:21)
{
  "error": {
    "code": "ENOTOPEN",
    "name": "ConnectionError"
  },
  "rejection": true,
  "date": "Thu Apr 23 2026 22:55:39 GMT-0400 (Venezuela Time)",
  "process": {
    "pid": 2556786,
    "uid": 0,
    "gid": 0,
    "cwd": "/var/www/html/backend/SysIP-backend",
    "execPath": "/root/.nvm/versions/node/v16.14.2/bin/node",
    "version": "v16.14.2",
    "argv": [
      "/root/.nvm/versions/node/v16.14.2/bin/node",
      "/root/.nvm/versions/node/v16.14.2/lib/node_modules/pm2/lib/ProcessContainerFork.js"
    ],
    "memoryUsage": {
      "rss": 155500544,
      "heapTotal": 85504000,
      "heapUsed": 79503952,
      "external": 9075827,
      "arrayBuffers": 4245716
    }
  },
  "os": {
    "loadavg": [
      0,
      0.02,
      0.02
    ],
    "uptime": 12396216.59
  },
  "trace": [
    {
      "column": 36,
      "file": "/var/www/html/backend/SysIP-backend/node_modules/mssql/lib/base/connection-pool.js",
      "function": "ConnectionPool._acquire",
      "line": 307,
      "method": "_acquire",
      "native": false
    },
    {
      "column": 56,
      "file": "/var/www/html/backend/SysIP-backend/node_modules/mssql/lib/base/connection-pool.js",
      "function": "ConnectionPool.acquire",
      "line": 293,
      "method": "acquire",
      "native": false
    },
    {
      "column": 19,
      "file": "/var/www/html/backend/SysIP-backend/node_modules/mssql/lib/tedious/request.js",
      "function": null,
      "line": 419,
      "method": null,
      "native": false
    },
    {
      "column": 21,
      "file": "node:internal/timers",
      "function": "processImmediate",
      "line": 466,
      "method": null,
      "native": false
    }
  ],
  "service": "Sys2000"
}
