Giter Site home page Giter Site logo

Error parsing message about py-abci HOT 5 CLOSED

davebryson avatar davebryson commented on May 27, 2024 1
Error parsing message

from py-abci.

Comments (5)

joemarct avatar joemarct commented on May 27, 2024 1

I'm getting the same errors. Reading from the discussions in other issues, it looks like this has something to do with incompatible changes in protobuf messages in the latest version of tendermint.

from py-abci.

pavlovdog avatar pavlovdog commented on May 27, 2024 1

I have the same error. Tendermint version: 0.24.0-d419fffe.

python application.py 
INFO      ABCIServer started on port: 26658
INFO      ... connection from Tendermint: 127.0.0.1:35388 ...
INFO      ... connection from Tendermint: 127.0.0.1:35390 ...
INFO      ... connection from Tendermint: 127.0.0.1:35392 ...
Traceback (most recent call last):
  File "src/gevent/greenlet.py", line 716, in gevent._greenlet.Greenlet.run
  File "/home/pavlovdog/Simple_coin/venv/lib/python3.6/site-packages/gevent/baseserver.py", line 26, in _handle_and_close_when_done
    return handle(*args_tuple)
  File "/home/pavlovdog/Simple_coin/venv/lib/python3.6/site-packages/abci/server.py", line 169, in __handle_connection
    for message in messages:
  File "/home/pavlovdog/Simple_coin/venv/lib/python3.6/site-packages/abci/encoding.py", line 59, in read_messages
    m.ParseFromString(data)
google.protobuf.message.DecodeError: Error parsing message
2018-09-14T16:05:59Z <Greenlet "Greenlet-0" at 0x7f120005a648: _handle_and_close_when_done(<bound method ABCIServer.__handle_connection of <a, <bound method StreamServer.do_close of <StreamServ, (<gevent._socket3.socket [closed]  object, fd=-1, )> failed with DecodeError

Here's my repo with the application code - https://github.com/SoftblocksCo/Simple_coin

from py-abci.

pavlovdog avatar pavlovdog commented on May 27, 2024

Looks like there were some breaking changes at 5 August - link to the Tendermint CHANGELOG.md

from py-abci.

30mb1 avatar 30mb1 commented on May 27, 2024

Fixed this in #26

from py-abci.

davebryson avatar davebryson commented on May 27, 2024

Pull request merged. Thank you @30mb1

from py-abci.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.