You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried to connect Kong to external DB Postgre.
The scenario:
Error:
/usr/local/share/lua/5.1/kong/cmd/utils/inject_confs.lua:28:
stack traceback:
[C]: in function 'assert'
/usr/local/share/lua/5.1/kong/cmd/utils/inject_confs.lua:28: in function 'load_conf'
/usr/local/share/lua/5.1/kong/cmd/utils/inject_confs.lua:85: in function </usr/local/share/lua/5.1/kong/cmd/utils/inject_confs.lua:84>
[C]: in function 'xpcall'
/usr/local/bin/kong:99: in function 'file_gen'
init_worker_by_lua(nginx.conf:117):48: in function <init_worker_by_lua(nginx.conf:117):46>
[C]: in function 'xpcall'
init_worker_by_lua(nginx.conf:117):55: in function <init_worker_by_lua(nginx.conf:117):53>
kong version 3.6.1
postgres 13.0
This is me running the docker command:
docker run --rm --network=kong-net -e "KONG_DATABASE=postgres" -e "KONG_PG_HOST=8.0.88.64" -e "KONG_PG_USER=kong" -e "KONG_PG_PASSWORD=kong12345" -e "KONG_CASSANDRA_CONTACT_POINTS=kong" kong:latest kong migrations bootstrap
Any helps, please!
Thank you.
Fran
The text was updated successfully, but these errors were encountered:
Hello, Have you solved this issue? I'm facing the same problem!
Please share the output of --vv as requested by Chrono. Thanks!
192:config px$ docker run --rm --network=kong-net -e "KONG_DATABASE=postgres" -e "KONG_PG_USER=root" -e "KONG_PG_HOST=pgsql" -e "KONG_PG_PASSWORD=qwer1234" -e "KONG_PASSWORD=pengx" kong:latest kong migrations bootstrap --vv
Error:
/usr/local/share/lua/5.1/kong/cmd/utils/inject_confs.lua:28:
stack traceback:
[C]: in function 'assert'
/usr/local/share/lua/5.1/kong/cmd/utils/inject_confs.lua:28: in function 'load_conf'
/usr/local/share/lua/5.1/kong/cmd/utils/inject_confs.lua:85: in function </usr/local/share/lua/5.1/kong/cmd/utils/inject_confs.lua:84>
[C]: in function 'xpcall'
/usr/local/bin/kong:99: in function 'file_gen'
init_worker_by_lua(nginx.conf:117):48: in function <init_worker_by_lua(nginx.conf:117):46>
[C]: in function 'xpcall'
init_worker_by_lua(nginx.conf:117):55: in function <init_worker_by_lua(nginx.conf:117):53>
Hi there:
I've tried to connect Kong to external DB Postgre.
The scenario:
kong version 3.6.1
postgres 13.0
This is me running the docker command:
docker run --rm --network=kong-net -e "KONG_DATABASE=postgres" -e "KONG_PG_HOST=8.0.88.64" -e "KONG_PG_USER=kong" -e "KONG_PG_PASSWORD=kong12345" -e "KONG_CASSANDRA_CONTACT_POINTS=kong" kong:latest kong migrations bootstrap
Any helps, please!
Thank you.
Fran
The text was updated successfully, but these errors were encountered: