Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: MoniaS on September 18, 2018, 04:32:29 PM



Title: Wired TLS handshake error
Post by: MoniaS on September 18, 2018, 04:32:29 PM
Hi,
Im using BTCD (https://github.com/btcsuite/btcd (https://github.com/btcsuite/btcd)).

Im connecting to the JSON-RPC with a WebSocket connection.

But I'm getting this bizarre error when I'm on a windows machine,

 http: TLS handshake error from 127.0.0.1:52627: tls: first record does not look like a TLS handshake

I looked everywhere and with no luck no a single solution, I have found a temporary workaround by using --notls flag.
The problem is that now I have to use LND and thus cannot use the --notls flag.

I have no idea what to try anymore if anyone could help I would be thrilled!
Thanks! :D


Title: Re: Wired TLS handshake error
Post by: aleksej996 on September 18, 2018, 07:42:45 PM
I can't really help you about this, since I am unfamiliar with BTCD.
But since no one is replying to you, here's a fellow recently trying to solve an issue with connecting to RPC on a computer running BTCD
https://bitcointalk.org/index.php?topic=5030154.0

He did mention something about certificates at the beginning of that topic.
If this doesn't mean anything to you, you could PM him, as he seems to know a bit or two about running BTCD and using it's RPC.