Dolu89 / ligess

Personal Lightning address server
53 stars 13 forks source link

Client network socket disconnected before TLS (Tor) #18

Open theLockesmith opened 1 year ago

theLockesmith commented 1 year ago

I'm getting this error when I start the ligess service with yarn dev

Unable to fetch pending invoices Error: Client network socket disconnected before secure TLS connection was established
    at connResetException (node:internal/errors:717:14)
    at TLSSocket.onConnectEnd (node:_tls_wrap:1595:19)
    at TLSSocket.emit (node:events:525:35)
    at endReadableNT (node:internal/streams/readable:1359:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  code: 'ECONNRESET',
  path: undefined,
  host: undefined,
  port: undefined,
  localAddress: undefined
}

My Tor variables:

LIGESS_TOR_PROXY_URL=socks5h://[host]:[port]
LIGESS_LND_REST=https://[myhashedaddress].onion:9735

I'm hoping you can help clear up what's going wrong here.

Dolu89 commented 1 year ago

My guess is Tor address shouldn't have https but http