Skip to content
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

[BUG] lastDisconnect Connection Terminated #778

Open
Laminhdatau opened this issue May 11, 2024 · 14 comments
Open

[BUG] lastDisconnect Connection Terminated #778

Laminhdatau opened this issue May 11, 2024 · 14 comments
Labels
bug Something isn't working

Comments

@Laminhdatau
Copy link

the status code always displays the disconnection reason 428

{"level":30,"time":"2024-05-11T02:04:01.032Z","pid":14442,"hostname":"sadfrwrfffsd","class":"baileys","trace":"Error: Connection Terminated\n at WebSocketClient. (/home/sadfrwrfffsd/waweb/node_modules/@whiskeysockets/baileys/lib/Socket/socket.js:454:30)\n at WebSocketClient.emit (node:events:518:28)\n at WebSocketClient.emit (node:domain:488:12)\n at WebSocket. (/home/sadfrwrfffsd/waweb/node_modules/@whiskeysockets/baileys/lib/Socket/Client/web-socket-client.js:46:100)\n at WebSocket.emit (node:events:518:28)\n at WebSocket.emit (node:domain:488:12)\n at WebSocket.emitClose (/home/sadfrwrfffsd/waweb/node_modules/ws/lib/websocket.js:265:10)\n at TLSSocket.socketOnClose (/home/sadfrwrfffsd/waweb/node_modules/ws/lib/websocket.js:1289:15)\n at TLSSocket.emit (node:events:530:35)\n at TLSSocket.emit (node:domain:488:12)","msg":"connection errored"}
{
lastDisconnect: Error: Connection Terminated
at WebSocketClient. (/home/sadfrwrfffsd/waweb/node_modules/@whiskeysockets/baileys/lib/Socket/socket.js:454:30)
at WebSocketClient.emit (node:events:518:28)
at WebSocketClient.emit (node:domain:488:12)
at WebSocket. (/home/sadfrwrfffsd/waweb/node_modules/@whiskeysockets/baileys/lib/Socket/Client/web-socket-client.js:46:100)
at WebSocket.emit (node:events:518:28)
at WebSocket.emit (node:domain:488:12)
at WebSocket.emitClose (/home/sadfrwrfffsd/waweb/node_modules/ws/lib/websocket.js:265:10)
at TLSSocket.socketOnClose (/home/sadfrwrfffsd/waweb/node_modules/ws/lib/websocket.js:1289:15)
at TLSSocket.emit (node:events:530:35)
at TLSSocket.emit (node:domain:488:12) {
data: null,
isBoom: true,
isServer: false,
output: { statusCode: 428, payload: [Object], headers: {} }
}
}

@Laminhdatau Laminhdatau added the bug Something isn't working label May 11, 2024
@spacesoft321
Copy link

Same problem at my website : FastWSapi.com

@postguruji
Copy link

we facing the same issues as yesterday

@sairmali
Copy link

1+

@tuin007
Copy link

tuin007 commented May 12, 2024

Did anyone manage to solve it?

@tuin007
Copy link

tuin007 commented May 13, 2024

Does anyone have any idea how to resolve it?
I'm in Brazil, with a server in Brazil and I'm facing this problem

@mayankagar360
Copy link

Any one please can help here

@mayankagar360
Copy link

Error: Stream Errored (unknown)
at WebSocketClient. (/home/ubuntu/node_modules/@whiskeysockets/baileys/lib/Socket/socket.js:502:13)
at WebSocketClient.emit (node:events:513:28)
at /home/ubuntu/node_modules/@whiskeysockets/baileys/lib/Socket/socket.js:236:35
at Object.decodeFrame (/home/ubuntu/node_modules/@whiskeysockets/baileys/lib/Utils/noise-handler.js:136:17)
at WebSocketClient.onMessageRecieved (/home/ubuntu/node_modules/@whiskeysockets/baileys/lib/Socket/socket.js:212:15)
at WebSocketClient.emit (node:events:513:28)
at WebSocket. (/home/ubuntu/node_modules/@whiskeysockets/baileys/lib/Socket/Client/web-socket-client.js:46:100)
at WebSocket.emit (node:events:513:28)
at Receiver.receiverOnMessage (/home/ubuntu/node_modules/ws/lib/websocket.js:1209:20)
at Receiver.emit (node:events:513:28) {
data: { tag: 'stream:error', attrs: { code: '516' }, content: undefined },
isBoom: true,
isServer: true,
output: {
statusCode: 516,
payload: {
statusCode: 516,
error: 'Unknown',
message: 'Stream Errored (unknown)'
},
headers: {}
}
}

getting these while scanning and after that it is not scanning

@shanmugaacharan
Copy link

If any of one was able to resolve Error: Stream Errored (unknown)
at WebSocketClient. (/home/ubuntu/node_modules/@whiskeysockets/baileys/lib/Socket/socket.js:502:13)
at WebSocketClient.emit (node:events:513:28)
at /home/ubuntu/node_modules/@whiskeysockets/baileys/lib/Socket/socket.js:236:35
at Object.decodeFrame (/home/ubuntu/node_modules/@whiskeysockets/baileys/lib/Utils/noise-handler.js:136:17)
at WebSocketClient.onMessageRecieved (/home/ubuntu/node_modules/@whiskeysockets/baileys/lib/Socket/socket.js:212:15)
at WebSocketClient.emit (node:events:513:28)
at WebSocket. (/home/ubuntu/node_modules/@whiskeysockets/baileys/lib/Socket/Client/web-socket-client.js:46:100)
at WebSocket.emit (node:events:513:28)
at Receiver.receiverOnMessage (/home/ubuntu/node_modules/ws/lib/websocket.js:1209:20)
at Receiver.emit (node:events:513:28) {
data: { tag: 'stream:error', attrs: { code: '516' }, content: undefined },
isBoom: true,
isServer: true,
output: {
statusCode: 516,
payload: {
statusCode: 516,
error: 'Unknown',
message: 'Stream Errored (unknown)'
},
headers: {}
}
}

Please suggest me any solution to solve this error

@MaznAbdullah
Copy link

+1

1 similar comment
@tuin007
Copy link

tuin007 commented May 15, 2024

+1

@tuin007
Copy link

tuin007 commented May 15, 2024

Please suggest me any solution to solve this error

@ElielsonU
Copy link

same here.

@jonhy751
Copy link

i need solution 😭

@OKEBiling
Copy link

same, keep connect to socket ,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests