Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

lightning-charge not answering

Abierto
#89 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
docker, javascript
Área
api, backend, devops

Línea de trabajo

Comienza con el comando de Docker proporcionado, la salida del contenedor y la solicitud curl a /info; inspecciona si lightning-charge puede acceder al socket RPC de lightningd montado y si el puerto 9112 está atendiendo. No se nombran archivos fuente ni pruebas. Se considera terminado cuando se haya identificado el fallo de compatibilidad o configuración y se haya documentado una configuración funcional compatible o una ruta de reemplazo confirmada.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

I am trying to revive some installation of nanotip.
My btc node is up and running (for years now),actual version and fully synced not pruned. It's running in a container and bitcoin-cli accessed it by a symlink opening a tempory container. works smoothly for years.

Same for the clightning-node- which is on top of BTC up and running. Actually with screen on the same machine a but synced.

Nanotip I also run via screen. it's easier to see what's going on if I reach the frontend, which is served by nginx configured as reverse proxy and equipped with some certs.

Once upon a time (2-3 years ago) it worked fine. today it is broken.

Probably because lightning-charge is not running. I cannot use nodejs because of several issues and downgrading to 7.6 is directly leading into the seventh circle of hell -- dependency hell. purgatory included for free. on the other hand starting the lightning-charge container works with

docker run -it -u 'id -u' -v 'pwd'/data:/data -v /scratch/bitcoin/mainnet/clightning:/etc/lightning -v /scratch/bitcoin/mainnet/bitcoind:/etc/bitcoin -p 9735:9735 -p 9112:9112 shesek/lightning-charge --api-token MYSUPERSECRETTOEKNALSOUSEDWITHNANOTIP

starting the container gives me the output:
`Using lightningd directory mounted in /etc/lightning... waiting for RPC unix socket...

And that it was. If I give the frontend a visit and start request, I can the it is processed by nanotip, but nanotip is not able to handle it to lightning-charge. I guess not correctly working with the actuall lightning-node. the lightning node itself I can easily reach the lightning-cli. it is responsive.

but

CHARGE=http://api-token:MYSUPERSECRETTOEKNALSOUSEDWITHNANOTIP@localhost:9112
curl $CHARGE/info

gives me
curl: (56) Recv failure: Connection reset by peer

Any ideas?
Is lightning-charge anyway outdated and should not be implemented anymore?
Is there a better entitiy which could serve a a connector between nanotip and clighting?

Lenguaje dominante
JavaScript
Estrellas
558
Forks
83
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Aún no hemos revisado los archivos de configuración de este proyecto. Empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ElementsProject/lightning-charge

Todos los issues de ElementsProject/lightning-charge

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.