thrift-clj
thrift-clj copied to clipboard
No protocol version header
Thanks for your great work!
I encountered a problem and not sure what is the reason. I am using :binary
protocol. It works well with Clojure server and client. But when trying with thriftpy client, it throws the error: cybin.ProtocolError: No protocol version header
.
Below is the python client code I am trying. It works with the Java thrift server, but not Clojure server with thrift-clj.
import thriftpy
from thriftpy.rpc import make_client
api_thrift = thriftpy.load("./idl/api.thrift", module_name="myapi_thrift")
api_service = make_client(api_thrift.AService, '192.168.0.2', 9011)
print api_service.ping()
This should be reported to thriftpy and not here, they should send the protocol header correctly.