lncli-web icon indicating copy to clipboard operation
lncli-web copied to clipboard

SSL issue when running application with PM2

Open yasirrose opened this issue 6 years ago • 2 comments

I have ubuntu server and i have configured bitcoind and lnd with mainnet on it. Now i am running this application using pm2. So that i can access it through public ip.

I am running following command:

pm2 start server.js -- -l localhost:8332 -h 0.0.0.0

But now i am getting following error. I don't know. why. Can you please help me to make it work 0|server | E0421 19:06:17.434960868 21463 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number.

yasirrose avatar Apr 21 '18 11:04 yasirrose

Shoudnt you run it like this?

pm start server.js --usetls . --serverhost 0.0.0.0 --user PUT_USER_HERE --pwd USER_PWD --limituser LIMIT_USER_HERE --limitpwd LIMIT_PWD

halfik avatar Jul 23 '18 19:07 halfik

@mably You can take a look here fora problem and solution i think: https://github.com/lightningnetwork/lnd/issues/795

halfik avatar Jul 23 '18 19:07 halfik