Comments (21)
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.
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.
It is not still resolved. I do not know why he has closed this issues.
from whatsapp-web.js.
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.
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.
this is the problem in ubuntu os
from whatsapp-web.js.
Hi @RAKESHSUVIDYA, how did you run your server then. Which OS did you shift to?
from whatsapp-web.js.
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.
I'm getting this error
from whatsapp-web.js.
@RAKESHSUVIDYA Have you tried on windows server or were able to run in any other linux vps?
from whatsapp-web.js.
@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.
same issue here!
from whatsapp-web.js.
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.
It works on windows machine locally but I tested on windows server 2022
It doesn't work on that too
from whatsapp-web.js.
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.
Why is this closed ?
from whatsapp-web.js.
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.
Hello, Guys
Is there any solution for this issue?
from whatsapp-web.js.
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.
Pessoal, isso foi resolvido?
O erro está acontecendo no meu Linux POP OS
from whatsapp-web.js.
Any update on this issue?
from whatsapp-web.js.
Related Issues (20)
- No longer working, what is happenning my friends? HOT 1
- const version = indexHtml.match(/manifest-([\d\\.]+)\.json/)[1]; HOT 4
- The example code is not reproducible HOT 2
- Sending message not working with new contacts HOT 1
- window.store.queryexist Exodus HOT 1
- Delete message with webpack-exodus
- Not able to scan QR code HOT 3
- Join automatic group with id HOT 1
- Both Client.isRegisteredUser and Client.getNumberId methods are throwing "Invalid WID" error HOT 2
- Chromium still open when im cancel to scan qr and destroy client
- TypeError: Cannot read properties of null (reading '1'). Issue with webCache. HOT 2
- Evaluation failed: TypeError: Cannot read properties of undefined (reading 'push') at fillModuleArray (eval at <anonymous> (:2:5), <anonymous>:6:74) at moduleRaid (eval at <anonymous> (:2:5), <anonymous>:15:3) at pptr://__puppeteer_evaluation_script__:4:17 HOT 1
- Bug on send messages
- Banned Account WhatsApp
- Error connecting device. Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'default') 0|ecco_whatsapp | at __puppeteer_evaluation_script__:5:95 HOT 3
- const version = indexHtml.match(/manifest-([\d\\.]+)\.json/)[1]; HOT 1
- issue in localwebcache.js file HOT 2
- Cannot download any image from WhatsApp Channel (newsletter) with downloadMedia
- Uncaught TypeError TypeError: Cannot read properties of null (reading '1') HOT 8
- throw new Error('Evaluation failed: ' + helper_js_1.helper.getExceptionMessage(exceptionDetails)); HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whatsapp-web.js.