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] #240

Closed
one4many opened this issue Aug 15, 2023 · 3 comments
Closed

[BUG REPORT] #240

one4many opened this issue Aug 15, 2023 · 3 comments

Comments

@one4many
Copy link

Hi @ezewer and @ZIMkaRU here is the Bug report you asked for


Debug info
Version 4.9.3
Commit Hash 4ebef5a
Commit Date 2023-08-09T07:28:02Z
Electron 21.3.3
Chrome 106.0.5249.199
Node.js 16.16.0
V8 10.6.194.26-electron.0
OS version Darwin Kernel Version 22.6.0: Wed Jul 5 22:21:53 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T6020
OS release Darwin x64 22.6.0
CPUs Apple M2 Pro x 10
RAM 32GB (0.05GB free)
App RAM limit 4095.75Mb (11.78MB used)
Is BFX API Staging used No
Main log
    at BfxApiRouter.route (/Applications/Bitfinex Report.app/Contents/Resources/app/bfx
    at _route (/Applications/Bitfinex Report.app/Contents/Resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/get-rest.js:49:23)
    at Object.apply (/Applications/Bitfinex Report.app/Contents/Resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/get-rest.js:121:27)
    at Proxy._request (/Applications/Bitfinex Report.app/Contents/Resources/app/bfx-reports-framework/node_modules/bfx-api-node-rest/lib/rest2.js:148:26)
    at async _asyncApplyHook (/Applications/Bitfinex Report.app/Contents/Resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/get-rest.js:65:21)
    at async _asyncApplyHook (/Applications/Bitfinex Report.app/Contents/Resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/get-rest.js:65:21)
    at async _asyncApplyHook (/Applications/Bitfinex Report.app/Contents/Resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/get-rest.js:65:21)
    at async _getResAndParams (/Applications/Bitfinex Report.app/Contents/Resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/prepare-response/index.js:52:18)
    at async FrameworkReportService._prepareApiResponse (/Applications/Bitfinex Report.app/Contents/Resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/prepare-response/index.js:150:19)
    at async ApiMiddleware.request (/Applications/Bitfinex Report.app/Contents/Resources/app/bfx-reports-framework/workers/loc.api/sync/data.inserter/api.middleware/index.js:32:20)
    at async DataInserter.getDataFromApi (/Applications/Bitfinex Report.app/Contents/Resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/get-data-from-api.js:93:15)
    at async DataInserter._insertApiDataArrObjTypeToDb (/Applications/Bitfinex Report.app/Contents/Resources/app/bfx-reports-framework/workers/loc.api/sync/data.inserter/index.js:544:11)
    at async DataInserter._insertApiData (/Applications/Bitfinex Report.app/Contents/Resources/app/bfx-reports-framework/workers/loc.api/sync/data.inserter/index.js:461:7)
[2023-08-09 10:11:10.958] [error] (node:71554) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead
    at BfxMacUpdater.install (/Applications/Bitfinex Report.app/Contents/Resources/app/src/auto-updater/bfx.mac.updater.js:57:25)
    at async BfxMacUpdater.asyncQuitAndInstall (/Applications/Bitfinex Report.app/Contents/Resources/app/src/auto-updater/bfx.mac.updater.js:91:25)
    at async BfxMacUpdater.<anonymous> (/Applications/Bitfinex Report.app/Contents/Resources/app/src/auto-updater/index.js:454:7)
Worker errors
    at async DataInserter._insertApiData (/Applications/Bitfi
WORKER:ERROR [2023-08-09T08:10:52.366Z] PROGRESS:SYNC: Error: HTTP code 500 Internal Server Error
    at Proxy._apiError (/Applications/Bitfinex Report.app/Contents/Resources/app/bfx-reports-framework/node_modules/bfx-api-node-rest/lib/rest2.js:159:17)
    at /Applications/Bitfinex Report.app/Contents/Resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/get-rest.js:51:19
    at BfxApiRouter.route (/Applications/Bitfinex Report.app/Contents/Resources/app/bfx-reports-framework/workers/loc.api/bfx.api.router/index.js:69:14)
    at _route (/Applications/Bitfinex Report.app/Contents/Resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/get-rest.js:49:23)
    at Object.apply (/Applications/Bitfinex Report.app/Contents/Resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/get-rest.js:121:27)
    at Proxy._request (/Applications/Bitfinex Report.app/Contents/Resources/app/bfx-reports-framework/node_modules/bfx-api-node-rest/lib/rest2.js:148:26)
    at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async _asyncApplyHook (/Applications/Bitfinex Report.app/Contents/Resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/get-rest.js:65:21)
    at async _asyncApplyHook (/Applications/Bitfinex Report.app/Contents/Resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/get-rest.js:65:21)
    at async _asyncApplyHook (/Applications/Bitfinex Report.app/Contents/Resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/get-rest.js:65:21)
    at async _getResAndParams (/Applications/Bitfinex Report.app/Contents/Resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/prepare-response/index.js:52:18)
    at async FrameworkReportService._prepareApiResponse (/Applications/Bitfinex Report.app/Contents/Resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/prepare-response/index.js:150:19)
    at async ApiMiddleware.request (/Applications/Bitfinex Report.app/Contents/Resources/app/bfx-reports-framework/workers/loc.api/sync/data.inserter/api.middleware/index.js:32:20)
    at async DataInserter.getDataFromApi (/Applications/Bitfinex Report.app/Contents/Resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/get-data-from-api.js:93:15)
    at async DataInserter._insertApiDataArrObjTypeToDb (/Applications/Bitfinex Report.app/Contents/Resources/app/bfx-reports-framework/workers/loc.api/sync/data.inserter/index.js:544:11)
    at async DataInserter._insertApiData (/Applications/Bitfinex Report.app/Contents/Resources/app/bfx-reports-framework/workers/loc.api/sync/data.inserter/index.js:461:7)
Worker exceptions
Empty

The issue was opened from the electron app

@ZIMkaRU
Copy link
Member

ZIMkaRU commented Aug 15, 2023

It looks like something is stuck on the DB sync
could you try to clear all DB data and try to re-sync your account from scratch

Screenshot from 2023-08-15 14-32-39

@one4many
Copy link
Author

Hi @ZIMkaRU cleared all data. The app restartet and #241 was thrown.

This was referenced Aug 23, 2023
@ezewer
Copy link
Collaborator

ezewer commented Aug 23, 2023

@one4many last deployment fixes this issue, please let us know in case it does not.

@ezewer ezewer closed this as completed Aug 23, 2023
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

3 participants