Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running Kong-gateway in docker container using docker compose, but success using docker run #702

Open
benny0924 opened this issue May 30, 2024 · 0 comments

Comments

@benny0924
Copy link

benny0924 commented May 30, 2024

My docker engine running on MacOS M1.

Create the kong-gateway container using docker compose, got an error as follow:

2024-05-30 10:59:39 2024/05/30 03:59:39 [verbose] Kong: 3.7.0.0-enterprise-edition
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] ngx_lua: 10026
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx: 1025003
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] Lua: LuaJIT 2.1.0-20231117
2024-05-30 10:59:39 2024/05/30 03:59:39 [verbose] no config file found at /etc/kong/kong.conf
2024-05-30 10:59:39 2024/05/30 03:59:39 [verbose] no config file found at /etc/kong.conf
2024-05-30 10:59:39 2024/05/30 03:59:39 [verbose] no config file, skip loading
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] reading environment variables
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] KONG_PROXY_ERROR_LOG ENV found with "/dev/stderr"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] KONG_ADMIN_ACCESS_LOG ENV found with "/dev/stdout"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] KONG_ADMIN_ERROR_LOG ENV found with "/dev/stderr"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] KONG_DATABASE ENV found with "postgres"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] KONG_ADMIN_LISTEN ENV found with ""0.0.0.0:8001, 0.0.0.0:8444 ssl""
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] KONG_PROXY_ACCESS_LOG ENV found with "/dev/stdout"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] KONG_PG_HOST ENV found with "postgres"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] KONG_PREFIX ENV found with "/usr/local/kong"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] KONG_PG_USER ENV found with "postgres"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] KONG_NGINX_DAEMON ENV found with "off"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] KONG_PG_PASSWORD ENV found with "******"
2024-05-30 10:59:39 2024/05/30 03:59:39 [verbose] prefix in use: /usr/local/kong
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] _debug_pg_ttl_cleanup_interval = 300
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] admin_acc_logs = "/usr/local/kong/logs/admin_access.log"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] admin_access_log = "/dev/stdout"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] admin_approved_email = "true"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] admin_emails_from = "\"\""
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] admin_error_log = "/dev/stderr"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] admin_gui_access_log = "logs/admin_gui_access.log"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] admin_gui_auth_header = "******"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] admin_gui_auth_login_attempts = 0
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] admin_gui_error_log = "logs/admin_gui_error.log"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] admin_gui_flags = "{}"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] admin_gui_listen = {"0.0.0.0:8002","0.0.0.0:8445 ssl"}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] admin_gui_path = "/"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] admin_gui_ssl_cert = {}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] admin_gui_ssl_cert_default = "/usr/local/kong/ssl/admin-gui-kong-default.crt"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] admin_gui_ssl_cert_default_ecdsa = "/usr/local/kong/ssl/admin-gui-kong-default-ecdsa.crt"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] admin_gui_ssl_cert_key = "******"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] admin_gui_ssl_cert_key_default = "/usr/local/kong/ssl/admin-gui-kong-default.key"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] admin_gui_ssl_cert_key_default_ecdsa = "/usr/local/kong/ssl/admin-gui-kong-default-ecdsa.key"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] admin_gui_ssl_protocols = "TLSv1.2 TLSv1.3"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] admin_invitation_expiry = 259200
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] admin_listen = {"\"0.0.0.0:8001","0.0.0.0:8444 ssl\""}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] admin_ssl_cert = {}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] admin_ssl_cert_default = "/usr/local/kong/ssl/admin-kong-default.crt"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] admin_ssl_cert_default_ecdsa = "/usr/local/kong/ssl/admin-kong-default-ecdsa.crt"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] admin_ssl_cert_key = "******"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] admin_ssl_cert_key_default = "/usr/local/kong/ssl/admin-kong-default.key"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] admin_ssl_cert_key_default_ecdsa = "/usr/local/kong/ssl/admin-kong-default-ecdsa.key"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] allow_debug_header = false
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] allow_inconsistent_data_plane_plugins = false
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] analytics_buffer_size_limit = 100000
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] analytics_debug = false
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] analytics_flush_interval = 1
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] anonymous_reports = true
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] audit_log = false
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] audit_log_ignore_methods = {}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] audit_log_ignore_paths = {}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] audit_log_ignore_tables = {}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] audit_log_payload_exclude = {"token","secret","password"}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] audit_log_record_ttl = 2592000
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] client_body_buffer_size = "8k"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] client_ssl = false
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] client_ssl_cert_default = "/usr/local/kong/ssl/kong-default.crt"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] client_ssl_cert_key_default = "/usr/local/kong/ssl/kong-default.key"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] cluster_allowed_common_names = {}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] cluster_control_plane = "127.0.0.1:8005"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] cluster_data_plane_purge_delay = 1209600
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] cluster_dp_labels = {}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] cluster_fallback_config_export = false
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] cluster_fallback_config_export_delay = 60
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] cluster_fallback_config_import = false
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] cluster_listen = {"0.0.0.0:8005"}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] cluster_max_payload = 16777216
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] cluster_mtls = "shared"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] cluster_ocsp = "off"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] cluster_rpc = false
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] cluster_telemetry_endpoint = "127.0.0.1:8006"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] cluster_telemetry_listen = {"0.0.0.0:8006"}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] cluster_use_proxy = false
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] database = "postgres"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] db_cache_ttl = 0
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] db_cache_warmup_entities = {"services"}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] db_resurrect_ttl = 30
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] db_update_frequency = 5
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] db_update_propagation = 0
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] debug_access_log = "off"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] debug_error_log = "logs/debug_error.log"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] debug_listen = {"off"}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] debug_listen_local = true
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] debug_ssl_cert = {}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] debug_ssl_cert_key = "******"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] dedicated_config_processing = true
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] dns_cache_size = 10000
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] dns_error_ttl = 1
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] dns_hostsfile = "/etc/hosts"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] dns_no_sync = false
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] dns_not_found_ttl = 30
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] dns_order = {"LAST","SRV","A","CNAME"}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] dns_resolver = {}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] dns_stale_ttl = 3600
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] enforce_rbac = "off"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] error_default_type = "text/plain"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] event_hooks_enabled = true
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] fips = false
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] headers = {"server_tokens","latency_tokens","x-kong-request-id"}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] headers_upstream = {"x-kong-request-id"}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] host_ports = {}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] keyring_enabled = false
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] keyring_strategy = "cluster"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] keyring_vault_auth_method = "token"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] keyring_vault_kube_api_token_file = "/run/secrets/kubernetes.io/serviceaccount/token"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] keyring_vault_kube_role = "default"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] kic = false
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] kong_env = "/usr/local/kong/.kong_env"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] kong_process_secrets = "/usr/local/kong/.kong_process_secrets"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] konnect_mode = false
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] lmdb_environment_path = "dbless.lmdb"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] lmdb_map_size = "2048m"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] lmdb_validation_tag = "3.7"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] loaded_vaults = {aws=true,azure=true,env=true,gcp=true,hcv=true}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] log_level = "notice"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] lua_max_post_args = 100
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] lua_max_req_headers = 100
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] lua_max_resp_headers = 100
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] lua_max_uri_args = 100
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] lua_package_cpath = ""
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] lua_package_path = "./?.lua;./?/init.lua;"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] lua_socket_pool_size = 256
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] lua_ssl_protocols = "TLSv1.2 TLSv1.3"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] lua_ssl_trusted_certificate = {"/etc/ssl/certs/ca-certificates.crt"}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] lua_ssl_trusted_certificate_combined = "/usr/local/kong/.ca_combined"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] lua_ssl_verify_depth = 1
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] mem_cache_size = "128m"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_acc_logs = "/usr/local/kong/logs/access.log"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_admin_client_body_buffer_size = "10m"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_admin_client_max_body_size = "10m"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_admin_directives = {{name="client_max_body_size",value="10m"},{name="client_body_buffer_size",value="10m"}}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_conf = "/usr/local/kong/nginx.conf"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_daemon = "off"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_debug_directives = {}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_err_logs = "/usr/local/kong/logs/error.log"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_events_directives = {{name="worker_connections",value="auto"},{name="multi_accept",value="on"}}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_events_multi_accept = "on"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_events_worker_connections = "auto"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_http_charset = "UTF-8"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_http_client_body_buffer_size = "8k"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_http_client_max_body_size = "0"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_http_directives = {{name="ssl_protocols",value="TLSv1.2 TLSv1.3"},{name="ssl_prefer_server_ciphers",value="off"},{name="ssl_session_tickets",value="on"},{name="ssl_session_timeout",value="1d"},{name="ssl_dhparam",value="ffdhe2048"},{name="charset",value="UTF-8"},{name="client_max_body_size",value="0"},{name="client_body_buffer_size",value="8k"},{name="lua_regex_match_limit",value="100000"},{name="lua_regex_cache_max_entries",value="8192"},{name="keepalive_requests",value="10000"}}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_http_keepalive_requests = "10000"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_http_lua_regex_cache_max_entries = "8192"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_http_lua_regex_match_limit = "100000"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_http_lua_ssl_protocols = "TLSv1.2 TLSv1.3"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_http_ssl_dhparam = "ffdhe2048"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_http_ssl_prefer_server_ciphers = "off"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_http_ssl_protocols = "TLSv1.2 TLSv1.3"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_http_ssl_session_tickets = "on"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_http_ssl_session_timeout = "1d"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_inject_conf = "/usr/local/kong/nginx-inject.conf"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_kong_conf = "/usr/local/kong/nginx-kong.conf"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_kong_gui_include_conf = "/usr/local/kong/nginx-kong-gui-include.conf"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_kong_inject_conf = "/usr/local/kong/nginx-kong-inject.conf"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_kong_stream_conf = "/usr/local/kong/nginx-kong-stream.conf"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_kong_stream_inject_conf = "/usr/local/kong/nginx-kong-stream-inject.conf"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_location_directives = {}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_main_daemon = "off"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_main_directives = {{name="daemon",value="off"},{name="user",value="kong kong"},{name="worker_rlimit_nofile",value="auto"},{name="worker_processes",value="auto"}}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_main_user = "kong kong"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_main_worker_processes = "auto"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_main_worker_rlimit_nofile = "auto"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_pid = "/usr/local/kong/pids/nginx.pid"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_portal_api_acc_logs = "/usr/local/kong/logs/portal_api_access.log"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_portal_api_err_logs = "/usr/local/kong/logs/portal_api_error.log"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_portal_gui_acc_logs = "/usr/local/kong/logs/portal_gui_access.log"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_portal_gui_err_logs = "/usr/local/kong/logs/portal_gui_error.log"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_proxy_directives = {{name="real_ip_header",value="X-Real-IP"},{name="real_ip_recursive",value="off"}}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_proxy_real_ip_header = "X-Real-IP"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_proxy_real_ip_recursive = "off"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_sproxy_directives = {}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_status_directives = {}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_stream_directives = {{name="ssl_prefer_server_ciphers",value="off"},{name="ssl_session_tickets",value="on"},{name="ssl_session_timeout",value="1d"},{name="ssl_dhparam",value="ffdhe2048"},{name="ssl_protocols",value="TLSv1.2 TLSv1.3"}}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_stream_lua_ssl_protocols = "TLSv1.2 TLSv1.3"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_stream_ssl_dhparam = "ffdhe2048"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_stream_ssl_prefer_server_ciphers = "off"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_stream_ssl_protocols = "TLSv1.2 TLSv1.3"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_stream_ssl_session_tickets = "on"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_stream_ssl_session_timeout = "1d"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_supstream_directives = {}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_upstream_directives = {}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_user = "kong kong"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_wasm_main_directives = {}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_wasm_main_shm_kv_directives = {}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_wasm_v8_directives = {}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_wasm_wasmer_directives = {}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_wasm_wasmtime_directives = {}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] nginx_worker_processes = "auto"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] opentelemetry_tracing = {"off"}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] opentelemetry_tracing_sampling_rate = 0.01
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] pg_database = "kong"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] pg_host = "postgres"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] pg_iam_auth = false
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] pg_max_concurrent_queries = 0
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] pg_password = "******"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] pg_port = 5432
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] pg_ro_iam_auth = false
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] pg_ro_ssl = false
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] pg_ro_ssl_required = false
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] pg_ro_ssl_verify = false
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] pg_semaphore_timeout = 60000
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] pg_ssl = false
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] pg_ssl_required = false
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] pg_ssl_verify = false
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] pg_ssl_version = "tlsv1_2"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] pg_timeout = 5000
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] pg_user = "postgres"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] plugins = {"bundled"}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] pluginserver_names = {}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] port_maps = {}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal = false
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal_access_request_email = true
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal_api_access_log = "logs/portal_api_access.log"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal_api_error_log = "logs/portal_api_error.log"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal_api_listen = {"0.0.0.0:8004","0.0.0.0:8447 ssl"}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal_api_ssl_cert = {}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal_api_ssl_cert_default = "/usr/local/kong/ssl/portal-api-kong-default.crt"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal_api_ssl_cert_default_ecdsa = "/usr/local/kong/ssl/portal-api-kong-default-ecdsa.crt"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal_api_ssl_cert_key = "******"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal_api_ssl_cert_key_default = "/usr/local/kong/ssl/portal-api-kong-default.key"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal_api_ssl_cert_key_default_ecdsa = "/usr/local/kong/ssl/portal-api-kong-default-ecdsa.key"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal_api_ssl_protocols = "TLSv1.2 TLSv1.3"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal_app_auth = "kong-oauth2"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal_application_request_email = false
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal_application_status_email = false
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal_approved_email = true
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal_auth_login_attempts = 0
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal_auto_approve = false
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal_cors_origins = {}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal_email_verification = false
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal_gui_access_log = "logs/portal_gui_access.log"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal_gui_error_log = "logs/portal_gui_error.log"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal_gui_host = "127.0.0.1:8003"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal_gui_listen = {"0.0.0.0:8003","0.0.0.0:8446 ssl"}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal_gui_protocol = "http"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal_gui_ssl_cert = {}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal_gui_ssl_cert_default = "/usr/local/kong/ssl/portal-gui-kong-default.crt"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal_gui_ssl_cert_default_ecdsa = "/usr/local/kong/ssl/portal-gui-kong-default-ecdsa.crt"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal_gui_ssl_cert_key = "******"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal_gui_ssl_cert_key_default = "/usr/local/kong/ssl/portal-gui-kong-default.key"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal_gui_ssl_cert_key_default_ecdsa = "/usr/local/kong/ssl/portal-gui-kong-default-ecdsa.key"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal_gui_ssl_protocols = "TLSv1.2 TLSv1.3"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal_gui_use_subdomains = false
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal_invite_email = true
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal_is_legacy = false
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal_reset_email = true
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal_reset_success_email = true
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal_smtp_admin_emails = {}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] portal_token_exp = 21600
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] prefix = "/usr/local/kong"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] proxy_access_log = "/dev/stdout"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] proxy_error_log = "/dev/stderr"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] proxy_listen = {"0.0.0.0:8000 reuseport backlog=16384","0.0.0.0:8443 http2 ssl reuseport backlog=16384"}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] proxy_server_ssl_verify = true
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] proxy_stream_access_log = "logs/access.log basic"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] proxy_stream_error_log = "logs/error.log"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] rbac_auth_header = "Kong-Admin-Token"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] real_ip_header = "X-Real-IP"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] real_ip_recursive = "off"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] request_debug = true
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] role = "traditional"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] route_validation_strategy = "smart"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] router_flavor = "traditional_compatible"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] smtp_admin_emails = {}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] smtp_domain = "localhost.localdomain"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] smtp_host = "localhost"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] smtp_mock = true
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] smtp_port = 25
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] smtp_ssl = false
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] smtp_starttls = false
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] smtp_timeout_connect = 60000
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] smtp_timeout_read = 60000
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] smtp_timeout_send = 60000
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] ssl_cert = {}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] ssl_cert_csr_default = "/usr/local/kong/ssl/kong-default.csr"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] ssl_cert_default = "/usr/local/kong/ssl/kong-default.crt"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] ssl_cert_default_ecdsa = "/usr/local/kong/ssl/kong-default-ecdsa.crt"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] ssl_cert_key = "******"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] ssl_cert_key_default = "/usr/local/kong/ssl/kong-default.key"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] ssl_cert_key_default_ecdsa = "/usr/local/kong/ssl/kong-default-ecdsa.key"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] ssl_cipher_suite = "intermediate"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] ssl_ciphers = "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-CHACHA20-POLY1305"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] ssl_dhparam = "ffdhe2048"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] ssl_prefer_server_ciphers = "on"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] ssl_protocols = "TLSv1.2 TLSv1.3"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] ssl_session_cache_size = "10m"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] ssl_session_tickets = "on"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] ssl_session_timeout = "1d"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] status_access_log = "off"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] status_error_log = "logs/status_error.log"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] status_listen = {"127.0.0.1:8007 reuseport backlog=16384"}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] status_ssl_cert = {}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] status_ssl_cert_default = "/usr/local/kong/ssl/status-kong-default.crt"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] status_ssl_cert_default_ecdsa = "/usr/local/kong/ssl/status-kong-default-ecdsa.crt"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] status_ssl_cert_key = "******"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] status_ssl_cert_key_default = "/usr/local/kong/ssl/status-kong-default.key"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] status_ssl_cert_key_default_ecdsa = "/usr/local/kong/ssl/status-kong-default-ecdsa.key"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] stream_listen = {"off"}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] tracing_instrumentations = {"off"}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] tracing_sampling_rate = 0.01
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] trusted_ips = {}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] untrusted_lua = "sandbox"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] untrusted_lua_sandbox_environment = {}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] untrusted_lua_sandbox_requires = {}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] upstream_keepalive_idle_timeout = 60
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] upstream_keepalive_max_requests = 10000
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] upstream_keepalive_pool_size = 512
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] vaults = {"bundled"}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] vitals = false
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] vitals_delete_interval_pg = 30
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] vitals_flush_interval = 10
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] vitals_prometheus_scrape_interval = 5
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] vitals_statsd_prefix = "kong"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] vitals_statsd_udp_packet_size = 1024
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] vitals_strategy = "database"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] vitals_ttl_days = 0
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] vitals_ttl_minutes = 1500
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] vitals_ttl_seconds = 3600
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] wasm = false
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] wasm_filters = {"bundled","user"}
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] worker_consistency = "eventual"
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] worker_events_max_payload = 65535
2024-05-30 10:59:39 2024/05/30 03:59:39 [debug] worker_state_update_frequency = 5
2024-05-30 10:59:39 Error: 
2024-05-30 10:59:39 /usr/local/share/lua/5.1/kong/cmd/start.lua:120: admin_listen must be of form: [off] | <ip>:<port> [ssl] [http2] [proxy_protocol] [deferred] [bind] [reuseport] [backlog=%d+] [ipv6only=on] [ipv6only=off] [so_keepalive=on] [so_keepalive=off] [so_keepalive=%w*:%w*:%d*], [... next entry ...]
2024-05-30 10:59:39 stack traceback:
2024-05-30 10:59:39     [C]: in function 'assert'
2024-05-30 10:59:39     /usr/local/share/lua/5.1/kong/cmd/start.lua:120: in function 'cmd_exec'
2024-05-30 10:59:39     /usr/local/share/lua/5.1/kong/cmd/init.lua:38: in function </usr/local/share/lua/5.1/kong/cmd/init.lua:38>
2024-05-30 10:59:39     [C]: in function 'xpcall'
2024-05-30 10:59:39     /usr/local/share/lua/5.1/kong/cmd/init.lua:38: in function </usr/local/share/lua/5.1/kong/cmd/init.lua:22>
2024-05-30 10:59:39     (command line -e):7: in function 'inline_gen'
2024-05-30 10:59:39     init_worker_by_lua(nginx.conf:131):44: in function <init_worker_by_lua(nginx.conf:131):43>
2024-05-30 10:59:39     [C]: in function 'xpcall'
2024-05-30 10:59:39     init_worker_by_lua(nginx.conf:131):52: in function <init_worker_by_lua(nginx.conf:131):50>

