-
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
Could Not Start Kong #1107
Comments
@timothyley I think your issue is the same as #1037. What distribution of Kong are you using? |
Hi Macro, I'm sorry as I am new to Kong. The setup was done by my ex colleague. I am Regard, On Wed, Mar 30, 2016 at 1:11 AM, Marco Palladino notifications@github.com
|
@timothyley you will have to both explicitly set the For more info on the doc for 0.6.x, you can check: https://getkong.org/docs/0.6.x/configuration |
@thefosk This is the environment we are in. Linux kongcassandra2 3.19.0-49-generic #55~14.04.1-Ubuntu SMP Fri Jan 22 11:24:31 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux. Also our Kong is on Microsoft Azure. |
@timothyley can you please post the output of: $ ifconfig To figure out why serf cannot automatically find an IP address. |
|
@timothyley on the same machine, what happens if you execute: $ serf agent ? |
@thefosk
|
@timothyley thank you - I am trying to investigate this problem with the Serf team. Can you please keep the machine active in the meanwhile? Also, can you try to start Kong by setting the following properties in cluster_listen: "100.75.34.83:7946"
cluster:
advertise: "100.75.34.83:7946" Make sure to uncomment any existing declaration of the same properties, and try running |
@thefosk I am able to Start Kong. However when i tried call the API to list the node it provided me with an error.
|
@timothyley how did you start Kong? What was the problem with Serf? |
@thefosk I have added the properties that you have suggested |
@timothyley thanks, I will try to sort that issue out with the Serf team. Basically by specifying the Regarding the other problem, I would recommend taking a look at the Kong documentation. Kong runs on two ports:
The error you received is because Kong couldn't resolve the API. I would recommend reading https://getkong.org/docs/0.6.x/proxy/ to be sure that your APIs are properly configured on Kong. |
Related to hashicorp/serf#385. This is not really a bug, and since the IP doesn't look like a private IP address it needs to be manually specified using |
I just ran into this, as I had a network clash inside a docker network built with networks:
wicked:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.200.0.0/16
gateway: 172.200.0.1 This is quite strange, and I have no clue who is the culprit here. The only way I could make Kong accept an IP address in the 172.200.x.x range was to explicitly assign the address to the container, plus add |
Hey okay, wait, I am mistaken. Of course 172.18.x is a private network, but 172.200.x isn't, and that's the difference. |
And it works with e.g. 172.31.255.0/24. So no need to reopen, I was just a little thick. |
The below YAML worked for me. My DNS RESOLVER Is :- 172.0.0.10 apiVersion: extensions/v1beta1kind: Deployment
|
Hi, Kong was working fine previously. However about 2 weeks ago, it started to give me error when I start Kong. I am not sure what the problem is. It gave me this error.
Looking for some help please.
The text was updated successfully, but these errors were encountered: