{"action":"created","issue":{"url":"https://api.github.com/repos/PGBI/kong-dashboard/issues/42","repository_url":"https://api.github.com/repos/PGBI/kong-dashboard","labels_url":"https://api.github.com/repos/PGBI/kong-dashboard/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/PGBI/kong-dashboard/issues/42/comments","events_url":"https://api.github.com/repos/PGBI/kong-dashboard/issues/42/events","html_url":"https://github.com/PGBI/kong-dashboard/issues/42","id":151598209,"number":42,"title":"Kong node configuration error","user":{"login":"JingWZ","id":2718882,"avatar_url":"https://avatars.githubusercontent.com/u/2718882?v=3","gravatar_id":"","url":"https://api.github.com/users/JingWZ","html_url":"https://github.com/JingWZ","followers_url":"https://api.github.com/users/JingWZ/followers","following_url":"https://api.github.com/users/JingWZ/following{/other_user}","gists_url":"https://api.github.com/users/JingWZ/gists{/gist_id}","starred_url":"https://api.github.com/users/JingWZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JingWZ/subscriptions","organizations_url":"https://api.github.com/users/JingWZ/orgs","repos_url":"https://api.github.com/users/JingWZ/repos","events_url":"https://api.github.com/users/JingWZ/events{/privacy}","received_events_url":"https://api.github.com/users/JingWZ/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-28T10:03:08Z","updated_at":"2016-04-28T14:27:45Z","closed_at":null,"body":"It shows error: \"That's not a kong node\" when configuring kong node in /#/config.\r\n\r\nchecked kong is ok in restfulAPI. (with \"tagline\":\"Welcome to kong\") Is there anything missing? Please help. Thank you.\r\n\r\nkong-dashboard: v1.1.1\r\nkong: v0.8.0\r\n\r\n\r\n----- from kong 8001-----\r\n{\"timers\":{\"running\":0,\"pending\":3},\"version\":\"0.8.0\",\"configuration\":{\"send_anonymous_reports\":true,\"dns_resolver\":{\"address\":\"127.0.0.1:8053\",\"dnsmasq\":true,\"port\":8053},\"postgres\":{\"host\":\"127.0.0.1\",\"database\":\"kong\",\"user\":\"kong\",\"port\":5432},\"cluster_listen\":\"0.0.0.0:7946\",\"cluster\":{\"auto-join\":true,\"profile\":\"wan\",\"ttl_on_failure\":3600},\"proxy_listen\":\"0.0.0.0:8000\",\"nginx\":\"{{user}}\\nworker_processes auto;\\nerror_log logs\\/error.log error;\\ndaemon on;\\n\\nworker_rlimit_nofile {{auto_worker_rlimit_nofile}};\\n\\nenv KONG_CONF;\\nenv PATH;\\n\\nevents {\\n  worker_connections {{auto_worker_connections}};\\n  multi_accept on;\\n}\\n\\nhttp {\\n  resolver {{dns_resolver}} ipv6=off;\\n  charset UTF-8;\\n\\n  access_log logs\\/access.log;\\n  access_log off;\\n\\n  # Timeouts\\n  keepalive_timeout 60s;\\n  client_header_timeout 60s;\\n  client_body_timeout 60s;\\n  send_timeout 60s;\\n\\n  # Proxy Settings\\n  proxy_buffer_size 128k;\\n  proxy_buffers 4 256k;\\n  proxy_busy_buffers_size 256k;\\n  proxy_ssl_server_name on;\\n\\n  # IP Address\\n  real_ip_header X-Forwarded-For;\\n  set_real_ip_from 0.0.0.0\\/0;\\n  real_ip_recursive on;\\n\\n  # Other Settings\\n  client_max_body_size 0;\\n  underscores_in_headers on;\\n  reset_timedout_connection on;\\n  tcp_nopush on;\\n\\n  ################################################\\n  #  The following code is required to run Kong  #\\n  # Please be careful if you'd like to change it #\\n  ################################################\\n\\n  # Lua Settings\\n  lua_package_path ';;';\\n  lua_code_cache on;\\n  lua_max_running_timers 4096;\\n  lua_max_pending_timers 16384;\\n  lua_shared_dict reports_locks 100k;\\n  lua_shared_dict cluster_locks 100k;\\n  lua_shared_dict cluster_autojoin_locks 100k;\\n  lua_shared_dict cache {{memory_cache_size}}m;\\n  lua_shared_dict cassandra 1m;\\n  lua_shared_dict cassandra_prepared 5m;\\n  lua_socket_log_errors off;\\n  {{lua_ssl_trusted_certificate}}\\n\\n  init_by_lua_block {\\n    kong = require \\\"kong\\\"\\n    kong.init()\\n  }\\n\\n  init_worker_by_lua_block {\\n    kong.init_worker()\\n  }\\n\\n  server {\\n    server_name _;\\n    listen {{proxy_listen}};\\n    listen {{proxy_listen_ssl}} ssl;\\n\\n    ssl_certificate_by_lua_block {\\n      kong.ssl_certificate()\\n    }\\n\\n    ssl_certificate {{ssl_cert}};\\n    ssl_certificate_key {{ssl_key}};\\n    ssl_protocols TLSv1 TLSv1.1 TLSv1.2;# omit SSLv3 because of POODLE (CVE-2014-3566)\\n\\n    location \\/ {\\n      default_type 'text\\/plain';\\n\\n      # These properties will be used later by proxy_pass\\n      set $upstream_host nil;\\n      set $upstream_url nil;\\n\\n      # Authenticate the user and load the API info\\n      access_by_lua_block {\\n        kong.access()\\n      }\\n\\n      # Proxy the request\\n      proxy_set_header X-Real-IP $remote_addr;\\n      proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\\n      proxy_set_header X-Forwarded-Proto $scheme;\\n      proxy_set_header Host $upstream_host;\\n      proxy_pass $upstream_url;\\n      proxy_pass_header Server;\\n\\n      # Add additional response headers\\n      header_filter_by_lua_block {\\n        kong.header_filter()\\n      }\\n\\n      # Change the response body\\n      body_filter_by_lua_block {\\n        kong.body_filter()\\n      }\\n\\n      # Log the request\\n      log_by_lua_block {\\n        kong.log()\\n      }\\n    }\\n\\n    location \\/robots.txt {\\n      return 200 'User-agent: *\\\\nDisallow: \\/';\\n    }\\n\\n    error_page 500 502 503 504 \\/50x;\\n\\n    location = \\/50x {\\n      internal;\\n      content_by_lua_block {\\n        require(\\\"kong.core.error_handlers\\\")(ngx)\\n      }\\n    }\\n  }\\n\\n  server {\\n    listen {{admin_api_listen}};\\n\\n    client_max_body_size 10m;\\n    client_body_buffer_size 10m;\\n\\n    location \\/ {\\n      default_type application\\/json;\\n      content_by_lua_block {\\n        ngx.header[\\\"Access-Control-Allow-Origin\\\"] = \\\"*\\\"\\n        if ngx.req.get_method() == \\\"OPTIONS\\\" then\\n          ngx.header[\\\"Access-Control-Allow-Methods\\\"] = \\\"GET,HEAD,PUT,PATCH,POST,DELETE\\\"\\n          ngx.header[\\\"Access-Control-Allow-Headers\\\"] = \\\"Content-Type\\\"\\n          ngx.exit(204)\\n        end\\n        local lapis = require \\\"lapis\\\"\\n        lapis.serve \\\"kong.api.app\\\"\\n      }\\n    }\\n\\n    location \\/nginx_status {\\n      internal;\\n      access_log off;\\n      stub_status;\\n    }\\n\\n    location \\/robots.txt {\\n      return 200 'User-agent: *\\\\nDisallow: \\/';\\n    }\\n  }\\n}\\n\",\"custom_plugins\":{},\"proxy_listen_ssl\":\"0.0.0.0:8443\",\"dns_resolvers_available\":{\"server\":{\"address\":\"8.8.8.8\"},\"dnsmasq\":{\"port\":8053}},\"dao_config\":{\"contact_points\":[\"127.0.0.1:9042\"],\"data_centers\":{},\"ssl\":{\"verify\":false,\"enabled\":false},\"port\":9042,\"timeout\":5000,\"replication_strategy\":\"SimpleStrategy\",\"keyspace\":\"kong\",\"replication_factor\":1,\"consistency\":\"ONE\"},\"nginx_working_dir\":\"\\/usr\\/local\\/kong\",\"admin_api_listen\":\"0.0.0.0:8001\",\"plugins\":[\"ssl\",\"jwt\",\"acl\",\"correlation-id\",\"cors\",\"oauth2\",\"tcp-log\",\"udp-log\",\"file-log\",\"http-log\",\"key-auth\",\"hmac-auth\",\"basic-auth\",\"ip-restriction\",\"mashape-analytics\",\"request-transformer\",\"response-transformer\",\"request-size-limiting\",\"rate-limiting\",\"response-ratelimiting\",\"syslog\",\"loggly\",\"datadog\",\"runscope\",\"ldap-auth\",\"statsd\"],\"pid_file\":\"\\/usr\\/local\\/kong\",\"cassandra\":{\"contact_points\":[\"127.0.0.1:9042\"],\"data_centers\":{},\"ssl\":{\"verify\":false,\"enabled\":false},\"port\":9042,\"timeout\":5000,\"replication_strategy\":\"SimpleStrategy\",\"keyspace\":\"kong\",\"replication_factor\":1,\"consistency\":\"ONE\"},\"database\":\"cassandra\",\"memory_cache_size\":128,\"cluster_listen_rpc\":\"127.0.0.1:7373\"},\"lua_version\":\"LuaJIT 2.1.0-beta1\",\"tagline\":\"Welcome to kong\",\"hostname\":\"jiagou-59\",\"plugins\":{\"enabled_in_cluster\":[\"key-auth\"],\"available_on_server\":[\"ssl\",\"jwt\",\"acl\",\"correlation-id\",\"cors\",\"oauth2\",\"tcp-log\",\"udp-log\",\"file-log\",\"http-log\",\"key-auth\",\"hmac-auth\",\"basic-auth\",\"ip-restriction\",\"mashape-analytics\",\"request-transformer\",\"response-transformer\",\"request-size-limiting\",\"rate-limiting\",\"response-ratelimiting\",\"syslog\",\"loggly\",\"datadog\",\"runscope\",\"ldap-auth\",\"statsd\"]}}"},"comment":{"url":"https://api.github.com/repos/PGBI/kong-dashboard/issues/comments/215443821","html_url":"https://github.com/PGBI/kong-dashboard/issues/42#issuecomment-215443821","issue_url":"https://api.github.com/repos/PGBI/kong-dashboard/issues/42","id":215443821,"user":{"login":"Diwann","id":784023,"avatar_url":"https://avatars.githubusercontent.com/u/784023?v=3","gravatar_id":"","url":"https://api.github.com/users/Diwann","html_url":"https://github.com/Diwann","followers_url":"https://api.github.com/users/Diwann/followers","following_url":"https://api.github.com/users/Diwann/following{/other_user}","gists_url":"https://api.github.com/users/Diwann/gists{/gist_id}","starred_url":"https://api.github.com/users/Diwann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Diwann/subscriptions","organizations_url":"https://api.github.com/users/Diwann/orgs","repos_url":"https://api.github.com/users/Diwann/repos","events_url":"https://api.github.com/users/Diwann/events{/privacy}","received_events_url":"https://api.github.com/users/Diwann/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T14:27:45Z","updated_at":"2016-04-28T14:27:45Z","body":"same. I think it's due to the upgrade to Kong 0.8 "}}