Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG REPORT] Small error #375

Open
ezewer opened this issue May 1, 2024 · 0 comments
Open

[BUG REPORT] Small error #375

ezewer opened this issue May 1, 2024 · 0 comments

Comments

@ezewer
Copy link
Collaborator

ezewer commented May 1, 2024

An error occurred

WORKER:ERROR [2024-05-01T09:00:50.906Z] PROGRESS:SYNC:     Unprocessable Entity: ERR_ERROR_HAS_OCCURRED    
  - METHOD_NAME: getFundingTrades    
  - STATUS_CODE: 422    
  - STATUS_MESSAGE: Unprocessable Entity    
  - DATA: [
      {
        "instancePath": "/end",
        "schemaPath": "#/properties/end/type",
        "keyword": "type",
        "params": {
          "type": "integer"
        },
        "message": "must be start < end"
      }
    ]    
  - STACK_TRACE UnprocessableEntityError: Unprocessable Entity: ERR_ERROR_HAS_OCCURRED
    at module.exports (/tmp/.mount_BitfinWJ9HYE/resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/check-params.js:60:11)
    at FrameworkReportService._prepareApiResponse (/tmp/.mount_BitfinWJ9HYE/resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/prepare-response/index.js:144:3)
    at /tmp/.mount_BitfinWJ9HYE/resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/service.report.js:391:19
    at FrameworkReportService._responder (/tmp/.mount_BitfinWJ9HYE/resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/responder/index.js:316:19)
    at FrameworkReportService.getFundingTrades (/tmp/.mount_BitfinWJ9HYE/resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/service.report.js:390:17)
    at FrameworkReportService._getFundingTrades (/tmp/.mount_BitfinWJ9HYE/resources/app/bfx-reports-framework/workers/loc.api/service.report.js:31:18)
    at ApiMiddleware._requestToReportService (/tmp/.mount_BitfinWJ9HYE/resources/app/bfx-reports-framework/workers/loc.api/sync/data.inserter/api.middleware/index.js:50:12)
    at ApiMiddleware.request (/tmp/.mount_BitfinWJ9HYE/resources/app/bfx-reports-framework/workers/loc.api/sync/data.inserter/api.middleware/index.js:32:31)
    at DataInserter.getDataFromApi (/tmp/.mount_BitfinWJ9HYE/resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/get-data-from-api.js:95:21)
    at async DataInserter._insertApiDataArrObjTypeToDb (/tmp/.mount_BitfinWJ9HYE/resources/app/bfx-reports-framework/workers/loc.api/sync/data.inserter/index.js:566:11)
    at async DataInserter._insertApiData (/tmp/.mount_BitfinWJ9HYE/resources/app/bfx-reports-framework/workers/loc.api/sync/data.inserter/index.js:499:7)
    at async DataInserter._insertNewDataToDb (/tmp/.mount_BitfinWJ9HYE/resources/app/bfx-reports-framework/workers/loc.api/sync/data.inserter/index.js:398:9)
    at async DataInserter.insertNewDataToDbMultiUser (/tmp/.mount_BitfinWJ9HYE/resources/app/bfx-reports-framework/workers/loc.api/sync/data.inserter/index.js:227:11)
    at async SyncQueue._subProcess (/tmp/.mount_BitfinWJ9HYE/resources/app/bfx-reports-framework/workers/loc.api/sync/sync.queue/index.js:222:7)
    at async SyncQueue.process (/tmp/.mount_BitfinWJ9HYE/resources/app/bfx-reports-framework/workers/loc.api/sync/sync.queue/index.js:163:20)
    at async Sync._sync (/tmp/.mount_BitfinWJ9HYE/resources/app/bfx-reports-framework/workers/loc.api/sync/index.js:47:34)

Debug info
Version 4.23.0
Commit Hash bcf306e
Commit Date 2024-04-18T03:37:58Z
Electron 27.3.5
Chrome 118.0.5993.159
Node.js 18.17.1
V8 11.8.172.18-electron.0
OS version Ubuntu SMP PREEMPT_DYNAMIC Mon Jul 10 18:24:29 UTC 2023
OS release Linux x64 5.19.0-50-generic
CPUs 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz x 16
RAM 15.26GB (5.88GB free)
App RAM limit 4095.75Mb (11.45MB used)
Is BFX API Staging used No
Main log
    at async DataInserter._insertApiData (/tmp/.mount_BitfinWJ9HYE/resources/app/bfx-reports-framework/workers/loc.ap
    at async DataInserter._insertNewDataToDb (/tmp/.mount_BitfinWJ9HYE/resources/app/bfx-reports-framework/workers/loc.api/sync/data.inserter/index.js:398:9)
    at async DataInserter.insertNewDataToDbMultiUser (/tmp/.mount_BitfinWJ9HYE/resources/app/bfx-reports-framework/workers/loc.api/sync/data.inserter/index.js:227:11)
    at async SyncQueue._subProcess (/tmp/.mount_BitfinWJ9HYE/resources/app/bfx-reports-framework/workers/loc.api/sync/sync.queue/index.js:222:7)
    at async SyncQueue.process (/tmp/.mount_BitfinWJ9HYE/resources/app/bfx-reports-framework/workers/loc.api/sync/sync.queue/index.js:163:20)
    at async Sync._sync (/tmp/.mount_BitfinWJ9HYE/resources/app/bfx-reports-framework/workers/loc.api/sync/index.js:47:34)
Worker errors
    at async DataInserter._insertApiData (/tmp/.mount_BitfinWJ9HYE/resources/app/bfx-reports-framework/workers/loc.ap
    at async DataInserter._insertNewDataToDb (/tmp/.mount_BitfinWJ9HYE/resources/app/bfx-reports-framework/workers/loc.api/sync/data.inserter/index.js:398:9)
    at async DataInserter.insertNewDataToDbMultiUser (/tmp/.mount_BitfinWJ9HYE/resources/app/bfx-reports-framework/workers/loc.api/sync/data.inserter/index.js:227:11)
    at async SyncQueue._subProcess (/tmp/.mount_BitfinWJ9HYE/resources/app/bfx-reports-framework/workers/loc.api/sync/sync.queue/index.js:222:7)
    at async SyncQueue.process (/tmp/.mount_BitfinWJ9HYE/resources/app/bfx-reports-framework/workers/loc.api/sync/sync.queue/index.js:163:20)
    at async Sync._sync (/tmp/.mount_BitfinWJ9HYE/resources/app/bfx-reports-framework/workers/loc.api/sync/index.js:47:34)
Worker exceptions
    at readableAddChunk (/tmp/.mount_Bitfinia6XOS/resources/app/bfx-reports-framework/node_modules/readable-stream/lib/_st
    at Readable.push (/tmp/.mount_Bitfinia6XOS/resources/app/bfx-reports-framework/node_modules/readable-stream/lib/_stream_readable.js:228:10)
    at Transform.push (/tmp/.mount_Bitfinia6XOS/resources/app/bfx-reports-framework/node_modules/readable-stream/lib/_stream_transform.js:132:32)
    at DerivedLogger._transform (/tmp/.mount_Bitfinia6XOS/resources/app/bfx-reports-framework/node_modules/winston/lib/winston/logger.js:305:12)
    at Transform._read (/tmp/.mount_Bitfinia6XOS/resources/app/bfx-reports-framework/node_modules/readable-stream/lib/_stream_transform.js:166:10)
    at Transform._write (/tmp/.mount_Bitfinia6XOS/resources/app/bfx-reports-framework/node_modules/readable-stream/lib/_stream_transform.js:155:83)

The issue was opened from the electron app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant