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

ln-gateway panic on invalid connection msg #925

Closed
dpc opened this issue Nov 17, 2022 · 0 comments · Fixed by #1021
Closed

ln-gateway panic on invalid connection msg #925

dpc opened this issue Nov 17, 2022 · 0 comments · Fixed by #1021
Labels
good first issue Good for newcomers lightning Lightning module

Comments

@dpc
Copy link
Contributor

dpc commented Nov 17, 2022

n_gateway: info;
2022-11-17T19:58:10.040Z INFO    plugin-ln_gateway: register;
thread "main" panicked at "Invalid federation connect info: Error("invalid type: floating point `127`, expected struct WsFederationConnect", line: 1, column: 5)", /home/dpc/lab/fedimint.git/main/gateway/ln-gateway/src/lib.rs:122:52
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread "tokio-runtime-worker" panicked at "Failed to send over channel: RecvError(())", gateway/ln-gateway/src/rpc.rs:38:27

I accidentally connected to ln-gateway port with a wrong command or something and caused a panic.

@dpc dpc added the lightning Lightning module label Nov 17, 2022
@okjodom okjodom added the good first issue Good for newcomers label Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers lightning Lightning module
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants