unable to receive control message: Connection reset by peer
- Dominant language
- C
- Stars
- 8.8k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
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..
def write(self, text, loglevel=None):
"""Writes the given ``text`` on the remote machine and appends a newline.
Appended `newline` can be configured.
This keyword returns and consumes the written ``text``
(including the appended newline) from the server output. See the
`Interactive shells` section for more information.
The written ``text`` is logged. ``loglevel`` can be used to override
the default `log level`.
Example:
| ${written}= | `Write` | su |
| `Should Contain` | ${written} | su | # Returns the consumed output |
| ${output}= | `Read` |
| `Should Not Contain` | ${output} | ${written} | # Was consumed from the output |
| `Should Contain` | ${output} | Password: |
| `Write` | invalidpasswd |
| ${output}= | `Read` |
| `Should Contain` | ${output} | su: Authentication failure |
See also `Write Bare`.
"""
self._write(text, add_newline=True)
return self._read_and_log(loglevel, self.current.read_until_newline)
Contributor guide
Assessment
This issue has not been assessed yet.