Giter Club home page Giter Club logo

Comments (21)

fathah avatar fathah commented on June 20, 2024 1

At the time I didn't get much time to wait for the fix or look for bugs, I ran the authentication in Local Windows Machine (Win11). Once authentication is done, I committed the LocalAuth cache folder to my server.
Not a solution, just quick way.

.gitignore


/.wwebjs_auth/session/Default/Cache/
/.wwebjs_auth/session/Default/chrome_debug.log
/.wwebjs_auth/session/Default/File System/Origins/CURRENT
/.wwebjs_auth/session/Default/File System/Origins/LOG
/.wwebjs_auth/session/Default/File System/Origins/LOG.old
/.wwebjs_auth/session/Default/File System/000/t/Paths/LOG
/.wwebjs_auth/session/Default/File System/000/t/Paths/CURRENT
/.wwebjs_auth/session/Default/GPUCache/

from whatsapp-web.js.

patharitech avatar patharitech commented on June 20, 2024

I can see this as marked completed, can you please let me know the root cause or how to fix it. I can see the same happening for my ubuntu instance but works fine in windows env.

from whatsapp-web.js.

RAKESHSUVIDYA avatar RAKESHSUVIDYA commented on June 20, 2024

It is not still resolved. I do not know why he has closed this issues.

from whatsapp-web.js.

sanskari27 avatar sanskari27 commented on June 20, 2024

QRCode changes just after being scanned and new qr string starts with undefined.
Although it is working fine in mac and windows but it doesn't work un ubuntu environment.

Please help out with a reason or a solution if possible..

from whatsapp-web.js.

bhejosms avatar bhejosms commented on June 20, 2024

Facing same issue

Qr changes as below

QR Code IS : 2@JnJbLx6xjPhN3QiY+7ggYg/jI4BJ61CTqTbn9KgSp4y5OSjdSEfr4anjBLORSXKhe1LpXX1YJjtaEQ==,10eqtGg5dxIInWS+psdT12Rb6BEA4sjm/BIJ+6F4M1c=,0ju3FrR9fPRcosvhUaTJllY8CSi44yBJFvtiJnY5zWY=,Bl0S9ssWVRs4MJ3wErjtcWZ4+Z5aDi5AjUBE/aw+uNk=,1
/qr
QR Code IS : undefined,10eqtGg5dxIInWS+psdT12Rb6BEA4sjm/BIJ+6F4M1c=,0ju3FrR9fPRcosvhUaTJllY8CSi44yBJFvtiJnY5zWY=,Bl0S9ssWVRs4MJ3wErjtcWZ4+Z5aDi5AjUBE/aw+uNk=,1
/qr
/qr
/qr
/qr
/qr
/qr
/qr
/qr

from whatsapp-web.js.

RAKESHSUVIDYA avatar RAKESHSUVIDYA commented on June 20, 2024

this is the problem in ubuntu os

from whatsapp-web.js.

gaurav23122001 avatar gaurav23122001 commented on June 20, 2024

Hi @RAKESHSUVIDYA, how did you run your server then. Which OS did you shift to?

from whatsapp-web.js.

RAKESHSUVIDYA avatar RAKESHSUVIDYA commented on June 20, 2024

Hi @RAKESHSUVIDYA, how did you run your server then. Which OS did you shift to?

It is working fine in windows os. I have check locally in my system.

from whatsapp-web.js.

andrscyv avatar andrscyv commented on June 20, 2024

I'm getting this error

from whatsapp-web.js.

gaurav23122001 avatar gaurav23122001 commented on June 20, 2024

@RAKESHSUVIDYA Have you tried on windows server or were able to run in any other linux vps?

from whatsapp-web.js.

RAKESHSUVIDYA avatar RAKESHSUVIDYA commented on June 20, 2024

@RAKESHSUVIDYA Have you tried on windows server or were able to run in any other linux vps?

Yes I have check in other vps linux.
Issues are continue.

from whatsapp-web.js.

janke184 avatar janke184 commented on June 20, 2024

same issue here!

from whatsapp-web.js.

fathah avatar fathah commented on June 20, 2024

Do you have any updates on this issue?

It works on my Windows machine locally. But in Ubuntu, when the QR is scanned it outputs another QR response with undefined initially.

from whatsapp-web.js.

gaurav23122001 avatar gaurav23122001 commented on June 20, 2024

It works on windows machine locally but I tested on windows server 2022
It doesn't work on that too

from whatsapp-web.js.

Hasnen-mr avatar Hasnen-mr commented on June 20, 2024

Can anyone share window puppeteer code so I can check in Windows system,
I use this for ubuntu and Linux but not working in windows.

Getting error like

[0516/143043.951:INFO:CONSOLE(215)] "Another connection wants to delete database 'wawc'. Closing db now to resume the delete request.", source: https://web.whatsapp.com/serviceworker.js (215) 0|whatsapp | 2024-05-16 14:30:44 +00:00: [0516/143044.206:ERROR:simple_index_file.cc(302)] Could not create a directory to hold the index file 0|whatsapp | 2024-05-16 14:30:44 +00:00: [0516/143044.346:INFO:CONSOLE(0)] "Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'attribution-reporting'.", source: (0) 0|whatsapp | 2024-05-16 14:30:44 +00:00: [0516/143044.347:INFO:CONSOLE(0)] "Error with Permissions-Policy header: Unrecognized feature: 'battery'.", source: (0) 0|whatsapp | 2024-05-16 14:30:44 +00:00: [0516/143044.347:INFO:CONSOLE(0)] "Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'compute-pressure'.", source: (0) 0|whatsapp | 2024-05-16 14:30:44 +00:00: [0516/143044.347:INFO:CONSOLE(0)] "Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.", source: (0) 0|whatsapp | 2024-05-16 14:30:44 +00:00: [0516/143044.347:INFO:CONSOLE(0)] "Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'shared-storage'.", source: (0) 0|whatsapp | 2024-05-16 14:30:44 +00:00: [0516/143044.347:INFO:CONSOLE(0)] "Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'shared-storage-select-url'.", source: (0) 0|whatsapp | 2024-05-16 14:30:44 +00:00: [0516/143044.347:INFO:CONSOLE(0)] "Error with Permissions-Policy header: Unrecognized feature: 'usb-unrestricted'.", source: (0)

const client = new Client({
puppeteer: {
headless: true,
dumpio: true, // Enable logging
executablePath: process.env.EXECUTABLEPATH,
args: [
'--no-sandbox',
'--disable-gpu',
'--disable-setuid-sandbox',
'--disable-dev-shm-usage',
'--disable-accelerated-2d-canvas',
'--no-first-run',
'--no-zygote',
'--single-process',
],
},
webVersionCache: {
type: 'remote',
remotePath: ``,
},
qrMaxRetries: 3,
authStrategy: new RemoteAuth({
clientId: clientId,
dataPath: path.join(__dirname, '../wawebsessions', ${Math.floor(100000000000 + Math.random() * 900000000000)}),
store: new S3Store({
s3Client: new S3Client({ region, credentials:{ accessKeyId, secretAccessKey } }),
bucketName
}),
backupSyncIntervalMs: 1000 * 60 * durationInMin
// millisecond * second * minutes
})
})

from whatsapp-web.js.

andrscyv avatar andrscyv commented on June 20, 2024

Why is this closed ?

from whatsapp-web.js.

Hasnen-mr avatar Hasnen-mr commented on June 20, 2024

is this issue resolved?
why is this closed
still in Ubuntu Indian numbers are not able to scan.
can you help which windows version is required to setup Puppiter in windows?

from whatsapp-web.js.

gaurangDhameliya avatar gaurangDhameliya commented on June 20, 2024

Hello, Guys
Is there any solution for this issue?

from whatsapp-web.js.

janke184 avatar janke184 commented on June 20, 2024

Try to connect using a VPN in your phone:

You can use those applications:

https://apps.apple.com/in/app/vpn-usa-for-master-uk-proxy/id1460571281

https://play.google.com/store/apps/details?id=free.vpngermany.hotspot.unlimited.proxy.turbo.secure

Connect using a NY location.

Regards.

from whatsapp-web.js.

tobizinho avatar tobizinho commented on June 20, 2024

Pessoal, isso foi resolvido?

O erro está acontecendo no meu Linux POP OS

from whatsapp-web.js.

fathah avatar fathah commented on June 20, 2024

Any update on this issue?

from whatsapp-web.js.

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.