On Fri, Jun 10, 2016 at 8:40 PM, <
cristi...@surhive.com> wrote:
> I have been trying to connect to Scylladb from Erlang using the following
> line:
>
> {:ok, client} = :cqerl.new_client({}, [{:protocol_version, 3}])
>
> but I am getting a timeout.
> I know that scylladb is running because I can connect using cqlsh.
> Is there a way to check if there are any incoming connection to the
> database? I would like to be sure that the erlang program is actually
> reaching it (although both run locally).
Three options: (1) use scyllatop and watch for the
transport.connections.* counters, (2) set "--default-log-level" to
"debug" or even "trace", or (3) use wireshark to watch the CQL traffic
to port 9042.
Btw, If you are able to share the example program and instructions how
to run it, I can also have a look at it myself.
- Pekka