Hi:
I got this error message after starting up Uchiwa. from the dashboard, I saw the error message below:
Datacenter SensuServer returned dial tcp 127.0.0.1:4567: getsockopt "connection refused"
I am running everything (Sensu server, client and api) on MacOs except Uchiwa, which runs from a docker container.
I am able to curl my Sensu sever and I see no errors from sensu-api.log sensu-server.log and sensu-client.log
curl http://127.0.0.1:4567/clients | jq .
[
** {**
"name": “hansen-sensu-client”,
"address": “127.0.0.1”,
"environment": “development”,
"subscriptions": [
****“dev”,
****“macosx-hosts”,
****“client:hansen-sensu-client”
** ],**
"socket": {
"bind": “127.0.0.1”,
"port": 3030
** },**
"version": “1.1.1”,
"timestamp": 1509584335
** },**
** {**
"name": “macosx-client”,
"address": “127.0.0.1”,
"environment": “development”,
"subscriptions": [
****“dev”,
****“macosx-hosts”,
****“client:macosx-client”
** ],**
"socket": {
"bind": “127.0.0.1”,
"port": 3030
** },**
"version": “1.1.1”,
"timestamp": 1509487939
** }**
]
You will need to use the IP of the host thats running uchiwa instead of 127.0.0.1.
Regards.
@shankerbalan
···
On 02-Nov-2017, at 6:32 AM, Hansen Ni hansen.hong.ni@gmail.com wrote:
Hi:
I got this error message after starting up Uchiwa. from the dashboard, I saw the error message below:
Datacenter SensuServer returned dial tcp 127.0.0.1:4567: getsockopt “connection refused”
I am running everything (Sensu server, client and api) on MacOs except Uchiwa, which runs from a docker container.
Hi Shanker:
This is exactly what the problem was! it works immediately after i replaced 127.0.0.1 with my actual IP address.
Thanks so much!!
Sincerely,
-Hansen
···
On Wednesday, November 1, 2017 at 10:03:38 PM UTC-7, Shanker Balan wrote:
On 02-Nov-2017, at 6:32 AM, Hansen Ni hansen....@gmail.com wrote:
Hi:
I got this error message after starting up Uchiwa. from the dashboard, I saw the error message below:
Datacenter SensuServer returned dial tcp 127.0.0.1:4567: getsockopt “connection refused”
I am running everything (Sensu server, client and api) on MacOs except Uchiwa, which runs from a docker container.
You will need to use the IP of the host thats running uchiwa instead of 127.0.0.1.
Regards.
@shankerbalan