Skip to content

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

Description

@jricardovg

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.

Activity

changed the title [-]help using lethink[/-] [+]Error: ERROR: The PROTOBUF client protocol is no longer supported[/+] on Feb 16, 2016

taybin commented on Feb 17, 2016

@taybin
Owner

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

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