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: send on closed channel #1

Open
djedu opened this issue Jan 25, 2025 · 1 comment
Open

Panic: send on closed channel #1

djedu opened this issue Jan 25, 2025 · 1 comment

Comments

@djedu
Copy link

djedu commented Jan 25, 2025

Hey!

I've started to get the following error pop up (using it via the dayz-exporter):

panic: send on closed channel goroutine 20 [running]: github.com/woozymasta/bercon-cli/pkg/bercon.(*Connection).startListening.func1() github.com/woozymasta/bercon-cli@v0.3.0/pkg/bercon/connection.go:340 +0x135 created by github.com/woozymasta/bercon-cli/pkg/bercon.(*Connection).startListening in goroutine 1 github.com/woozymasta/bercon-cli@v0.3.0/pkg/bercon/connection.go:309 +0x4f

It's only happening with one server, I have tried adjusting the timeouts with no luck, unsure if there's anything in the code that's sensitive to connection drops that may be causing this?

Thanks

@djedu
Copy link
Author

djedu commented Jan 25, 2025

Correction - This is happening to all 4 of my servers, reverting to 0.2.0 stops it from happening.

Thanks

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