I am trying to setup Tyk dashboard and able to login to 3000 dashboard url. However I dont see the license available in active nodes. when I create any new apis it doesnt work.
gateway logs: running on 8080
sed: cannot rename /opt/tyk-gateway/sedrlFNu8: Device or resource busy
sed: cannot rename /opt/tyk-gateway/sedbpAgLa: Device or resource busy
time=“Oct 12 07:40:08” level=info msg=“Connection dropped, connecting…”
time=“Oct 12 07:40:08” level=info msg=“PIDFile location set to: /var/run/tyk-gateway.pid”
time=“Oct 12 07:40:08” level=error msg=“Instrumentation is enabled, but no connectionstring set for statsd”
time=“Oct 12 07:40:08” level=info msg=“Initialising Tyk REST API Endpoints”
time=“Oct 12 07:40:08” level=info msg=“–> Standard listener (http)”
time=“Oct 12 07:40:08” level=info msg=“Setting up Server”
time=“Oct 12 07:40:08” level=info msg=“Registering node.”
time=“Oct 12 07:40:09” level=warning msg=“Insecure configuration detected (allowing)!”
time=“Oct 12 07:40:13” level=error msg=“Request failed: Get http://tyk_dashboard:3000/register/node: net/http: request canceled (Client.Timeout exceeded while awaiting headers)”
time=“Oct 12 07:40:18” level=info msg=“Starting Poller”
time=“Oct 12 07:40:23” level=error msg=“Request failed: Get http://tyk_dashboard:3000/register/node: net/http: request canceled (Client.Timeout exceeded while awaiting headers)”
time=“Oct 12 07:40:33” level=error msg=“Request failed: Get http://tyk_dashboard:3000/register/node: net/http: request canceled (Client.Timeout exceeded while awaiting headers)”
dashboard logs:
time=“Oct 12 07:34:15” level=info msg=“Using /opt/tyk-dashboard/tyk_analytics.conf for configuration”
time=“Oct 12 07:34:19” level=info msg=“Creating new Redis connection pool”
time=“Oct 12 07:34:19” level=info msg=“Creating new Redis connection pool”
time=“Oct 12 07:34:19” level=info msg=“Creating new Redis connection pool”
time=“Oct 12 07:34:19” level=info msg=“Creating new Redis connection pool”
time=“Oct 12 07:34:19” level=info msg=“Adding available nodes…”
time=“Oct 12 07:34:19” level=info msg=“Tyk Analytics Dashboard v1.3.9”
time=“Oct 12 07:34:19” level=info msg=“Copyright Martin Buhr 2016”
time=“Oct 12 07:34:19” level=info msg=“https://www.tyk.io”
time=“Oct 12 07:34:19” level=info msg=“Listening on port: 3000”
time=“Oct 12 07:34:19” level=info msg=“Loading routes…”
time=“Oct 12 07:34:19” level=info msg=“Registering nodes…”
time=“Oct 12 07:34:19” level=info msg=“Adding available nodes…”
time=“Oct 12 07:34:19” level=info msg=“Creating new Redis connection pool”
time=“Oct 12 07:34:19” level=info msg=“Socket server started”
time=“Oct 12 07:34:19” level=info msg=“–> Standard listener (http) for UI notifications”
time=“Oct 12 07:34:19” level=info msg=“–> Standard listener (http) for dashboard and API”
time=“Oct 12 07:34:19” level=info msg=“Starting zeroconf heartbeat”
time=“Oct 12 07:34:19” level=info msg=“Starting notification handler for gateway cluster”
time=“Oct 12 07:35:06” level=warning msg=“User pasword is empty! Please reset!”
time=“Oct 12 07:35:06” level=info msg=“New user session created”
time=“Oct 12 07:35:09” level=error msg=“Current password missing”
tyk.conf:
{
“listen_port”: 8080,
“secret”: “352d20ee67be67f6340b4c0605b044b7”,
“node_secret”: “352d20ee67be67f6340b4c0605b044b7”,
“template_path”: “/opt/tyk-gateway/templates”,
“tyk_js_path”: “/opt/tyk-gateway/js/tyk.js”,
“middleware_path”: “/opt/tyk-gateway/middleware”,
“use_db_app_configs”: true,
“db_app_conf_options”: {
“connection_string”: “http://tyk_dashboard:3000”,
“node_is_segmented”: false,
“tags”: [“test2”]
},
“app_path”: “/opt/tyk-gateway/apps/”,
“storage”: {
“type”: “redis”,
“host”: “redis”,
“port”: 6379,
“username”: “”,
“password”: “”,
“database”: 0,
“optimisation_max_idle”: 100
},
“enable_analytics”: true,
“analytics_config”: {
“type”: “mongo”,
“csv_dir”: “/tmp”,
“mongo_url”: “”,
“mongo_db_name”: “”,
“mongo_collection”: “”,
“purge_delay”: -1,
“ignored_ips”: []
},
“health_check”: {
“enable_health_checks”: true,
“health_check_value_timeouts”: 60
},
“optimisations_use_async_session_write”: true,
“enable_non_transactional_rate_limiter”: true,
“enable_sentinel_rate_limiter”: false,
“allow_master_keys”: false,
“policies”: {
“policy_source”: “service”,
“policy_connection_string”: “http://tyk_dashboard:3000”,
“policy_record_name”: “tyk_policies”
},
“hash_keys”: true,
“enable_jsvm”: true,
“close_connections”: true,
“allow_insecure_configs”: true,
“coprocess_options”: {
“enable_coprocess”: false,
“coprocess_grpc_server”: “”
},
“enable_bundle_downloader”: true,
“bundle_base_url”: “”,
“global_session_lifetime”: 100,
“force_global_session_lifetime”: false,
“max_idle_connections_per_host”: 100
}
tyk_analytics.conf
{
“listen_port”: 3000,
“tyk_api_config”: {
“Host”: “http://tyk_gateway”,
“Port”: “8080”,
“Secret”: “352d20ee67be67f6340b4c0605b044b7”
},
“mongo_url”: “mongodb://mongo:27017/tyk_analytics”,
“page_size”: 10,
“admin_secret”: “12345”,
“shared_node_secret”: “352d20ee67be67f6340b4c0605b044b7”,
“redis_port”: 6379,
“redis_host”: “redis”,
“redis_password”: “”,
“enable_cluster”: false,
“force_api_defaults”: false,
“notify_on_change”: true,
“license_key”: “eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhbGxvd2VkX25vZGVzIjoiODhkMWI1MmItZjljZi00NzZjLTc3MjAtYzc0MjkwNDYwODE5IiwiZXhwIjoxNTM1NjUzNzY4LCJvd25lciI6IjU5YTcwNDA4NDVm_HVm3HKRPGDww_g208U_D2bLASHVNr5wvRZD_jnQxwvyqslfplSiTsP2mhEuVAYOcsz6JylsejT9XVVs_mATxSu4BP_yoCNLcbj0Du0iVIHjOpPg”,
“redis_database”: 0,
“redis_hosts”: null,
“hash_keys”: true,
“email_backend”: {
“enable_email_notifications”: false,
“code”: “”,
“settings”: null,
“default_from_email”: “”,
“default_from_name”: “”
},
“hide_listen_path”: false,
“sentry_code”: “”,
“sentry_js_code”: “”,
“use_sentry”: false,
“enable_master_keys”: false,
“enable_duplicate_slugs”: true,
“show_org_id”: true,
“host_config”: {
“enable_host_names”: false,
“disable_org_slug_prefix”: true,
“hostname”: “”,
“override_hostname”: “www.tyk-portal-test.com”,
“portal_domains”: {},
“portal_root_path”: “/portal”
},
“http_server_options”: {
“use_ssl”: false,
“certificates”: [
{
“domain_name”: “”,
“cert_file”: “”,
“key_file”: “”
}
],
“min_version”: 0
},
“ui”: {
“login_page”: {},
“nav”: {},
“uptime”: {},
“portal_section”: null,
“designer”: {},
“dont_show_admin_sockets”: false,
“dont_allow_license_management”: false,
“dont_allow_license_management_view”: false
},
“home_dir”: “/opt/tyk-dashboard”,
“identity_broker”: {
“enabled”: false,
“host”: {
“connection_string”: “”,
“secret”: “”
}
},
“tagging_options”: {
“tag_all_apis_by_org”: false
}
}