moneyman icon indicating copy to clipboard operation
moneyman copied to clipboard

Getting timeout when I run locally

Open sdimantsd opened this issue 2 years ago • 1 comments

Hi, Thanks for you'r work :-D When I run the code locally I get timeout. log below:

npm run start

> [email protected] start /home/ws/moneyman
> node dst/index.js

Parsing config
Telegram logger initialized, status and errors will be sent
Scraping started
  moneyman:main Scraping started +0ms
  moneyman:notifier
  moneyman:notifier Config:
  moneyman:notifier   Worksheet name: _moneyman
  moneyman:notifier   Start Date: 2022-11-19T14:35:27.333Z (10 days back)
  moneyman:notifier   TZ: Asia/Jerusalem
  moneyman:notifier    +0ms
  moneyman:notifier Starting... +554ms
  moneyman:data scraping 1 accounts +0ms
  moneyman:data start date 2022-11-19T14:35:27.333Z +1ms
  moneyman:data scraping account #0 (type=yahav) +0ms
  moneyman:scrape started +0ms
  moneyman:scrape [yahav] START_SCRAPING +3ms
  moneyman:scrape [yahav] INITIALIZING +1ms
  moneyman:LocalJsonStorage init +0ms

I am using wsl2. If I run the code with a docker (on different computer, but with the same .env file) it's works. Can you help me please?

sdimantsd avatar Nov 29 '22 14:11 sdimantsd

Can you add the timeout message?

daniel-hauser avatar Dec 01 '22 19:12 daniel-hauser

I don't get an timeout message, It's just freeze

sdimantsd avatar Dec 04 '22 08:12 sdimantsd

Now I get this msg:

Accounts updated:
 ❌ [yahav] GENERIC
 Navigation timeout of 30000 ms exceeded
Saved to:
 😶 None

sdimantsd avatar Dec 04 '22 16:12 sdimantsd

I don't know why it happens. You will need to dedug the israeli-banks-scrapers logs (DEBUG=israeli-banks-scrapers). You can also try running with showBrowser:true here and see how the website looks.

daniel-hauser avatar Dec 06 '22 16:12 daniel-hauser

I will appreciate if you can post the problem here if you find it

daniel-hauser avatar Dec 06 '22 16:12 daniel-hauser

I will try. Thanks

sdimantsd avatar Dec 08 '22 07:12 sdimantsd