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
We run kongfig inside a bash loop that loops over a list of *.yml files and runs a kongfig --path $PATH for each one, so our script looks like this:
for config in $(/var/lib/path/to/files/*.yml);
do
echo $config
/bin/kongfig --path $config
sleep 10
done
which has worked fine until recently, when we're getting the following errors per loop:
Loading config /var/lib/path/to/files/config.yml
Apply config to localhost:8001
Kong version: 0.12.1
Error: http://localhost:8001/apis/ee23b.../plugins: 500 Internal Server Error
Error: http://localhost:8001/apis/ee23b.../plugins: 500 Internal Server Error
at /usr/lib/node_modules/kongfig/lib/adminApi.js:139:25
at process._tickCallback (internal/process/next_tick.js:109:7)
However if I run each one manually they work without issue.
Hi, I am facing the same issue and seems to have been introduced in the later versions.
I have a feeling it's to do with the number of concurrent DB Connections Kongfig uses in the background. Any fix or workaround or suggestions would be helpful.
kongfig version:
1.5.3
We run kongfig inside a bash loop that loops over a list of *.yml files and runs a
kongfig --path $PATH
for each one, so our script looks like this:which has worked fine until recently, when we're getting the following errors per loop:
However if I run each one manually they work without issue.
As you can see our Kong version is
0.12.1
Any advice would be great,, thanks!
The text was updated successfully, but these errors were encountered: