KB Article #178289

kpsadmin: There was a problem determining the Topology: javax.ws.rs.ProcessingException: java.net.ConnectException: Connection refused

Problem

===========
KPS Admin
===========
Selection:

Admin Node Manager: https://jameson.wks.buch.axway.int:8090
No Group or Collection selected.
Select an option to begin.

Options:

Table Operations:
1) Create Row
2) Read Row
3) Update Row
4) Delete Row
5) List Rows

Table Administration:
10) Clear
11) Backup
12) Restore
13) Re-encrypt
14) Re-create
15) Table Details

Collection Administration:
20) Clear All
21) Backup All
22) Restore All
23) Re-encrypt All
24) Collection Details

Cassandra Administration:
30) Show Configuration

General:
40) Change Table
41) Change Collection
42) Change Group or API Gateway
43) Debug Mode ON/OFF

q) Quit

Select option: 5

Getting Topology...
Dec 08, 2016 5:46:07 PM org.glassfish.jersey.filter.LoggingFilter log
INFO: 1 * Sending client request on thread MainThread
1 > GET https://jameson.wks.buch.axway.int:8090/api/topolo...
1 > Accept: application/json


Error:
There was a problem determining the Topology: javax.ws.rs.ProcessingException: java.net.ConnectException: Connection refused
Is the admin node manager running?
Check the connection parameters.
Run kpsadmin with verbose mode turned on: i.e. kpsadmin -v



Resolution

Misconfiguration:


[m@jameson api751]$ grep 14 cassandra/cassandra/conf/cassandra.yaml
- seeds: "10.114.147.132"
listen_address: 10.114.147.132
rpc_address: localhost

SOLUTION

[m@jameson api751]$ grep 14 cassandra/cassandra/conf/cassandra.yaml
- seeds: "10.114.147.132"
listen_address: 10.114.147.132
rpc_address: 10.114.147.132

: