-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not Able to get QR code #2825
Comments
The same code on my other system worked fine on that system Environment is as below Environment
Please help me if any one have idea how to fix that |
hit tlj-jil! How did you download your Chrome version? |
So, if in the creation object of the venon instance you set the browser to open (headless: false,) you can log in. Now when you try through the terminal it doesn't open the qrcode and keeps trying to generate it. |
Deixei o headless: false e percebi que ao abrir o navegador controlado por um sistema a página do whatsapp abre mas não carrega o QRCODE, depois abri a página manualmente normal e carregou.... Não sei como resolver esse problema, acredito que seja algum bloqueio do whatsapp |
Please confirm that installing the latest version from here npm install github:orkestral/venom#master is not working. |
install with npm install github:orkestral/venom#master import venom from 'venom-bot'; SyntaxError: Cannot use import statement outside a module Node.js v18.20.5 |
Depends on your app, it should be one of these // import { create } from 'venom-bot'; |
Você resolveu o seu problema? Aqui continua o problema.... |
issue QR if use works with |
Hello everyone! I've tried several procedures to solve the QR Code issue in Venom, but I haven't been successful yet. Here are the steps I've already taken: Installed the latest version from GitHub using the following command: "npm install github:orkestral/venom#master" The installation completed successfully, but the issue still persists. Deleted the node_modules folder and the package-lock.json file. "npm install" Even so, nothing changed. |
You tried node upgrade? I upgrade to v20.18.0 in Debian. Too delete tokens folder. |
I have the same problem I need help to solve this |
what about linking the device with an 8-digit Code instead of a QR code ??? does anyone have any idea how to implement that? I use browserInstance to handle and get an 8-digit code by manually selecting the link,input field and button, this works for me but today on 18th November 2024 it's not return me the 8-digit code if anyone had any ideas please help me |
Hello everyone! I've followed all the steps I previously mentioned, but unfortunately, the QR Code issue persists. I've ensured that I'm using the latest version of Venom from the GitHub repository and have also cleaned my dependencies and reinstalled them, but the problem remains unresolved. Is there any additional procedure or specific configuration that I might be missing? Any guidance would be greatly appreciated. Thank you in advance! |
try: npm uninstall venom-bot |
uninstall venom-bot and run |
Guys, today, 11/19/2024, I managed to solve the issue... install: in code of server.js: import open from 'open'; ...
But, I wasn't able to test this option... But I'm sharing it to help In the end, I followed what Arieumarella said: |
Unfortunately, I’m still facing the issue. I ran npm uninstall venom-bot and then npm install github:orkestral/venom#master, but it didn’t resolve the problem. I noticed that in the issue linked above, the QR Code was generated but venom couldn't find the image. In my case, the QR Code isn’t even generated in the browser controlled by venom. |
@mayronraifurmr that is a very different problem.... Could you do one more test.... |
Hello, everyone OR My suggestion is to replace the QR code with an 8-digit code as a new method of WhatsApp login. |
change to translate in portuguese.
shows this: |
hey @allanalcantara I have do the same code as you provide but still not able to get Code in terminal or in base64 even i try with headless false, here i shared the screenshot of the code |
Hey @allanalcantara i use same code as you but still get the same error i use venom : "venom-bot": "github:orkestral/venom", |
Description
when I request to get the QR code and try to get QR code it's return noting even it's not log the QR code I have set logQR : true previously it's work for me and I haven't change any code on the server can you please help me on that
here is the sample code
venom
.create(
{
session: "<SESSION_ID>",
headless: true,
autoClose: 60000,
logQR: true,
debug: true,
},
(base64Qr) => {
console.log('base64Qr', base64Qr)
//
},
(statusSession, session) => {
//return isLogged || notLogged || browserClose || qrReadSuccess || qrReadFail || autocloseCalled || desconnectedMobile || deleteToken || chatsAvailable || deviceNotConnected || serverWssNotConnected || noOpenBrowser || initBrowser || openBrowser || connectBrowserWs || initWhatsapp || erroPageWhatsapp || successPageWhatsapp || waitForLogin || waitChat || successChat
// //Create session wss return "serverClose" case server for close
// console.log("Session name: ", session);
}
)
.then(async (client) => {
console.log(">>", client);
})
.catch((erro) => {
});
Environment
The text was updated successfully, but these errors were encountered: