I am configuring Traefik (v2.6.6) in a Kubernetes cluster for redirecting TCP traffic to a Jenkins Kubernetes service which listen to port 50000.
For that I have created two resources:
- An entrypoint which receives traffic through port 50000 and whose protocol is TCP
- To reach the Jenkins service I have created a TCP router which should redirect traffic from the entrypoint to the Jenkins Kubernetes service on port 50000
When I try to communicate with the service I get the following error:
Jun 23, 2022 10:03:51 AM hudson.remoting.jnlp.Main$CuiListener error SEVERE: The server rejected the connection: None of the protocols were accepted java.lang.Exception: The server rejected the connection: None of the protocols were accepted at hudson.remoting.Engine.onConnectionRejected(Engine.java:864) at hudson.remoting.Engine.innerRun(Engine.java:804) at hudson.remoting.Engine.run(Engine.java:540)
It seems like Traefik are not accepting traffic from TCP protocol.
I don't know if I am missing something or if some resource is not configured correctly but do any of you have any idea of what could be going on?