Hi sir @John6666 @not-lain why i am not able to connect with web.whatsapp.com
It was working some months ago.
Today i trying to make a auto reply bot but it stoped connecting.
Can you help me plzš
{ālevelā:30,ātimeā:ā2025-04-09T18:03:28.482Zā,āpidā:1,āhostnameā:ār-understanding-fix-l95q8lvf-46bf5-aagknā,āclassā:ābaileysā,ātraceā:āError: WebSocket Error (getaddrinfo ENOTFOUND web.whatsapp.com)\n at WebSocketClient. (/app/node_modules/baileys/lib/Socket/socket.js:620:17)\n at WebSocketClient.emit (node:events:524:28)\n at WebSocket. (/app/node_modules/baileys/lib/Socket/Client/websocket.js:46:100)\n at WebSocket.emit (node:events:524:28)\n at emitErrorAndClose (/app/node_modules/ws/lib/websocket.js:1041:13)\n at ClientRequest. (/app/node_modules/ws/lib/websocket.js:881:5)\n at ClientRequest.emit (node:events:524:28)\n at emitErrorEvent (node:_http_client:101:11)\n at TLSSocket.socketErrorListener (node:_http_client:504:5)\n at TLSSocket.emit (node:events:524:28)ā,āmsgā:āconnection erroredā}
Error requesting pairing code: Error: Connection Closed
at sendRawMessage (/app/node_modules/baileys/lib/Socket/socket.js:57:19)
at sendNode (/app/node_modules/baileys/lib/Socket/socket.js:76:16)
at Object.requestPairingCode (/app/node_modules/baileys/lib/Socket/socket.js:370:15)
at async Timeout._onTimeout (file:///app/auth.js:31:24) {
data: null,
isBoom: true,
isServer: false,
output: {
statusCode: 428,
payload: {
statusCode: 428,
error: āPrecondition Requiredā,
message: āConnection Closedā
},
headers: {}
}
}
1 Like
getaddrinfo ENOTFOUND
Iāve hardly done any programming related to networks, so this is just for referenceā¦
It seems that this error often occurs when name resolution fails. In other words, it could be because the DNS cannot be found due to a firewall or VPN, or because the DNS has been changed, or because the DNS you are currently using is broken. Why not try changing the DNS first?
For example, if it is being blocked intentionally, there are many cases where other errors will occur.
How can i change dns of hugging face space sir
Sirā¦you are pro subscription. Can ypu check whatsapp domain is ablonto access or not plxā¦
Because
It working 4 days ago..
===== Application Startup at 2025-04-05 06:12:26 =====
! The local project doesnāt define a āpackageManagerā field. Corepack will now add one referencing pnpm@10.7.1+sha512.2d92c86b7928dc8284f53494fb4201f983da65f0fb4f0d40baafa5cf628fa31dae3e5968f12466f17df7e97310e30f343a648baea1b9b350685dafafffdf5808.
! For more details about this field, consult the documentation at Modules: Packages | Node.js v23.11.0 Documentation
whatsapp-ping@1.0.0 dev /home/user/app
concurrently āvite-node --watch src/index.tsā ānpx tailwindcss -i ./public/input.css -o ./public/global.css --watchā
[0] server is listening on localhost:7860
[1] Browserslist: caniuse-lite is outdated. Please run:
[1] npx update-browserslist-db@latest
[1] Why you should do it regularly: GitHub - browserslist/update-db: CLI tool to update caniuse-lite to refresh target browsers from Browserslist config
[1]
[1] Rebuildingā¦
[1]
[1] Done in 225ms.
[0] {ālevelā:30,ātimeā:ā2025-04-05T06:12:38.607Zā,āpidā:32,āhostnameā:ār-understanding-whats-ngb9kg4u-e3803-uglfdā,āclassā:ābaileysā,ābrowserā:[āUbuntuā,āChromeā,ā22.04.4ā],āhelloMsgā:{āclientHelloā:{āephemeralā:ālhvxguIkkTt6POsz3e5NbUJrr178N/vxjPLJGPaRORE=ā}},āmsgā:āconnected to WAā}
1 Like
When I tried it now, I got a connection error, and then the space crashed permanently.
It may be prohibitedā¦

really of it crashed it means it prohibitedā¦thanks god..my id is save