-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Cassandra host could not be resolved #195
Comments
In kong.yml replace "kongdb.org" by "52.5.149.55" in hosts section of Cassandra properties. It should work. |
Thanks @pgeseraphin, I can't believe we didn't think of that! I'll send the person who initially reported the issue the solution and follow up with an update here if it works. |
@montanaflynn @pgeseraphin I just try to us IP instead of hostname. It didn't work
|
Don't forget to change Cassandra port in 'kong.yml'. You'll get it with: |
@pgeseraphin ah you right. I forgot that. |
@montanaflynn @pgeseraphin it works when I change to IP instead of host name. Thanks. |
You're welcome. |
I still got error when I forward my request through Kong
|
It's another issue (see #182). To solve this, when adding an API, you have to use '127.0.0.1' instead of 'localhost': Example: $ curl -i -X POST |
@pgeseraphin still not working
When I request
|
Try to replace http://mockbin.com/ by its IP: http://74.208.32.158/ or use your own API. $ curl -i -X POST |
This issue should have been fixed with #194 - in order to work it needs apt-get install dnsmasq or yum install dnsmasq I will create new packages that include dnsmasq by default. This fix will be available in the next release of Kong ( I will close this issue once we try this out with the new version and we confirm it has been fixed. |
@williamn were you the initial user who was affected by this bug? |
@thefosk yes |
It works after I install |
@williamn that's great. We just released v0.2.1, which includes I will close this for now, please feel free to re-open it if you experience again the same problem. |
🍻 |
Someone in gitter reported that Kong could not connect to a kongdb.org Cassandra node, to make sure it wasn't kongdb we set them up with a new Cassandra node on AWS and they got the same error.
They were running Ubuntu 15.04 with Kong 0.2.0-2 but I verified it works on a brand new AWS machine so there's something else at play here, possibly related to #127 .
The initial migrations worked and connection with the host was verified with:
Starting up Kong:
Trying to use Kong's admin API:
The text was updated successfully, but these errors were encountered: