Skip to content
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

Unrecognized field "role" (class org.web3j.quorum.methods.response.raft.RaftPeer), not marked as ignorable (6 known properties: "hostname", "nodeActive", "nodeId", "raftPort", "p2pPort", "raftId"]) at [Source: (okio.RealBufferedSource$1); line: 1, column: 283] (through reference chain: org.web3j.quorum.methods.response.raft.RaftPeer["role"]) (through reference chain: org.web3j.quorum.methods.response.raft.RaftCluster["result"]) #251

Open
RockWu1108 opened this issue Apr 14, 2021 · 0 comments

Comments

@RockWu1108
Copy link

RockWu1108 commented Apr 14, 2021

System information

  1. Geth version: Geth/v1.9.7

  2. OS & Version: Linux

  3. Environment: docker

4.Error Message

Unrecognized field "role" (class org.web3j.quorum.methods.response.raft.RaftPeer), not marked as ignorable (6 known properties: "hostname", "nodeActive", "nodeId", "raftPort", "p2pPort", "raftId"]) at [Source: (okio.RealBufferedSource$1); line: 1, column: 283] (through reference chain: org.web3j.quorum.methods.response.raft.RaftPeer["role"]) (through reference chain: org.web3j.quorum.methods.response.raft.RaftCluster["result"])

  1. Java Code
public void getPeerInfo() throws IOException {
        quorum.raftGetCluster().send().getCluster().get();
    }
}

I dont know how to solve this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant