Skip to content

[updater][bug] download_and_install request fails in debug build from installed app #2697

Open
@bicarlsen

Description

@bicarlsen

When launching my Tauri app as an installed debug build Update.download_and_install times out.

It works if launched

  • As a release build
  • As a debug build from the command line
  • Using cargo tauri dev

So it seems to be the specific combination of being

  1. An installed debug build
  2. Not launched from the command line (i.e. from the Start menu, or a shortcut, or by double clicking on the .exe)

Notes

  • I have a timeout of 30 seconds set.
  • In debug builds I have two endpoints: the first is a localhost server I use for testing, the second is the production server that hosts our releases. The update check succeeds if the local server is running, but fails when it is not, causing Updater.check to ping the production server.
  • I've only tested this on a Windows 10 machine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions