eshaham / israeli-bank-scrapers

Provide scrapers for all major Israeli banks and credit card companies
MIT License
572 stars 155 forks source link

Unexpected error while scrapping #799

Open BenD780x9 opened 1 year ago

BenD780x9 commented 1 year ago

Trying to Scrap from Isracard and from 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.

esakal commented 1 year ago

Hi @BenD780x9 , general error can indicate on unusual behavior of the site with your profile. Please login manually and see if you have a popup that you should click to close (usually once) or if the password is expired

baruchiro commented 8 months ago

One of my users in caspion reports that Poalim is asking for SMS verification.

BTW please update the issue's title to include "Poalim", and please edit the content by marking the log as code-block. Thanks :-)