Difficulties starting up

Hi Tyk community,

Ive tried several times now. but i cant seem to get the Dashboard ->GW connection working. AKA I cant get Tyk to work.

I install Tyk on windows with linux docker containers following the guide. Im able to add the licence, make a user, get into the dashboard.

and then when i check Node and licence I used to get active nodes 0 but I would see 1 availible. after playing around i managed to get an error there and it doesnt show me any nodes anymore :stuck_out_tongue: .

befor i changed the configs (to Https) I also used to get connection refused from the Gateway .

when i try to connect to the GW now it also says connection refused:
curl -v http://localhost:8080/

  • Trying ::1…
  • TCP_NODELAY set
  • connect to ::1 port 8080 failed: Connection refused
  • Trying 127.0.0.1…
  • TCP_NODELAY set
  • connect to 127.0.0.1 port 8080 failed: Connection refused
  • Failed to connect to localhost port 8080: Connection refused
  • Closing connection 0
    curl: (7) Failed to connect to localhost port 8080: Connection refused

this time around its probably the certificates. where do i add trusted certificates in the GW?

These are my latest gateway loggings:
time=“Jan 16 14:55:40” level=error msg=“Policy request failed: Get https://172.18.0.6:3000/system/policies: dial tcp 172.18.0.6:3000: connect: connection refused”
time=“Jan 16 14:55:40” level=info msg=“Policies found (0 total):”
time=“Jan 16 14:55:40” level=info msg=“Loading API Specification from /opt/tyk-gateway/apps/app_sample.json”
time=“Jan 16 14:55:40” level=info msg=“Detected 1 APIs”
time=“Jan 16 14:55:40” level=info msg=“Preparing new router”
time=“Jan 16 14:55:40” level=info msg=“Initialising Tyk REST API Endpoints”
time=“Jan 16 14:55:40” level=info msg=“Loading API configurations.”
time=“Jan 16 14:55:40” level=info msg=“Tracking hostname” api_name=“Tyk Test API” domain=“(no host)”
time=“Jan 16 14:55:40” level=info msg=“Loading API” api_name=“Tyk Test API”
time=“Jan 16 14:55:40” level=info msg=“Checking security policy: Token” api_name=“Tyk Test API”
time=“Jan 16 14:55:40” level=info msg=“Processed and listening on: /tyk-api-test/{rest:.*}”
time=“Jan 16 14:55:40” level=info msg=“Loading uptime tests…”
time=“Jan 16 14:55:40” level=info msg=“Initialised API Definitions”
time=“Jan 16 14:55:40” level=info msg=“API reload complete”
time=“Jan 16 15:10:43” level=warning msg=“Insecure configuration detected (allowing)!”

Its kind of hard to follow cause i tried to solve the problem on my own and only made more problems.

Im wondering if a reinstall would work with one of you helping out so you might see what im doing wrong.

kind regards,

Jenny

Hi, can you describe your Docker setup? Are you using Docker Compose or a similar tool?

Hi Matias,

compose didnt work. so i went with this traditional install : Docker

i prefer it that way cause ill need to change configurations (https, certificates ports) eventually for my POC.

with kind regards,

Jenny