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

I have a question about kongfig #58

Closed
iamveritas opened this issue Jan 6, 2017 · 6 comments
Closed

I have a question about kongfig #58

iamveritas opened this issue Jan 6, 2017 · 6 comments
Labels

Comments

@iamveritas
Copy link

where I can send it to?

thanks

I have a kong installation already with Cassandra behind it; I need to export the current kong configuration to postgresql and move my current kong to postgresql; can kongfig help me out?
I installed it on my kong server and I issued a command to export to yml and I got the following error

Error: http://kong:8001/consumers/raphi mapuser@mailmail.com/acls: 404 Not Found
Error: http://kong:8001/consumers/raphi mapuser@mailmail.com/acls: 404 Not Found
at /usr/local/lib/node_modules/kongfig/lib/adminApi.js:113:25
at run (/usr/local/lib/node_modules/kongfig/node_modules/babel-polyfill/node_modules/core-js/modules/es6.promise.js:87:22)
at /usr/local/lib/node_modules/kongfig/node_modules/babel-polyfill/node_modules/core-js/modules/es6.promise.js:100:28
at flush (/usr/local/lib/node_modules/kongfig/node_modules/babel-polyfill/node_modules/core-js/modules/_microtask.js:18:9)
at process._tickCallback (node.js:415:13)

@CyExy
Copy link
Contributor

CyExy commented Jan 9, 2017

Hi, could you please send me what you get back from http://kong:8001/plugins/enabled

@iamveritas
Copy link
Author

hi thanks for helping, here it is:
{
"enabled_plugins": [
"ssl",
"jwt",
"acl",
"correlation-id",
"cors",
"oauth2",
"tcp-log",
"udp-log",
"file-log",
"http-log",
"key-auth",
"hmac-auth",
"basic-auth",
"ip-restriction",
"galileo",
"request-transformer",
"response-transformer",
"request-size-limiting",
"rate-limiting",
"response-ratelimiting",
"syslog",
"loggly",
"datadog",
"runscope",
"ldap-auth",
"statsd"
]
}

@CyExy CyExy closed this as completed in 7a5041c Jan 11, 2017
@CyExy
Copy link
Contributor

CyExy commented Jan 11, 2017

Just published kongfig@1.2.23 that should fix your issue. This is actually Kong admin API issue where it doesn't like spaces in usernames.

@CyExy CyExy added the bug label Jan 11, 2017
@iamveritas
Copy link
Author

sweet! you are a life savior, thank you @CyExy

@CyExy
Copy link
Contributor

CyExy commented Jan 11, 2017

Your welcome, and thanks for reporting!

@iamveritas
Copy link
Author

iamveritas commented Jan 11, 2017

I have just reported another one
#59
not as urgent as this one though :) but prolly harder to fix; it needs to be able to see a consumer already exists when applying a configuration....

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

No branches or pull requests

2 participants