Maintain control of your Microsoft 365 data
Post Reply
techK
Influencer
Posts: 10
Liked: 1 time
Joined: Mar 30, 2022 1:39 am
Contact:

Failed to upgrade proxy agent

Post by techK »

Updated my V365 to the latest v8 and it seems to not able to update my proxy agent, not able to allow me to do backups. Error its throwing:

Authentication failed, see inner exception. Rollback error: Handshake failed. Reason:Unable to read data from the transport connection. An existing connection was forcibly closed by the remote host.

Case for this: Case #07407217 but have not gotten an update since Friday.

Firewall on the proxy server is off and still throws that error, not sure what's going on?
G_Mellor
Influencer
Posts: 17
Liked: 3 times
Joined: Jun 09, 2020 3:50 am
Full Name: Gary Mellor
Contact:

Re: Failed to upgrade proxy agent

Post by G_Mellor »

Have you tried disabling the firewall on the Veeam for M365 server itself? Obviously not as a permanent solution, but just to prove where the issue lies. I had the same issue on Friday when upgrading.

There's a couple of new ports on the main App server that the Proxy needs to be able to connect to: NATS on port 4222 and PostgreSQL on port 5432.

Veeam B&R creates Windows firewall rules for it's components when they're installed - it would be very nice if Veeam for M365 would do the same! Yes, the ports are documented (https://helpcenter.veeam.com/docs/vbo36 ... tml?ver=80), but it's not clear at first read through that the last two entries are new and that each proxy needs to be able to talk to PostgreSQL and NATS.
Mike Resseler
Product Manager
Posts: 8220
Liked: 1333 times
Joined: Feb 08, 2013 3:08 pm
Full Name: Mike Resseler
Location: Belgium
Contact:

Re: Failed to upgrade proxy agent

Post by Mike Resseler »

@G_Mellor Good thinking!

@techK This might indeed be the issue. In v8 has significant architecture changes to support huge environments and moving away from the v7 and previous config database to PostgreSQL, and using NATS for queuing the backup of the separate objects is another one (also proxy pools, make sure you read up on that if you have a bit of a larger environment). For the creation of those rules, I will investigate why it hasn't done this. I might be wrong but it does it in a new installation, maybe it failed because it was an upgrade, need to find out.
techK
Influencer
Posts: 10
Liked: 1 time
Joined: Mar 30, 2022 1:39 am
Contact:

Re: Failed to upgrade proxy agent

Post by techK »

G_Mellor wrote: Sep 10, 2024 4:46 am Have you tried disabling the firewall on the Veeam for M365 server itself? Obviously not as a permanent solution, but just to prove where the issue lies. I had the same issue on Friday when upgrading.

There's a couple of new ports on the main App server that the Proxy needs to be able to connect to: NATS on port 4222 and PostgreSQL on port 5432.

Veeam B&R creates Windows firewall rules for it's components when they're installed - it would be very nice if Veeam for M365 would do the same! Yes, the ports are documented (https://helpcenter.veeam.com/docs/vbo36 ... tml?ver=80), but it's not clear at first read through that the last two entries are new and that each proxy needs to be able to talk to PostgreSQL and NATS.
Thanks, I opened the ports on the proxy server, but still not connecting even with firewall disabled on both proxy and server and even opened the ports on the server.
Mike Resseler
Product Manager
Posts: 8220
Liked: 1333 times
Joined: Feb 08, 2013 3:08 pm
Full Name: Mike Resseler
Location: Belgium
Contact:

Re: Failed to upgrade proxy agent

Post by Mike Resseler »

In that case, please create a support ticket and post the ticket ID here. That means something else is wrong I'm afraid
sebkoe
Influencer
Posts: 14
Liked: 1 time
Joined: Aug 20, 2021 11:07 am
Full Name: Sebastian
Contact:

Re: Failed to upgrade proxy agent

Post by sebkoe »

i have the same issue when i try to upgrade my proxy and also no answer yet. Case is #03365075
dotdk
Service Provider
Posts: 58
Liked: 19 times
Joined: Jun 14, 2019 11:55 am
Full Name: Thomas Lund
Contact:

Re: Failed to upgrade proxy agent

Post by dotdk »

Was this problem resolved? We are seeing the same problem but still no resolution with support.
sebkoe
Influencer
Posts: 14
Liked: 1 time
Joined: Aug 20, 2021 11:07 am
Full Name: Sebastian
Contact:

Re: Failed to upgrade proxy agent

Post by sebkoe »

nope, i had to do a rollback.
jasonede
Service Provider
Posts: 125
Liked: 31 times
Joined: Jan 04, 2018 4:51 pm
Contact:

Re: Failed to upgrade proxy agent

Post by jasonede »

I had this issue and then found there are some pre-requisites that need to be manually updated on each proxy and then the update ran through ok. https://helpcenter.veeam.com/docs/vbo36 ... tml?ver=80
dotdk
Service Provider
Posts: 58
Liked: 19 times
Joined: Jun 14, 2019 11:55 am
Full Name: Thomas Lund
Contact:

Re: Failed to upgrade proxy agent

Post by dotdk »

Ouch, what was the conclusion by support?
dotdk
Service Provider
Posts: 58
Liked: 19 times
Joined: Jun 14, 2019 11:55 am
Full Name: Thomas Lund
Contact:

Re: Failed to upgrade proxy agent

Post by dotdk »

jasonede wrote: Oct 23, 2024 1:22 pm I had this issue and then found there are some pre-requisites that need to be manually updated on each proxy and then the update ran through ok. https://helpcenter.veeam.com/docs/vbo36 ... tml?ver=80
Can you share if there were any other prereqs than "Microsoft .NET and Windows PowerShell must be installed on a target machine in advance."
jasonede
Service Provider
Posts: 125
Liked: 31 times
Joined: Jan 04, 2018 4:51 pm
Contact:

Re: Failed to upgrade proxy agent

Post by jasonede »

I just updated those 2. I'm sure I found the exact versions needed somewhere but can't find that info now.
adrian_mth
Novice
Posts: 5
Liked: 1 time
Joined: Jul 04, 2023 11:48 am
Full Name: Adrian Muth
Contact:

Re: Failed to upgrade proxy agent

Post by adrian_mth »

Hi, I have exactly the same problem.
.NET and Powershell 7 are installed. Firewall is deactivated on the VBO and the proxy. Nevertheless, I run into the problem again and again. I have already tried to upgrade the HW (VM) so that there is simply more ‘power’ available for the update, but that doesn't change anything either. I've been trying to install v8 in the now different versions on our dev environment (1:1 like Prod) since release. So far it hasn't worked once. I have already opened a ticket about this. The solution should be: Delete the entire proxy, change all jobs to the default repo and completely reinstall the proxy, reconnect all repos and then change the jobs back to the correct proxies/repos. Sorry but this is not a possible solution for us especially not if we have to do the same in the prod environment!!
adrian_mth
Novice
Posts: 5
Liked: 1 time
Joined: Jul 04, 2023 11:48 am
Full Name: Adrian Muth
Contact:

Re: Failed to upgrade proxy agent

Post by adrian_mth »

Any Update here?
Polina
Veeam Software
Posts: 3456
Liked: 828 times
Joined: Oct 21, 2011 11:22 am
Full Name: Polina Vasileva

Re: Failed to upgrade proxy agent

Post by Polina »

Hi Adrian,

Can you please send me your support case ID?
adrian_mth
Novice
Posts: 5
Liked: 1 time
Joined: Jul 04, 2023 11:48 am
Full Name: Adrian Muth
Contact:

Re: Failed to upgrade proxy agent

Post by adrian_mth » 1 person likes this post

The problem sounded like a general problem so I did not open a case until now and hoped for a solution from the others. I have now opened a case because the problem still exists: #07506859
adrian_mth
Novice
Posts: 5
Liked: 1 time
Joined: Jul 04, 2023 11:48 am
Full Name: Adrian Muth
Contact:

Re: Failed to upgrade proxy agent

Post by adrian_mth »

We were able to solve the problem ourselves. We looked at the Windows logs and found that there were some NTLM Auth errors. As our AD is very hardened, NTLM is deactivated. We just re-enabled it for the veeam servers and the update worked. Maybe this will help one or the other.
JRRW
Enthusiast
Posts: 82
Liked: 49 times
Joined: Dec 10, 2019 3:59 pm
Full Name: Ryan Walker
Contact:

Re: Failed to upgrade proxy agent

Post by JRRW »

FWIW
Upgraded from 7 > 8
Console/Proxy on Server 2019 Datacenter UI / Server 2019 Datacenter Core
  • Had to manually install Powershell 7.5 on the Proxy (it claimed 7.4, but installing 7.4 did not resolve)
  • Had to install .net 8 RUNTIME
  • Had to open ports 4222 and 5432
  • Had to reboot my Proxy - it just didn't like something despite all of this
Here's a dirty PS script for the firewall stuff. I was going to script out the download/install of the apps but I'm too lazy at the moment. Note: This is all ports that might be needed by backup for M365 - customize if you don't need like, 25 open.

Code: Select all

$ruleName = "Veeam M365 Portz"

# Remove existing rule (if exists)
if (Get-NetFirewallRule -DisplayName $ruleName -ErrorAction SilentlyContinue) {
    Remove-NetFirewallRule -DisplayName $ruleName -Confirm:$false
}

# Define all required ports - this includes some that not all proxies/consoles may need
$allPorts = "9192,9191,5432,4222,443,445,135,5985,5986,25,465,587,9193"

# Create the firewall rule based on what you listed before
New-NetFirewallRule -DisplayName $ruleName `
    -Direction Inbound `
    -Action Allow `
    -Profile Any `
    -EdgeTraversalPolicy Block `
    -Protocol TCP `
    -LocalPort $allPorts `
    -RemotePort Any `
    -LocalAddress Any `
    -RemoteAddress Any `
    -Program Any `
    -Service Any
Once I did this? Worked fine... /shrug not sure why this wasn't QA'd before release though - upgrades should be your primary focus on QA IMHO.
Post Reply

Who is online

Users browsing this forum: No registered users and 36 guests