Skip to content

I get the below error while trying add peer to join the channel using peer channel join -b $BLOCKFILE #16

@chandramouliraju

Description

@chandramouliraju

I get this below error

on executing

peer channel join -b $BLOCKFILE

Error: error getting endorser client for channel: endorser client failed to connect to localhost:7051: failed to create new connection: context deadline exceeded

When i checked the logs in the docker network Server TLS Handshake failed.
[core.comm] ServerHandshake -> Server TLS handshake failed in 722.3µs with error tls: first record does not look like a TLS handshake server=PeerServer remoteaddress=172.20.0.1:38764

I tried setting the PEER Address as localhost:7051, 0.0.0.0:7051, peer0.mit.certification.com:7051, 127.0.0.1:7051 and also tried the peer ip address from docker logs of peer0 pod.

All the combination fails with TLS handshake error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions