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

Intermittent connection timeouts with wireguard #9496

Open
iheng opened this issue Nov 18, 2024 · 2 comments
Open

Intermittent connection timeouts with wireguard #9496

iheng opened this issue Nov 18, 2024 · 2 comments

Comments

@iheng
Copy link

iheng commented Nov 18, 2024

hi, we're facing intermittent connection timeouts with Calico(3.28.2) when wireguard enabled. All work nodes have this issue when wireguard enabled. we're only use wireguard feature, we don't have network policy in place. we have set wireguardHostEncryptionEnabled: true

did tcpdump on source work node when timeout:

 1952 273.760089 10.101.183.71 → 10.101.105.134 TCP 76 [TCP Retransmission] 22000 → 8080 [SYN] Seq=0 Win=62307 Len=0 MSS=8901 SACK_PERM=1 TSval=3517018028 TSecr=0 WS=128
 1953 275.780198 10.101.183.71 → 10.101.105.134 TCP 76 [TCP Retransmission] 22000 → 8080 [SYN] Seq=0 Win=62307 Len=0 MSS=8901 SACK_PERM=1 TSval=3517020048 TSecr=0 WS=128
 1954 276.853040 10.101.183.71 → 10.101.105.134 TCP 76 13915 → 8080 [SYN] Seq=0 Win=62307 Len=0 MSS=8901 SACK_PERM=1 TSval=3517021121 TSecr=0 WS=128
 1955 277.860001 10.101.183.71 → 10.101.105.134 TCP 76 [TCP Retransmission] 13915 → 8080 [SYN] Seq=0 Win=62307 Len=0 MSS=8901 SACK_PERM=1 TSval=3517022128 TSecr=0 WS=128
 1956 279.872015 10.101.183.71 → 10.101.105.134 TCP 76 [TCP Retransmission] 13915 → 8080 [SYN] Seq=0 Win=62307 Len=0 MSS=8901 SACK_PERM=1 TSval=3517024140 TSecr=0 WS=128
 1957 280.970319 10.101.183.71 → 10.101.105.134 TCP 76 56769 → 8080 [SYN] Seq=0 Win=62307 Len=0 MSS=8901 SACK_PERM=1 TSval=3517025238 TSecr=0 WS=128

Expected Behavior

no connection timeout when wireguard enabled

Current Behavior

random connection timeout when wireguard enabled

Possible Solution

disable wireguard with following command solved issue
calicoctl patch felixconfiguration default --type='merge' -p '{"spec":{"wireguardEnabled":false}}'

Steps to Reproduce (for bugs)

not sure how to reproduce it

Context

Your Environment

  • Calico version: 3.28.2
  • Calico dataplane (iptables, windows etc.) iptables v1.8.4 (legacy)
  • Orchestrator version (e.g. kubernetes, mesos, rkt): AWS EKS 1.30
  • Operating System and version: 5.10.225-213.878.amzn2.x86_64
  • Link to your project (optional):
@mazdakn
Copy link
Member

mazdakn commented Nov 19, 2024

@iheng can you check if you are having the same issue as this one: #9223?

@iheng
Copy link
Author

iheng commented Nov 19, 2024

@mazdakn seems not. in my case, cpu usage is low , not exceed 180kps
image

image

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

No branches or pull requests

2 participants