Skip to main content
Solved

Backup stopped working


Hello,

 

I have a Veeam server that backs up a Win server 2016 server located at another location.  Veeam connects to this VM over a SDWAN connection (Zerotier)  This has worked perfectly for years.  All of a sudden, a few days ago, it started failing.  I uninstalled all components (Veeam Agent) from the server, then redeployed the agent.  I can ping the remote server, install the veeam agent, etc on it.  But when I run the job, I get an error:  “Error: Failed to connect to remote backup service.”  

 

Any ideas what could cause this?

Best answer by Iams3le

> from the transport connection: An existing connection was forcibly closed by the remote host.

This output looks like a firewall issue at a first glance. Was there a recent change in the network? I asked because of this clause “  All of a sudden, a few days ago, it started failing”. Please check this!

> I can ping the remote server, install the veeam agent, etc on it.

The target machine is running, no doubt from your remark! But the service that you're trying to connect to is not available.

 

View original
Did this topic help you find an answer to your question?

10 comments

MicoolPaul
Forum|alt.badge.img+23
  • 2363 comments
  • February 28, 2022

I’d immediately be thinking it’s either firewall or NAT. Can you provide more information on these categories to confirm you’ve met the port requirements here:

 

https://helpcenter.veeam.com/docs/backup/vsphere/used_ports.html?ver=110


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • 8524 comments
  • February 28, 2022

We will need more information to help further -

  1. What version is Veeam on the backup server?
  2. What is the agent version?
  3. What do the logs say which you can find here on the Backup server - C:\ProgramData\Veeam

To me the error means the backup service on the agent could possibly be down but that is just a guess at this point.


Mildur
Forum|alt.badge.img+12
  • Influencer
  • 1035 comments
  • February 28, 2022

If it‘s NAT, then I wonder how it have worked until now.

NAT for Veeam Agents is not supported by veeam.

You need either a VPN connection between the agent and the backup server or Veeam Cloud Connect (as a Service provider or Veeam Cloud Connect for Enterprise if you are an eligible customer).


  • Author
  • New Here
  • 3 comments
  • February 28, 2022

I am using Backup & Replication 11 - Community edition

The Veeam agent version is whatever version that is pushed out by the backup server.  (How do I check t his?)

 

I can see logs. Is there a specific one you are looking for?

 

I do see this in one of the logs:

 

