-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
"Error: Connection Closed" while "requestPairingCode" bug [BUG] #390
Comments
am also facing this but for me the connection gets established but whenever i try to command in a group it gives the above issue Note:- i got this issue while running it on cloud environments like Heroku, But works fine on my local pc This is what my connection options looks like:-
|
Ah! it was my skill issue it got Fixed by making |
Have you if you don't have issue so can your pairing code system source code to me |
Check my documentation |
|
does it work well?
…On Fri, 22 Sept 2023, 6:22 pm GURU, ***@***.***> wrote:
Check my documentation
https://github.com/ArrDev10/WaBot-With-PairingCode
[image: IMG_20230922_154938_836]
<https://user-images.githubusercontent.com/106463398/269908686-a7b42a98-d935-476e-987b-d4f462b7e570.png>
Nice docs brother, simple and helpful
—
Reply to this email directly, view it on GitHub
<#390 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AT3HFHSEIFX6HIZFAXBCZNDX3VRGNANCNFSM6AAAAAA45B5JJ4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Have done ? |
ya it worked too well>,< |
refer to that docs it will work |
Ah working for me I also done |
Follow may github😂 |
Oki🗿🗿 |
No I saw hisoku Baileys bot |
I got error from whatsapp. After waited like 5 miniutes, "Something went wrong, please try again later."
|
Refersh your browser or removed old session |
/ |
Browser? I start the script from the terminal section in VSCode with "yarn start". I enter the code from my phone. And of course I delete the old session. |
As far as I understand, this is the code for Pairing Code generation or in your web intersect but there is no option to enter mobile number anywhere and option to get Pairing code. Just use without web or if you can make it web based then do it |
https://i.imgur.com/BJKM0Tj.png I am not using the web part to connect WhatsApp. |
Then |
Its because the websockets instance not finishing set up to send ephemeral client hello since the constructor Your trace log should be like this in order to sucessfull
|
@Guru322 bro web based Pairing code dedo 🥺 |
@SuhailTechInfo close this issue |
Dedo yr 😭😭 |
well i solved my issue by following code !
})` |
Where to add delay? |
Error: Connection Closed
getting while using "requestPairingCode" instead of scanning qr,
Error while getting Code :
Error: Connection Closed
at sendRawMessage (/home/runner/Baileys-Qr/node_modules/@whiskeysockets/baileys/lib/Socket/socket.js:54:19)
at sendNode (/home/runner/Baileys-Qr/node_modules/@whiskeysockets/baileys/lib/Socket/socket.js:73:16)
at Object.requestPairingCode (/home/runner/Baileys-Qr/node_modules/@whiskeysockets/baileys/lib/Socket/socket.js:370:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
data: null,
isBoom: true,
isServer: false,
output: {
statusCode: 428,
payload: {
statusCode: 428,
error: 'Precondition Required',
message: 'Connection Closed'
},
headers: {}
}
}
The text was updated successfully, but these errors were encountered: