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

fix: recover from panics when connecting to relay #827

Closed
wants to merge 1 commit into from

Conversation

rolznz
Copy link
Contributor

@rolznz rolznz commented Nov 26, 2024

Fixes #824

@bumi
Copy link
Contributor

bumi commented Nov 26, 2024

do you know what causes the panic?

@rolznz
Copy link
Contributor Author

rolznz commented Nov 27, 2024

The issue is that the connection is nil at https://github.com/nbd-wtf/go-nostr/blob/v0.35.0/relay.go#L180C38-L180C55 which has already been fixed in a newer version of go-nostr.

I will try to update to the latest version instead (we have some dependency issues with LND)

@rolznz rolznz marked this pull request as draft November 27, 2024 00:53
@rolznz
Copy link
Contributor Author

rolznz commented Nov 27, 2024

Closing in favor of #828

@rolznz rolznz closed this Nov 27, 2024
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

Successfully merging this pull request may close these issues.

Panic in go-nostr Relay code causes Alby Hub to ungracefully exit
2 participants