8000 init.lua:553: error parsing declarative config file /home/kong/kong.yml (with docker images :: v2.8.1 and v2.8.5) · Issue #14650 · Kong/kong · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
init.lua:553: error parsing declarative config file /home/kong/kong.yml (with docker images :: v2.8.1 and v2.8.5) #14650
Closed
@nmvega

Description

@nmvega

Is there an existing issue for this?

  • I have searched the existing issues

Kong version ($ kong version)

2.8.1 (recommended in the Supabase docker-compose.yml

Hello Friends:

  • My environment:
- Fedora-41
- Podman v5.4.1 (not docker)
- kong image: v2.8.1 (as configured in the Supabase stack)
- user$ docker run -it docker.io/library/kong:2.8.1 kong version
2.8.1  --OR--
- user$ docker run -it docker.io/library/kong:2.8.5 kong version
2.8.5

When kong starts up using either:

user$ podman-compose -f ./docker-compose.yml up -d # All Supabase services, including kong.
user$ podman-compose -f ./docker-compose.yml up -d kong # Only kong and services that depend on it.

I get the following continuously, and it's container keeps restarting:

nginx: [error] init_by_lua error: /usr/local/share/lua/5.1/kong/init.lua:553: error parsing declarative config file /home/kong/kong.yml:
failed parsing declarative configuration: 31:5: did not find expected tag URI
stack traceback:
	[C]: in function 'error'
	/usr/local/share/lua/5.1/kong/init.lua:553: in function 'init'
	init_by_lua:3: in main chunk

I believe that the file it's complaining about is this one, though I'm unsure:

I tried everything I can think of and am at a loss. Any help would be greatly appreciated.

EDIT: Note that I subsequently tried the same with docker-ce (not podman) but that did not fix the issue. I didn't think it would, but wanted to be complete.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    pending author feedbackWaiting for the issue author to get back to a maintainer with findings, more details, etc...

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0