The kong-gateway command in docker compose file:

name: 'test'

services:
  networks:
    backend:

  postgres:
     ....
     ....
     ....

  kong:
    image: kong/kong-gateway
    platform: linux/amd64
    environment:
      - KONG_DATABASE=postgres
      - KONG_PROXY_ACCESS_LOG=/dev/stdout
      - KONG_ADMIN_ACCESS_LOG=/dev/stdout
      - KONG_PROXY_ERROR_LOG=/dev/stderr
      - KONG_ADMIN_ERROR_LOG=/dev/stderr
      - KONG_ADMIN_LISTEN="0.0.0.0:8001, 0.0.0.0:8444 ssl"
      - KONG_PG_HOST=postgres
      - KONG_PG_USER=postgres
      - KONG_PG_PASSWORD=postgres
      - KONG_CASSANDRA_CONTACT_POINTS=postgres
    ports:
      - 8000:8000
      - 8001:8001
      - 8002:8002
      - 8443:8443
      - 8444:8444
    command:
      - kong
      - start
      - --vv
    restart: no
    networks:
      - backend

But there is no issue when creating the container directly using docker run command:

      docker run \
         -d \
         --platform=linux/amd64 \
         --name kong \
         --network=test_backend \
         -e "KONG_DATABASE=postgres" \
         -e "KONG_PROXY_ACCESS_LOG=/dev/stdout" \
         -e "KONG_ADMIN_ACCESS_LOG=/dev/stdout" \
         -e "KONG_PROXY_ERROR_LOG=/dev/stderr" \
         -e "KONG_ADMIN_ERROR_LOG=/dev/stderr" \
         -e "KONG_ADMIN_LISTEN=0.0.0.0:8001, 0.0.0.0:8444 ssl" \
         -e "KONG_PG_HOST=postgres" \
         -e "KONG_PG_USER=postgres" \
         -e "KONG_PG_PASSWORD=postgres" \
         -e "KONG_CASSANDRA_CONTACT_POINTS=postgres" \
         -p 8000:8000 \
         -p 8001:8001 \
         -p 8002:8002 \
         -p 8443:8443 \
         -p 8444:8444 \
         kong/kong-gateway

