[GH-ISSUE #5022] Auto-update windows, returns http 404 error #9751

Closed
opened 2026-08-05 01:23:20 -04:00 by saavagebueno · 4 comments
Owner

Originally created by @JesperBeltman on GitHub (Jan 3, 2026).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/5022

Originally assigned to: @pappz on GitHub.

Describe the problem

Auto-update fails because it gets a 404 http error, because the urls are wrong, atleast i do think thats causing it.

To Reproduce

Steps to reproduce the behavior:

  1. Have version 0.61.0
  2. Configure management to update to either latest or to version 0.61.1
  3. Observe the windows log
  4. See error %programdata%/Netbird/tmp-install/result.json
  5. {"Success":false,"Error":"download failed after retry: unexpected HTTP status: 404","ExecutedAt":"2026-01-03T14:00:18.7222347+01:00"}

Expected behavior

A auto update of the version to 0.61.1

Are you using NetBird Cloud?

I am using self-hosted version.

NetBird version

Management is 0.61.1
Client is 0.61.0

Is any other VPN software installed?

No.

Debug output

2026-01-03T13:53:14+01:00 INFO client/internal/connect.go:324: start engine by ui, run auto-update check
2026-01-03T13:53:14+01:00 INFO client/internal/engine.go:763: starting auto-update manager
2026-01-03T13:53:14+01:00 INFO client/internal/engine.go:771: handling auto-update version: 0.61.1
2026-01-03T13:53:14+01:00 INFO client/internal/updatemanager/manager.go:149: set expected agent version for upgrade: 0.61.1
2026-01-03T13:53:14+01:00 INFO client/internal/updatemanager/manager.go:269: Auto-update triggered, current version: 0.61.0, target version: 0.61.1
2026-01-03T13:53:14+01:00 INFO client/internal/updatemanager/installer/installer_common.go:65: download installer
2026-01-03T13:53:14+01:00 WARN client/internal/updatemanager/downloader/downloader.go:46: download failed, retrying after 3s: unexpected HTTP status: 404

Screenshots

Image

Additional context

Inside the file: client/internal/updatemanager/installer/installer_run_windows.go on line 25 and 26 there exist these 2 variables:
msiDownloadURL = "https://github.com/mlsmaycon/netbird/releases/download/v%version/netbird_installer_%version_windows_%arch.msi"
exeDownloadURL = "https://github.com/mlsmaycon/netbird/releases/download/v%version/netbird_installer_%version_windows_%arch.exe"

proposed change would be:
msiDownloadURL = "https://github.com/netbirdio/netbird/releases/download/v%version/netbird_installer_%version_windows_%arch.msi"
exeDownloadURL = "https://github.com/netbirdio/netbird/releases/download/v%version/netbird_installer_%version_windows_%arch.exe"

Have you tried these troubleshooting steps?

  • Reviewed client troubleshooting (if applicable)
  • Checked for newer NetBird versions
  • Searched for similar issues on GitHub (including closed ones)
  • Restarted the NetBird client
  • Disabled other VPN software
  • Checked firewall settings
Originally created by @JesperBeltman on GitHub (Jan 3, 2026). Original GitHub issue: https://github.com/netbirdio/netbird/issues/5022 Originally assigned to: @pappz on GitHub. **Describe the problem** Auto-update fails because it gets a 404 http error, because the urls are wrong, atleast i do think thats causing it. **To Reproduce** Steps to reproduce the behavior: 1. Have version 0.61.0 2. Configure management to update to either latest or to version 0.61.1 3. Observe the windows log 4. See error %programdata%/Netbird/tmp-install/result.json 5. ``{"Success":false,"Error":"download failed after retry: unexpected HTTP status: 404","ExecutedAt":"2026-01-03T14:00:18.7222347+01:00"}`` **Expected behavior** A auto update of the version to 0.61.1 **Are you using NetBird Cloud?** I am using self-hosted version. **NetBird version** Management is 0.61.1 Client is 0.61.0 **Is any other VPN software installed?** No. **Debug output** 2026-01-03T13:53:14+01:00 INFO client/internal/connect.go:324: start engine by ui, run auto-update check 2026-01-03T13:53:14+01:00 INFO client/internal/engine.go:763: starting auto-update manager 2026-01-03T13:53:14+01:00 INFO client/internal/engine.go:771: handling auto-update version: 0.61.1 2026-01-03T13:53:14+01:00 INFO client/internal/updatemanager/manager.go:149: set expected agent version for upgrade: 0.61.1 2026-01-03T13:53:14+01:00 INFO client/internal/updatemanager/manager.go:269: Auto-update triggered, current version: 0.61.0, target version: 0.61.1 2026-01-03T13:53:14+01:00 INFO client/internal/updatemanager/installer/installer_common.go:65: download installer 2026-01-03T13:53:14+01:00 WARN client/internal/updatemanager/downloader/downloader.go:46: download failed, retrying after 3s: unexpected HTTP status: 404 **Screenshots** <img width="757" height="203" alt="Image" src="https://github.com/user-attachments/assets/514c91cc-5620-4793-a009-ab42b5a852b1" /> **Additional context** Inside the file: client/internal/updatemanager/installer/installer_run_windows.go on line 25 and 26 there exist these 2 variables: msiDownloadURL = "https://github.com/mlsmaycon/netbird/releases/download/v%version/netbird_installer_%version_windows_%arch.msi" exeDownloadURL = "https://github.com/mlsmaycon/netbird/releases/download/v%version/netbird_installer_%version_windows_%arch.exe" proposed change would be: msiDownloadURL = "https://github.com/netbirdio/netbird/releases/download/v%version/netbird_installer_%version_windows_%arch.msi" exeDownloadURL = "https://github.com/netbirdio/netbird/releases/download/v%version/netbird_installer_%version_windows_%arch.exe" **Have you tried these troubleshooting steps?** - [ ] Reviewed [client troubleshooting](https://docs.netbird.io/how-to/troubleshooting-client) (if applicable) - [x] Checked for newer NetBird versions - [x] Searched for similar issues on GitHub (including closed ones) - [x] Restarted the NetBird client - [ ] Disabled other VPN software - [ ] Checked firewall settings
saavagebueno added the triage-needed label 2026-08-05 01:23:20 -04:00
Author
Owner

@JesperBeltman commented on GitHub (Jan 3, 2026):

#4732

<!-- gh-comment-id:3707051518 --> @JesperBeltman commented on GitHub (Jan 3, 2026): #4732
Author
Owner

@JesperBeltman commented on GitHub (Jan 3, 2026):

@pappz sorry for the ping and thanks in advance 👍

<!-- gh-comment-id:3707055573 --> @JesperBeltman commented on GitHub (Jan 3, 2026): @pappz sorry for the ping and thanks in advance 👍
Author
Owner

@pappz commented on GitHub (Jan 3, 2026):

Hello @JesperBeltman! Thank you for the detailed description. The bug fix is on the way.

<!-- gh-comment-id:3707159377 --> @pappz commented on GitHub (Jan 3, 2026): Hello @JesperBeltman! Thank you for the detailed description. The bug fix is on the way.
Author
Owner

@JesperBeltman commented on GitHub (Jan 3, 2026):

Thanks. Great job. I hope to test it soon when version 0.61.3 is available.

Completed issue as I see the patch is made.

<!-- gh-comment-id:3707254997 --> @JesperBeltman commented on GitHub (Jan 3, 2026): Thanks. Great job. I hope to test it soon when version 0.61.3 is available. Completed issue as I see the patch is made.
Sign in to join this conversation.
No Label triage-needed
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#9751