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

Error: ERROR: The PROTOBUF client protocol is no longer supported #6

Open
jricardovg opened this issue Feb 16, 2016 · 1 comment
Open

Comments

@jricardovg
Copy link

Guys before all thanks for this library! Seems to be really simple to use, and is really useful.

I having some issues using it,

I check my RethinkDB and is running correctly

$ nc localhost 28015 -v
found 0 associations
found 1 connections:
     1: flags=82<CONNECTED,PREFERRED>
    outif lo0
    src ::1 port 56736
    dst ::1 port 28015
    rank info not available
    TCP aux info available
Connection to localhost port 28015 [tcp/*] succeeded!
$ erl -pa ebin -pa deps/*/ebin 
Erlang/OTP 18 [erts-7.1] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]

Eshell V7.1  (abort with ^G)
1>
1>  lethink:start().
ok

2> application:set_env(lethink, timeout, 60000).
ok

3> Error: ERROR: The PROTOBUF client protocol is no longer supported
^@
** exception error: no match of right hand side value {error,{'EXIT',{{badmatch,{error,{{badmatch,{error,<<"ERROR: The PROTOBUF client protocol is no longer supported\n"...>>}},
                                                                                        [{lethink_worker,init,1,
                                                                                                         [{file,"src/lethink_worker.erl"},{line,47}]},
                                                                                         {gen_server,init_it,6,[{file,"gen_server.erl"},{line,328}]},
                                                                                         {proc_lib,init_p_do_apply,3,
                                                                                                   [{file,"proc_lib.erl"},{line,240}]}]}}},
                                                                      [{lethink_worker,start_link,2,
                                                                                       [{file,"src/lethink_worker.erl"},{line,27}]},
                                                                       {supervisor,do_start_child_i,3,
                                                                                   [{file,"supervisor.erl"},{line,359}]},
                                                                       {supervisor,handle_call,3,
                                                                                   [{file,"supervisor.erl"},{line,384}]},
                                                                       {gen_server,try_handle_call,4,
                                                                                   [{file,"gen_server.erl"},{line,629}]},
                                                                       {gen_server,handle_msg,5,
                                                                                   [{file,"gen_server.erl"},{line,661}]},
                                                                       {proc_lib,init_p_do_apply,3,
                                                                                 [{file,"proc_lib.erl"},{line,240}]}]}}}
     in function  lethink:'-add_pool/3-lc$^0/1-0-'/4 (src/lethink.erl, line 66)
     in call from lethink:add_pool/3 (src/lethink.erl, line 65)

Can be maybe my RethinkDB version ?
I'm using

$ rethinkdb -v
rethinkdb 2.2.3-1 (CLANG 7.0.2 (clang-700.1.81))

Thanks.

@jricardovg jricardovg changed the title help using lethink Error: ERROR: The PROTOBUF client protocol is no longer supported Feb 16, 2016
@taybin
Copy link
Owner

taybin commented Feb 17, 2016

This project never upgraded to the new JSON protocol format. Without that upgrade, it won't work with the latest versions of rethink server. I don't currently have time to make this change myself.

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

2 participants