-
Notifications
You must be signed in to change notification settings - Fork 64
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
Peer pods throwing TLS handshake errors. #18
Comments
Yes, I've seen these before. Besides clogging up the log file, is it
causing an issue? Is something not working?
…On Tue, 9 Jul 2019, 17:43 Gaurang Singh, ***@***.***> wrote:
We keep on getting below error on peer pods created in Part1.
EOF server=PeerServer remoteaddress=192.168.97.19:27001
2019-07-09 09:07:37.123 UTC [core.comm] ServerHandshake -> ERRO 3bb TLS
handshake failed with error EOF server=PeerServer remoteaddress=
192.168.191.113:31574
2019-07-09 09:07:37.252 UTC [core.comm] ServerHandshake -> ERRO 3bc TLS
handshake failed with error EOF server=PeerServer remoteaddress=
192.168.191.113:10806
2019-07-09 09:07:37.315 UTC [core.comm] ServerHandshake -> ERRO 3bd TLS
handshake failed with error EOF server=ChaincodeServer remoteaddress=
192.168.191.113:10914
2019-07-09 09:07:37.330 UTC [core.comm] ServerHandshake -> ERRO 3be TLS
handshake failed with error EOF server=PeerServer remoteaddress=
192.168.97.19:58938
2019-07-09 09:07:37.414 UTC [core.comm] ServerHandshake -> ERRO 3bf TLS
handshake failed with error EOF server=ChaincodeServer remoteaddress=
192.168.97.19:63795
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#18?email_source=notifications&email_token=AC6QOGQVFU6T566W6CT4DXDP6RMTPA5CNFSM4H7DUHPKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G6BWYPQ>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AC6QOGTBS5LV62LAODZTD7TP6RMTPANCNFSM4H7DUHPA>
.
|
If you do not strictly require TLS for your network you can avoid it by setting the If you need it, it is usually a problem with the certs generated/stored. |
@MCLDG We were trying to install our chaincode and node application and kept seeing TLS error. Saw the above issue in the peer logs. Do you think we can safely ignore this? @msolefonte Thank you so much. We are going ahead for now by shutting down all TLS but I am not sure if that is how we can go into production. Is there an alternative way to ensure encrypted communication between components? |
I ran a PoC and disabled TLS because I trusted in the underlay network security. I was using AWS and a Virtual Private Cloud, so it was not a problem for me, but you can try to achieve the same by using some plugin to Kubernetes like Istio or Linkerd. However, I have to say that Hyperledger Fabric manages certs pretty badly. Instead of auto create them by default, you have to pregenerate them and trust on each of the nodes knowing all of the other nodes pub/priv keys by sharing that private data thought EFS or NFS. Harder if you want to use more than one infrastructure. |
@msolefonte spot on. Our ETH/Quorum deployment automation took about an order of magnitude lesser time and complexity. However nothing even approaches the kind of throughput that Fabric can give (Sawtooth isn't anywhere near the required level of maturity) So we are stuck trying to make this thing work :( |
Even though I've come across this error a lot, I haven't seen it causing
any issues. In prod I wouldn't disable tls, so I suggest you continue
testing with tls enabled and confirm whether all parts of your solution
work.
|
Been there. If you want some recommendations, try to add On the other hand, If you want a production ready environment, you are going to need to modify peers and orderers to keep blockchain and configuration persistent. I did some pull request (not revised yet) about this topic. Perhaps it can help you. And excuse me for the flood. Last off-topic reply. |
@MCLDG Thanks. Will try and figure out a way to verify cert generation and storage. |
Anyone got a resolution for this error? |
update TLS cert generation cmd in scripts/start-peer.sh and scripts/start-orderer.sh |
Hi, So our orderer YAML definitions were extended with such a snippet.
We went through many issues that have similar outputs but without proper solutions, and everyone indicated TLS bad configuration - IMHO, there is a slight difference between EOF and a bad certificate returned as an error message. |
We keep on getting below error on peer pods created in Part1.
EOF server=PeerServer remoteaddress=192.168.97.19:27001
2019-07-09 09:07:37.123 UTC [core.comm] ServerHandshake -> ERRO 3bb TLS handshake failed with error EOF server=PeerServer remoteaddress=192.168.191.113:31574
2019-07-09 09:07:37.252 UTC [core.comm] ServerHandshake -> ERRO 3bc TLS handshake failed with error EOF server=PeerServer remoteaddress=192.168.191.113:10806
2019-07-09 09:07:37.315 UTC [core.comm] ServerHandshake -> ERRO 3bd TLS handshake failed with error EOF server=ChaincodeServer remoteaddress=192.168.191.113:10914
2019-07-09 09:07:37.330 UTC [core.comm] ServerHandshake -> ERRO 3be TLS handshake failed with error EOF server=PeerServer remoteaddress=192.168.97.19:58938
2019-07-09 09:07:37.414 UTC [core.comm] ServerHandshake -> ERRO 3bf TLS handshake failed with error EOF server=ChaincodeServer remoteaddress=192.168.97.19:63795
The text was updated successfully, but these errors were encountered: