Comments (22)
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.
Hello everyone & @RAKESHSUVIDYA ,
I recently faced the same issue with my setup, which has now been resolved. Here’s what happened:
Despite having the same packages and node version on Ubuntu 20.x, my setup didn't work when the VPS was located in Germany. However, after switching to a VPS located in India, everything works perfectly fine without any further changes.
It appears that the problem might be related to the remote VPS location. For those based in India, using a VPS located in
Germany (or other distant locations) might cause similar issues. If you encounter such problems, I recommend trying a VPS closer to your physical location.
I'm available for help if anyone requires just ping me on skype
from whatsapp-web.js.
Related Issues (20)
- {{~DOWNLOAD``!!}} WHATSAPP WEB , WHATSAPP BUSINESS WEB & WHATSAPP DESKTOP WA WEB ((**UPDATED!! 2024)) - CLIENT.JS PULL REQUEST
- Login using whatsapp standlone app on windows
- Feature update story
- CreateGroupError: An unknown error occupied while creating a group HOT 1
- TypeError: Cannot read properties of undefined (reading 'pupPage')
- @sparticuz/chromium support
- error after scan. TypeError: Cannot read properties of undefined (reading 'mediaStage')
- message.delete() is not working
- Client.resetState() error caused by shiftTimer HOT 1
- Send Message To Group Not Send HOT 1
- Getting remote session client is not Ready HOT 8
- Whatsapp Account Blocked because of Spam HOT 3
- getMessageById() Get Message ID(). If the message ID in the message I sent belongs to a message I sent to myself, an error occurs.
- Message not visible to sender but visible to receiver. HOT 3
- add user as new contact? HOT 2
- vote_update event HOT 3
- RemoteAuth saving an increasingly large file becoming unmaintainable in a short time HOT 3
- sendMessage with quote will raise an exception
- Evaluation failed: a at ExecutionContext._ExecutionContext_evaluate
- client.sendMessage() not working. HOT 2
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.