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] Need to skip: HTTP code 502 Bad Gateway #274

Open
ZIMkaRU opened this issue Nov 1, 2023 · 0 comments
Open

[BUG REPORT] Need to skip: HTTP code 502 Bad Gateway #274

ZIMkaRU opened this issue Nov 1, 2023 · 0 comments

Comments

@ZIMkaRU
Copy link
Member

ZIMkaRU commented Nov 1, 2023

Due to platform update, got HTTP code 502 Bad Gateway, no need to show error modal dialog

WORKER:ERROR [2023-11-01T12:33:22.290Z] PROGRESS:SYNC: Error: HTTP code 502 Bad Gateway
    at Proxy._apiError (/tmp/.mount_Bitfin1RgC6w/resources/app/bfx-reports-framework/node_modules/bfx-api-node-rest/lib/rest2.js:159:17)
    at /tmp/.mount_Bitfin1RgC6w/resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/get-rest.js:51:19
    at BfxApiRouter.route (/tmp/.mount_Bitfin1RgC6w/resources/app/bfx-reports-framework/workers/loc.api/bfx.api.router/index.js:70:14)
    at _route (/tmp/.mount_Bitfin1RgC6w/resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/get-rest.js:49:23)
    at Object.apply (/tmp/.mount_Bitfin1RgC6w/resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/get-rest.js:121:27)
    at Proxy._request (/tmp/.mount_Bitfin1RgC6w/resources/app/bfx-reports-framework/node_modules/bfx-api-node-rest/lib/rest2.js:148:26)
    at async _asyncApplyHook (/tmp/.mount_Bitfin1RgC6w/resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/get-rest.js:65:21)
    at async _asyncApplyHook (/tmp/.mount_Bitfin1RgC6w/resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/get-rest.js:65:21)
    at async _asyncApplyHook (/tmp/.mount_Bitfin1RgC6w/resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/get-rest.js:65:21)
    at async _getResAndParams (/tmp/.mount_Bitfin1RgC6w/resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/prepare-response/index.js:54:18)
    at async FrameworkReportService._prepareApiResponse (/tmp/.mount_Bitfin1RgC6w/resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/prepare-response/index.js:152:19)
    at async ApiMiddleware.request (/tmp/.mount_Bitfin1RgC6w/resources/app/bfx-reports-framework/workers/loc.api/sync/data.inserter/api.middleware/index.js:32:20)
    at async DataInserter.getDataFromApi (/tmp/.mount_Bitfin1RgC6w/resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/get-data-from-api.js:93:15)
    at async DataInserter._insertApiDataArrObjTypeToDb (/tmp/.mount_Bitfin1RgC6w/resources/app/bfx-reports-framework/workers/loc.api/sync/data.inserter/index.js:544:11)
    at async DataInserter._insertApiData (/tmp/.mount_Bitfin1RgC6w/resources/app/bfx-reports-framework/workers/loc.api/sync/data.inserter/index.js:477:7)

Debug info
Version 4.13.0
Commit Hash fd774c4
Commit Date 2023-10-18T08:37:07Z
Electron 25.8.1
Chrome 114.0.5735.289
Node.js 18.15.0
V8 11.4.183.29-electron.0
OS version Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 15 19:52:30 UTC 2023
OS release Linux x64 6.5.0-1004-oem
CPUs 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz x 8
RAM 31.04GB (19.78GB free)
App RAM limit 4095.75Mb (17.65MB used)
Is BFX API Staging used No
Main log
    at Proxy._request (/tmp/.mount_Bitfin1RgC6w/resources/app/bfx-reports-framework/node_modules/bfx-api-node-rest/lib/re
    at async _asyncApplyHook (/tmp/.mount_Bitfin1RgC6w/resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/get-rest.js:65:21)
    at async _asyncApplyHook (/tmp/.mount_Bitfin1RgC6w/resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/get-rest.js:65:21)
    at async _asyncApplyHook (/tmp/.mount_Bitfin1RgC6w/resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/get-rest.js:65:21)
    at async _getResAndParams (/tmp/.mount_Bitfin1RgC6w/resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/prepare-response/index.js:54:18)
    at async FrameworkReportService._prepareApiResponse (/tmp/.mount_Bitfin1RgC6w/resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/prepare-response/index.js:152:19)
    at async ApiMiddleware.request (/tmp/.mount_Bitfin1RgC6w/resources/app/bfx-reports-framework/workers/loc.api/sync/data.inserter/api.middleware/index.js:32:20)
    at async DataInserter.getDataFromApi (/tmp/.mount_Bitfin1RgC6w/resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/get-data-from-api.js:93:15)
    at async DataInserter._insertApiDataArrObjTypeToDb (/tmp/.mount_Bitfin1RgC6w/resources/app/bfx-reports-framework/workers/loc.api/sync/data.inserter/index.js:544:11)
    at async DataInserter._insertApiData (/tmp/.mount_Bitfin1RgC6w/resources/app/bfx-reports-framework/workers/loc.api/sync/data.inserter/index.js:477:7)
Worker errors
    at Proxy._request (/tmp/.mount_Bitf
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async _asyncApplyHook (/tmp/.mount_Bitfin1RgC6w/resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/get-rest.js:65:21)
    at async _asyncApplyHook (/tmp/.mount_Bitfin1RgC6w/resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/get-rest.js:65:21)
    at async _asyncApplyHook (/tmp/.mount_Bitfin1RgC6w/resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/get-rest.js:65:21)
    at async _getResAndParams (/tmp/.mount_Bitfin1RgC6w/resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/prepare-response/index.js:54:18)
    at async FrameworkReportService._prepareApiResponse (/tmp/.mount_Bitfin1RgC6w/resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/prepare-response/index.js:152:19)
    at async ApiMiddleware.request (/tmp/.mount_Bitfin1RgC6w/resources/app/bfx-reports-framework/workers/loc.api/sync/data.inserter/api.middleware/index.js:32:20)
    at async DataInserter.getDataFromApi (/tmp/.mount_Bitfin1RgC6w/resources/app/bfx-reports-framework/node_modules/bfx-report/workers/loc.api/helpers/get-data-from-api.js:93:15)
    at async DataInserter._insertApiDataArrObjTypeToDb (/tmp/.mount_Bitfin1RgC6w/resources/app/bfx-reports-framework/workers/loc.api/sync/data.inserter/index.js:544:11)
    at async DataInserter._insertApiData (/tmp/.mount_Bitfin1RgC6w/resources/app/bfx-reports-framework/workers/loc.api/sync/data.inserter/index.js:477:7)
Worker exceptions
Empty

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