-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 receive control message: Connection reset by peer #1683
Comments
NAME="Rocky Linux" My os is above |
Few comments/questions:
(By the way, 3.5 is quite an old version, especially for a build done in Aug. 2023. Is there a reason for not using a newer version?) |
this is the client command used... iperf3 -c 30.10.0.1 -i1 -p 5004 -t 80 -b 1m -l 1300 -V -R -u and server command is this... [ndacblr@localhost ~]$ iperf3 -s -i 1 -p 5002Server listening on 5002Accepted connection from 10.10.31.86, port 42332 Reason for the 3.5 versionActually our yum repo brought the 3.5 version of iperf. So it is not manually pulled. |
We have seen that TCP is working fine. Whereas UDP is failing |
Some further clarifications will help:
|
this from the client. [test@localhost ~]$ iperf3 -c 30.10.0.2 -i1 -p 5004 -t 80 -b 1m -l 1300 -V -R -u ========================================================== iperf3 -s -i 1 -p 5004 Server listening on 5004 Accepted connection from 10.10.31.106, port 41714 |
this is with the latest version. 3.16 server/home/ndacblr/iperf-3.16/src/iperf3 -s -i 1 -p 5004 Accepted connection from 10.10.31.118, port 51760 Server listening on 5004 (test #2) Accepted connection from 10.10.31.118, port 57128 Server listening on 5004 (test #3) client[ndacblr@localhost iperf-3.16]$ /home/ndacblr/iperf-3.16/src/iperf3 -c 30.10.0.7 -i1 -p 5004 -t 80 -b 1m -l 1300 -V -R -u |
What we have observed is first couple of seconds, say for a minute the connection reset comes. But after trying few minute later it works. |
Do you mean few minutes after executing the server? I.e. that after you execute the server it takes few minutes until you can run a successful test? Also, does the error happen immediately after the "[ 5] local ..." message is printed, or it takes some time between these two messages?
By "typically" you mean that some times the error happens also for TCP? Also, it will help if you can try the UDP test without the
Can you run both server and client using
The client and server are showing different IP addresses, e.g. the server show its address as 20.10.20.1 while the client is connecting to 30.10.0.7. I therefore assume that NAT is performed in between. Can you describe the network between the client and server? Especially, is there a load balancer / proxy between them, e.g. HAProxy? |
We are constantly getting the connection reset by peer while using the iperf.
below error is coming
iperf 3.5
Linux localhost.localdomain 4.18.0-477.21.1.el8_8.x86_64 #1 SMP Tue Aug 8 21:30:09 UTC 2023 x86_64
iperf3: error - unable to receive control message: Connection reset by peer
Control connection MSS 1404
Time: Thu, 18 Apr 2024 07:46:13 GMT
Connecting to host 30.10.0.1, port 6002
Cookie: wmo2ueosgoevosxf2iuucucx3kcm3amzager
[ 5] local 30.10.0.0 port 45393 connected to 30.10.0.1 port 6002
This is happening predominantly when we trigger it from the SSHLibrary.Write ${command}
class SSHLibrary(object):
"""SSHLibrary is a Robot Framework test library for SSH and SFTP.
This is a python library..
The text was updated successfully, but these errors were encountered: