Hi,
I am getting this in the tyk_gateway logs:
time=“Sep 13 06:35:41” level=info msg=“PIDFile location set to: /var/run/tyk/tyk-gateway.pid”
time=“Sep 13 06:35:41” level=info msg=“Initialising Tyk REST API Endpoints”
time=“Sep 13 06:35:41” level=info msg=“Redis connection pools are ready after number of retires” currRetry=0
time=“Sep 13 06:35:41” level=info msg=“Redis connection pools are ready”
time=“Sep 13 06:35:41” level=info msg=“–> Standard listener (http)” port=“:8080”
time=“Sep 13 06:35:41” level=info msg=“Setting up Server”
time=“Sep 13 06:35:41” level=info msg=“Registering node.”
time=“Sep 13 06:35:41” level=error msg=“Request failed with error Get http://localhost:3000/register/node: dial tcp 127.0.0.1:3000: connect: connection refused; retrying in 5s”
time=“Sep 13 06:35:43” level=warning msg=“Insecure configuration detected (allowing)!”
time=“Sep 13 06:35:46” level=error msg=“Request failed with error Get http://localhost:3000/register/node: dial tcp 127.0.0.1:3000: connect: connection refused; retrying in 5s”
Am I doing some thing wrong here?
In tyk.conf, I have:
“policies”: {
“policy_source”: “service”,
“policy_connection_string”: “http://localhost:3000”,
“policy_record_name”: “tyk_policies”,
“allow_explicit_policy_id”: true
},
“use_db_app_configs”: true,
“db_app_conf_options”: {
“connection_string”: “http://localhost:3000”,
“node_is_segmented”: false,
“tags”: [
“test”
]
},