[28.02.2022 13:43:05] <159> Error        Failed to exec command from foreign socket
[28.02.2022 13:43:05] <159> Error        Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. (System.IO.IOException)
[28.02.2022 13:43:05] <159> Error           at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
[28.02.2022 13:43:05] <159> Error           at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
[28.02.2022 13:43:05] <159> Error           at System.Net.Security._SslStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
[28.02.2022 13:43:05] <159> Error           at System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
[28.02.2022 13:43:05] <159> Error           at System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
[28.02.2022 13:43:05] <159> Error           at System.Net.Security.SslStream.Read(Byte[] buffer, Int32 offset, Int32 count)
[28.02.2022 13:43:05] <159> Error           at System.IO.BinaryReader.FillBuffer(Int32 numBytes)
[28.02.2022 13:43:05] <159> Error           at System.IO.BinaryReader.ReadInt32()
[28.02.2022 13:43:05] <159> Error           at Veeam.Backup.Common.BinaryReaderExm.ReadCompressedString(BinaryReader self, Int32 maxSize, UInt32 uncompressedSize, Encoding encoding)
[28.02.2022 13:43:05] <159> Error           at Veeam.Backup.ServiceLib.CInvokerServer.ExecThreadProc(Object parameters)
[28.02.2022 13:43:05] <159> Error        An existing connection was forcibly closed by the remote host (System.Net.Sockets.SocketException)
[28.02.2022 13:43:05] <159> Error           at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
[28.02.2022 13:43:05] <159> Info         Response: [2816] <RIResponse Exception="AAEAAAD/////AQAAAAAAAAAMAgAAAFdWZWVhbS5CYWNrdXAuQ29tbW9uLCBWZXJzaW9uPTExLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWJmZDY4NGRlMjI3Njc4M2EFAQAAAChW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YKAAAAIlN5c3RlbS5OZXQuU29ja2V0cy5Tb2NrZXRFeGNlcHRpb24GCwAAAFQgICBhdCBTeXN0ZW0uTmV0LlNvY2tldHMuTmV0d29ya1N0cmVhbS5SZWFkKEJ5dGVbXSBidWZmZXIsIEludDMyIG9mZnNldCwgSW50MzIgc2l6ZSkL"><PlainException><KeyValue Key="Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host." Value="System.IO.IOException" /><KeyValue Key="An existing connection was forcibly closed by the remote host" Value="System.Net.Sockets.SocketException" /></PlainException></RIResponse> (to host 'IP REMOVED: 61576')
[28.02.2022 13:43:05] <159> Error        Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. (System.IO.IOException)
[28.02.2022 13:43:05] <159> Error           at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
[28.02.2022 13:43:05] <159> Error           at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
[28.02.2022 13:43:05] <159> Error           at System.Net.Security._SslStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
[28.02.2022 13:43:05] <159> Error           at System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
[28.02.2022 13:43:05] <159> Error           at System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
[28.02.2022 13:43:05] <159> Error           at System.Net.Security.SslStream.Read(Byte[] buffer, Int32 offset, Int32 count)
[28.02.2022 13:43:05] <159> Error           at System.IO.BinaryReader.FillBuffer(Int32 numBytes)
[28.02.2022 13:43:05] <159> Error           at System.IO.BinaryReader.ReadInt32()
[28.02.2022 13:43:05] <159> Error           at Veeam.Backup.Common.BinaryReaderExm.ReadCompressedString(BinaryReader self, Int32 maxSize, UInt32 uncompressedSize, Encoding encoding)
[28.02.2022 13:43:05] <159> Error           at Veeam.Backup.ServiceLib.CInvokerServer.ExecThreadProc(Object parameters)
[28.02.2022 13:43:05] <159> Error        An existing connection was forcibly closed by the remote host (System.Net.Sockets.SocketException)
[28.02.2022 13:43:05] <159> Error           at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

 


Iams3le
Forum|alt.badge.img+11
  • Veeam Legend
  • 1395 comments
  • Answer
  • February 28, 2022

> from the transport connection: An existing connection was forcibly closed by the remote host.

This output looks like a firewall issue at a first glance. Was there a recent change in the network? I asked because of this clause “  All of a sudden, a few days ago, it started failing”. Please check this!

> I can ping the remote server, install the veeam agent, etc on it.

The target machine is running, no doubt from your remark! But the service that you're trying to connect to is not available.

 


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • 8524 comments
  • February 28, 2022

Under C:\ProgramData\Veeam\Backup -- there should be a folder for the Agent job and then logs inside there.  This might tell you what the issue possibly is.


  • Author
  • New Here
  • 3 comments
  • February 28, 2022

Bingo!  Thank you gentlemen.  Sometimes all it takes is a tip to get you back on track.  I DID in fact change something right around that time. All is well now and working.  It was related to a NIC card.

 

Thanks again.


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • 8524 comments
  • February 28, 2022
adam-int wrote:

Bingo!  Thank you gentlemen.  Sometimes all it takes is a tip to get you back on track.  I DID in fact change something right around that time. All is well now and working.  It was related to a NIC card.

 

Thanks again.

Glad to hear you figured it out.


Iams3le
Forum|alt.badge.img+11
  • Veeam Legend
  • 1395 comments
  • February 28, 2022
adam-int wrote:

Bingo!  Thank you gentlemen.  Sometimes all it takes is a tip to get you back on track.  I DID in fact change something right around that time. All is well now and working.  It was related to a NIC card.

 

Thanks again.

Great! I am glad you found the comments useful. Kindly mark the answer you found most useful, thank you.


  • Author
  • New Here
  • 3 comments
  • March 1, 2022

I had more than one helpful answer, but had to pick one.  :)  Thanks again gents.


Comment