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

Panic that occurs when the application is running #552

Open
rafailovalexey opened this issue Mar 5, 2024 · 0 comments
Open

Panic that occurs when the application is running #552

rafailovalexey opened this issue Mar 5, 2024 · 0 comments

Comments

@rafailovalexey
Copy link

panic: send on closed channel

goroutine 1564917 [running]:
go.mau.fi/whatsmeow.(*Client).receiveResponse(0xc02b3c2000, 0xc07cc75380)
	go.mau.fi/whatsmeow@v0.0.0-20231104103606-23bd57d939ca/request.go:85 +0x19d
go.mau.fi/whatsmeow.(*Client).handleFrame(0xc02b3c2000, {0xc09c4d85d0, 0x2c, 0xc0a4112dd8?})
	go.mau.fi/whatsmeow@v0.0.0-20231104103606-23bd57d939ca/client.go:560 +0x27d
go.mau.fi/whatsmeow/socket.(*NoiseSocket).receiveEncryptedFrame(0xc00fbbeaf0, {0xc05a3d3403, 0x3c, 0x1fd})
	go.mau.fi/whatsmeow@v0.0.0-20231104103606-23bd57d939ca/socket/noisesocket.go:103 +0x18c
go.mau.fi/whatsmeow/socket.(*NoiseSocket).consumeFrames(0xc00fbbeaf0, {0x1160bb0?, 0xc03afc0000?}, 0xc07c772360)
	go.mau.fi/whatsmeow@v0.0.0-20231104103606-23bd57d939ca/socket/noisesocket.go:58 +0x87
created by go.mau.fi/whatsmeow/socket.newNoiseSocket
	go.mau.fi/whatsmeow@v0.0.0-20231104103606-23bd57d939ca/socket/noisesocket.go:45 +0x22c

The problem was on the first server, when moving to the second server the problem disappeared. The first server initially worked fine, but over time it started throwing this error. The second server was closer to the WhatsApp servers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant