#1 Global Leader in Data Protection & Ransomware Recovery

Connection forcibly closed by remote host

KB ID: 1781
Product: Veeam Backup & Replication
Published: 2013-07-05
Last Modified: 2022-08-17
Languages: FR | ES
mailbox
Get weekly article updates
By subscribing, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.

Cheers for trusting us with the spot in your mailbox!

Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest

error icon

Oops! Something went wrong.

Please try again later.

Challenge

While a job is processing, a job may intermittently fail while sending data from the source proxy to the target proxy/repository server with:
srv| ERR |Server session thread has failed.
srv| >> |An existing connection was forcibly closed by the remote host

Cause

This is related to a networking issue between the servers. These errors are most common when going across a WAN network. However, they can occasionally happen to local traffic as well.

Solution

Typically this issue is related to packet loss somewhere on the network between the two servers. There are some utilities to test the line, it is advisable to involve the ISP or networking team.

Some common tools typically recommended for testing are Iperf as it can give quite a bit of information about the network connection and Wireshark.

More Information

If the "forcibly closed by the remote host" error occurs consistently, a full investigation of the network instability is suggested as documented in the Solution section above. However, if the error only occurs occasionally, it is possible to adjust the number of reconnect attempts the agent processes perform. To do so, create the following registry value on the Veeam Backup server.

Key Location: HKLM\SOFTWARE\Veeam\Veeam Backup and Replication\
Value Name: AgentMaxReconnectRetries
Value Type: DWORD (32-bit) Value
Value Data(Default): 30

The default is 30 retries. This may be increased as needed.

To submit feedback regarding this article, please click this link: Send Article Feedback
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.

Spelling error in text

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please try again later.

You have selected too large block!

Please try select less.

KB Feedback/Suggestion

This form is only for KB Feedback/Suggestions, if you need help with the software open a support case

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Verify your email to continue your product download
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

error icon

Oops! Something went wrong.

Please try again later.