Skip to content
This repository has been archived by the owner on Aug 19, 2020. It is now read-only.

TCP connection failed on udp port #44

Open
Cyclic3 opened this issue Apr 4, 2018 · 2 comments
Open

TCP connection failed on udp port #44

Cyclic3 opened this issue Apr 4, 2018 · 2 comments

Comments

@Cyclic3
Copy link

Cyclic3 commented Apr 4, 2018

When I use this on a service that exposes a udp port, I get the following errors:

Wed Apr  4 10:13:47 2018: TCP connection to [10.40.0.5]:udp:34197 failed.
Wed Apr  4 10:13:48 2018: TCP connection to [10.40.0.5]:udp:34197 failed.
Wed Apr  4 10:13:48 2018: Check on service [10.40.0.5]:udp:34197 failed after 1 retry.
Wed Apr  4 10:13:48 2018: Removing service [10.40.0.5]:udp:34197 to VS [192.168.1.127]:udp:34197

It appears as if the system is treating the udp port as a tcp port.

Any ideas?

@steven-sheehy
Copy link
Contributor

As a workaround, use the VIP as an externalIP on your service and don't put the service name in your keepalived configmap. This will avoid the use of a tcp check.

@Cyclic3
Copy link
Author

Cyclic3 commented Dec 9, 2018

Ok, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants