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

Unable to bind tcp ports #3732

Closed
johan-smits opened this issue Feb 6, 2019 · 6 comments
Closed

Unable to bind tcp ports #3732

johan-smits opened this issue Feb 6, 2019 · 6 comments

Comments

@johan-smits
Copy link

Is this a request for help? (If yes, you should use our troubleshooting guide and community support channels, see https://kubernetes.io/docs/tasks/debug-application-cluster/troubleshooting/.):

What keywords did you search in NGINX Ingress controller issues before filing this one? (If you have found any duplicates, you should instead reply there.):


Is this a BUG REPORT or FEATURE REQUEST? (choose one):

NGINX Ingress controller version: 0.21.0

Kubernetes version (use kubectl version): 1.11.5

Environment:

  • Cloud provider or hardware configuration: AWS

What happened:
Unable to bind tcp ports:

Error: exit status 1
2019/02/06 19:37:49 [notice] 182#182: ModSecurity-nginx v1.0.0
nginx: the configuration file /tmp/nginx-cfg180862801 syntax is ok
2019/02/06 19:37:49 [emerg] 182#182: bind() to 0.0.0.0:587 failed (1: Operation not permitted)
nginx: [emerg] bind() to 0.0.0.0:587 failed (1: Operation not permitted)
nginx: configuration file /tmp/nginx-cfg180862801 test failed

What you expected to happen:
It does work with version 0.17.1

How to reproduce it (as minimally and precisely as possible):
Configure a tcp map to bind the port

Anything else we need to know:
Possible broken due to this PR: #3038 and might be related to: #3668

@aledbf
Copy link
Member

aledbf commented Feb 9, 2019

@johan-smits please check if you have IPV6 enabled

@aledbf
Copy link
Member

aledbf commented Feb 9, 2019

@johan-smits also, please use quay.io/kubernetes-ingress-controller/nginx-ingress-controller:dev

@johan-smits
Copy link
Author

johan-smits commented Feb 11, 2019

@aledbf I can confirm that the :dev tag is working. The 0.22.0 is not.
Looking at the commits I can't find the commit that should make it work again, maybe you can ref it?

IPv6 is off.

@aledbf
Copy link
Member

aledbf commented Feb 11, 2019

@johan-smits
Copy link
Author

This makes sense, just needs to wait for the 0.23.0 release then.

@aledbf
Copy link
Member

aledbf commented Feb 14, 2019

Closing. Fixed in master #3748

@aledbf aledbf closed this as completed Feb 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants