-
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
502 when proxying local service #163
Comments
+1 had the same issue with localhost and adding 127.0.0.1 service_name.local to /etc/hosts does not seem to like hosts resolution. (osx) |
This issue has been fixed and will be available in the next release of Kong. |
Which release? cause for me it's still not working this way, did we have to configure something in the docker image to let it proxy correctly? |
This should have been fixed a long time ago. Does the issue happen with the current latest version 0.5.2?
|
@mogui if you are using Is your API running inside the Kong Docker container, or is it running in another container? |
yes it is running outside the container, the problem is within the docker container, I have to link it outside, anyway I've solved in another way ! |
I'm trying to have Kong proxy running in docker to a service running on port
4444
. Getting a 502 error from openresty.First I created the API in kong with this command:
Then tested it and got this response:
Verified the service was running:
The text was updated successfully, but these errors were encountered: