itairaz1 / israeli-bank-firefly-importer

MIT License
8 stars 2 forks source link

Unexpected error while scrapping #55

Closed BenD780x9 closed 1 year ago

BenD780x9 commented 1 year ago

Trying to Scrap from Isracard and fron Hapoalim and got an Unexpected Error:

$ israeli-bank-firefly-importer
[2023-07-14 01:18:37.977] DEBUG (85112): Config file './config.yaml' loaded. [2023-07-14 01:18:37.978] INFO (85112): Starting Israeli Bank Firefly iii Importer version: "1.3.7" [2023-07-14 01:18:37.979] INFO (85112): Getting state from firefly... [2023-07-14 01:18:38.560] INFO (85112): Getting scrap data... [2023-07-14 01:18:38.563] DEBUG (85112): Scrapping... options: { "companyId": "hapoalim", "startDate": "2018-07-13T22:18:38.561Z", "args": [], "combineInstallments": false, "showBrowser": false, "outputData": { "enableTransactionsFilterByDate": false }, "additionalTransactionInformation": true } [2023-07-14 01:18:38.565] DEBUG (85112): Scrapping... options: { "companyId": "isracard", "startDate": "2018-07-13T22:18:38.562Z", "args": [], "combineInstallments": false, "showBrowser": false, "outputData": { "enableTransactionsFilterByDate": false }, "additionalTransactionInformation": true } [2023-07-14 01:18:45.829] ERROR (85112): Unexpected error while scrapping options: { "companyId": "isracard", "startDate": "2018-07-13T22:18:38.562Z", "args": [], "combineInstallments": false, "showBrowser": false, "outputData": { "enableTransactionsFilterByDate": false }, "additionalTransactionInformation": true } error: { "message": "Protocol error (Performance.enable): Target closed." } [2023-07-14 01:18:45.838] ERROR (85112): Unexpected error while scrapping options: { "companyId": "hapoalim", "startDate": "2018-07-13T22:18:38.561Z", "args": [], "combineInstallments": false, "showBrowser": false, "outputData": { "enableTransactionsFilterByDate": false }, "additionalTransactionInformation": true } error: { "message": "Protocol error (Performance.enable): Target closed." } [2023-07-14 01:18:45.839] ERROR (85112): hapoalim failed with type GENERAL_ERROR: Protocol error (Performance.enable): Target closed., isracard failed with type GENERAL_ERROR: Protocol error (Performance.enable): Target closed. [2023-07-14 01:18:45.839] DEBUG (85112): Scrap result results: [ { "success": false, "errorType": "GENERAL_ERROR", "errorMessage": "Protocol error (Performance.enable): Target closed." }, { "success": false, "errorType": "GENERAL_ERROR", "errorMessage": "Protocol error (Performance.enable): Target closed." } ] [2023-07-14 01:18:45.840] INFO (85112): Getting or creating accounts... [2023-07-14 01:18:46.278] INFO (85112): Manipulating... [2023-07-14 01:18:46.281] INFO (85112): Getting firefly transactions to compare... since: "2023-07-13" [2023-07-14 01:18:46.688] DEBUG (85112): Got transactions from firefly numberOfTransactionsFromFirefly: 0 since: "2023-07-13" [2023-07-14 01:18:46.689] INFO (85112): Creating transactions to firefly... count: 0 toCreate: [] [2023-07-14 01:18:46.689] INFO (85112): Updating transactions types to firefly... count: 0 toTypeUpdate: [] [2023-07-14 01:18:47.074] INFO (85112): Updating last import... [2023-07-14 01:18:47.451] INFO (85112): Done.

itairaz1 commented 1 year ago

Hi @BenD780x9 , This issue is coming from the scrapper (israeli-bank-scrappers), please report about this issue or look for a solution there. This is the error: Protocol error (Performance.enable): Target closed. You might need to tune scrapper settings under config.yaml:

scrapper:
  options:

Please reopen the issue if need more assistant