Here is the log from kong-gateway (run using docker run command directly):

2024-05-30 11:14:20 2024/05/30 04:14:20 [warn] 1#0: the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /usr/local/kong/nginx.conf:7
2024-05-30 11:14:20 nginx: [warn] the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /usr/local/kong/nginx.conf:7
2024-05-30 11:14:21 2024/05/30 04:14:20 [notice] 1#0: [lua] license_helpers.lua:171: read_license_info(): [license-helpers] could not decode license JSON: No license found
2024-05-30 11:14:21 2024/05/30 04:14:20 [notice] 1#0: [lua] license_helpers.lua:171: read_license_info(): [license-helpers] could not decode license JSON: No license found
2024-05-30 11:14:22 2024/05/30 04:14:20 [notice] 1#0: [lua] init.lua:868: init(): [request-debug] token for request debugging: e0944256-2aab-4104-a33c-b5436a8c25ba
2024-05-30 11:14:22 2024/05/30 04:14:20 [notice] 1#0: using the "epoll" event method
2024-05-30 11:14:22 2024/05/30 04:14:20 [notice] 1#0: openresty/1.25.3.1
2024-05-30 11:14:22 2024/05/30 04:14:20 [notice] 1#0: OS: Linux 6.6.26-linuxkit
2024-05-30 11:14:22 2024/05/30 04:14:20 [notice] 1#0: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2024-05-30 11:14:22 2024/05/30 04:14:20 [notice] 1#0: start worker processes
2024-05-30 11:14:22 2024/05/30 04:14:20 [notice] 1#0: start worker process 2405
2024-05-30 11:14:22 2024/05/30 04:14:20 [notice] 1#0: start worker process 2406
2024-05-30 11:14:22 2024/05/30 04:14:20 [notice] 1#0: start worker process 2407
2024-05-30 11:14:22 2024/05/30 04:14:20 [notice] 1#0: start worker process 2408
2024-05-30 11:14:22 2024/05/30 04:14:20 [notice] 1#0: start worker process 2409
2024-05-30 11:14:22 2024/05/30 04:14:20 [notice] 1#0: start worker process 2410
2024-05-30 11:14:22 2024/05/30 04:14:20 [notice] 1#0: start worker process 2411
2024-05-30 11:14:22 2024/05/30 04:14:20 [notice] 1#0: start worker process 2412
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2411#0: *8 [lua] license_helpers.lua:171: read_license_info(): [license-helpers] could not decode license JSON: No license found, context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2406#0: *2 [lua] license_helpers.lua:171: read_license_info(): [license-helpers] could not decode license JSON: No license found, context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2405#0: *1 [lua] license_helpers.lua:171: read_license_info(): [license-helpers] could not decode license JSON: No license found, context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2407#0: *3 [lua] license_helpers.lua:171: read_license_info(): [license-helpers] could not decode license JSON: No license found, context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2408#0: *4 [lua] license_helpers.lua:171: read_license_info(): [license-helpers] could not decode license JSON: No license found, context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2410#0: *5 [lua] license_helpers.lua:171: read_license_info(): [license-helpers] could not decode license JSON: No license found, context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2409#0: *6 [lua] license_helpers.lua:171: read_license_info(): [license-helpers] could not decode license JSON: No license found, context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2412#0: *7 [lua] license_helpers.lua:171: read_license_info(): [license-helpers] could not decode license JSON: No license found, context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2408#0: *4 [lua] license_helpers.lua:171: read_license_info(): [license-helpers] could not decode license JSON: No license found, context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2405#0: *1 [lua] license_helpers.lua:171: read_license_info(): [license-helpers] could not decode license JSON: No license found, context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2410#0: *5 [lua] license_helpers.lua:171: read_license_info(): [license-helpers] could not decode license JSON: No license found, context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2406#0: *2 [lua] license_helpers.lua:171: read_license_info(): [license-helpers] could not decode license JSON: No license found, context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2407#0: *3 [lua] license_helpers.lua:171: read_license_info(): [license-helpers] could not decode license JSON: No license found, context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2411#0: *8 [lua] license_helpers.lua:171: read_license_info(): [license-helpers] could not decode license JSON: No license found, context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2409#0: *6 [lua] license_helpers.lua:171: read_license_info(): [license-helpers] could not decode license JSON: No license found, context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2412#0: *7 [lua] license_helpers.lua:171: read_license_info(): [license-helpers] could not decode license JSON: No license found, context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2405#0: *1 [lua] warmup.lua:120: single_dao(): Preloading 'services' into the core_cache..., context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2411#0: *8 [lua] globalpatches.lua:84: sleep(): executing a blocking 'sleep' (0.001 seconds), context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2406#0: *2 [lua] globalpatches.lua:84: sleep(): executing a blocking 'sleep' (0.001 seconds), context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2411#0: *8 [lua] globalpatches.lua:84: sleep(): executing a blocking 'sleep' (0.002 seconds), context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2411#0: *8 [lua] globalpatches.lua:84: sleep(): executing a blocking 'sleep' (0.004 seconds), context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2406#0: *2 [lua] globalpatches.lua:84: sleep(): executing a blocking 'sleep' (0.002 seconds), context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2406#0: *2 [lua] globalpatches.lua:84: sleep(): executing a blocking 'sleep' (0.004 seconds), context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2407#0: *3 [lua] globalpatches.lua:84: sleep(): executing a blocking 'sleep' (0.001 seconds), context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2407#0: *3 [lua] globalpatches.lua:84: sleep(): executing a blocking 'sleep' (0.002 seconds), context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2405#0: *1 [lua] warmup.lua:169: single_dao(): finished preloading 'services' into the core_cache (in 50ms), context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2406#0: *2 [lua] globalpatches.lua:84: sleep(): executing a blocking 'sleep' (0.008 seconds), context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2411#0: *8 [lua] globalpatches.lua:84: sleep(): executing a blocking 'sleep' (0.008 seconds), context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2407#0: *3 [lua] globalpatches.lua:84: sleep(): executing a blocking 'sleep' (0.004 seconds), context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2409#0: *6 [lua] globalpatches.lua:84: sleep(): executing a blocking 'sleep' (0.001 seconds), context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2407#0: *3 [lua] globalpatches.lua:84: sleep(): executing a blocking 'sleep' (0.008 seconds), context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2406#0: *2 [lua] globalpatches.lua:84: sleep(): executing a blocking 'sleep' (0.016 seconds), context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2409#0: *6 [lua] globalpatches.lua:84: sleep(): executing a blocking 'sleep' (0.002 seconds), context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2412#0: *7 [lua] globalpatches.lua:84: sleep(): executing a blocking 'sleep' (0.001 seconds), context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2411#0: *8 [lua] globalpatches.lua:84: sleep(): executing a blocking 'sleep' (0.016 seconds), context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2412#0: *7 [lua] globalpatches.lua:84: sleep(): executing a blocking 'sleep' (0.002 seconds), context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2409#0: *6 [lua] globalpatches.lua:84: sleep(): executing a blocking 'sleep' (0.004 seconds), context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2405#0: *1 [lua] globalpatches.lua:84: sleep(): executing a blocking 'sleep' (0.001 seconds), context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2412#0: *7 [lua] globalpatches.lua:84: sleep(): executing a blocking 'sleep' (0.004 seconds), context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2405#0: *1 [lua] globalpatches.lua:84: sleep(): executing a blocking 'sleep' (0.002 seconds), context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2407#0: *3 [lua] globalpatches.lua:84: sleep(): executing a blocking 'sleep' (0.016 seconds), context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2409#0: *6 [lua] globalpatches.lua:84: sleep(): executing a blocking 'sleep' (0.008 seconds), context: init_worker_by_lua*
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2405#0: *4517 [lua] warmup.lua:53: warming up DNS entries ..., context: ngx.timer
2024-05-30 11:14:22 2024/05/30 04:14:22 [notice] 2405#0: *4517 [lua] warmup.lua:87: finished warming up DNS entries' into the cache (in 39ms), context: ngx.timer

I can access the admin api service and admin gui, and also create new service, route, etc.

There is no issue with the Postgres container, and also the kong migrations (kong bootstrap).

I created the 'kong' database manually in Postgres without any issue.
After that manually run the kong migration using docker run, also no issue with this.
Here is the docker run command for the kong migration:

docker run \
   --rm \
   --platform=linux/amd64 \
   --network=test_backend \
   -e KONG_DATABASE=postgres \
   -e KONG_PG_HOST=postgres \
   -e KONG_PG_USER=postgres \
   -e KONG_PG_PASSWORD=postgres \
   -e KONG_CASSANDRA_CONTACT_POINTS=postgres \
   kong/kong-gateway \
   kong migrations bootstrap --v

If anybody can help solve this issue very appreciate that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant