Giter Club home page Giter Club logo

Comments (5)

joaosouz4dev avatar joaosouz4dev commented on August 27, 2024

@dmzoneill We need to create this flow of markups in the solutions git, but how did you reproduce this error?

from venom.

dmzoneill avatar dmzoneill commented on August 27, 2024

hi @JoaoSouz4

I'm looking through the puppeteer issues now for possible solutions to catch and solve the exception.

My bot is here: nothing special
https://github.com/dmzoneill/ashtangayogacork.ie-whatsbot/blob/master/bot.js

from venom.

dmzoneill avatar dmzoneill commented on August 27, 2024

puppeteer/puppeteer#1321
puppeteer/puppeteer#5975
puppeteer/puppeteer#5974
puppeteer/puppeteer#5797
puppeteer/puppeteer#4925

no real leads here with this...

  1. behavior seen with page scrolls. My bot clears the chat after each message to avoid build up. I'll modify this to do it less aggressive.
  2. chromium version, I'll attempt a different version of chromium
  3. memory issues with docker /dev/shm. I'm not using docker but i will look into memory availability. running on a headless server

dpkg --list | grep chrome
ii google-chrome-stable 83.0.4103.97-1 amd64 The web browser from Google

update here soon

cat /proc/meminfo
MemTotal: 2039696 kB
MemFree: 73320 kB
MemAvailable: 228028 kB
Buffers: 70256 kB
Cached: 324528 kB
SwapCached: 0 kB
Active: 1644068 kB
Inactive: 137904 kB
Active(anon): 1518160 kB
Inactive(anon): 6628 kB
Active(file): 125908 kB
Inactive(file): 131276 kB
Unevictable: 18456 kB
Mlocked: 18456 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 256 kB
Writeback: 0 kB
AnonPages: 1401528 kB
Mapped: 239604 kB
Shmem: 131064 kB
KReclaimable: 58364 kB
Slab: 109496 kB
SReclaimable: 58364 kB
SUnreclaim: 51132 kB
KernelStack: 8588 kB
PageTables: 16040 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 1019848 kB
Committed_AS: 5509240 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 21032 kB
VmallocChunk: 0 kB
Percpu: 808 kB
HardwareCorrupted: 0 kB
AnonHugePages: 436224 kB
ShmemHugePages: 0 kB
ShmemPmdMapped: 0 kB
FileHugePages: 0 kB
FilePmdMapped: 0 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
Hugetlb: 0 kB
DirectMap4k: 333804 kB
DirectMap2M: 1763328 kB

from venom.

dmzoneill avatar dmzoneill commented on August 27, 2024

sudo apt-get remove google-chrome*
sudo apt-get install chromium

dpkg --list | grep chromium

chromium 80.0.3987.162-1 deb10u1
chromium-common 80.0.3987.162-1 deb10u1
chromium-sandbox 80.0.3987.162-1 deb10u1

test for 24 hrs

changing to chromium may have exposed a bug

https://gist.github.com/dmzoneill/324afc034f82dbfccad334430f61d10a

updating the code
added try catch
https://github.com/dmzoneill/ashtangayogacork.ie-whatsbot/blob/ea2f33c79bfc81617ca0368e1599a9bf23df1ad3/bot.js#L189

from venom.

orkestral avatar orkestral commented on August 27, 2024

Hello, use Puppeteer 3.0 or remove the entire project and create a new one

from venom.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.