Skip to content

[Bug]: Server URL in the Desktop-Client is overwritten by SiteURL configured at server #3811

Description

@Profesor08

Checks before filing an issue

Mattermost Desktop Version

Desktop App Version 6.1.2

Operating System

Windows 11 x64

Mattermost Server Version

Server Version 11.4.1

Steps to reproduce

  1. Open Edit Server dialog
  2. Edit Server URL

Expected behavior

Server URL to not change to configured on server

Observed behavior

Server URL is changing to configured on server

Log Output

[2026-05-07 12:04:13.533] [error] Logger Log level set to: { level: 'info' }
[2026-05-07 12:04:13.729] [info]  [SentryHandler] Sentry initialized for error tracking { isPrerelease: false }
[2026-05-07 12:04:13.800] [info]  [App.Config] config.autostart has been configured: { autostart: true }
[2026-05-07 12:04:13.800] [info]  [App.Config] config.autostart has been configured: { autostart: true }
[2026-05-07 12:04:13.809] [info]  [SecureStorage] Secure storage initialized - encryption available
[2026-05-07 12:04:13.823] [info]  [SecureStorage] Initialized secure storage cache
[2026-05-07 12:04:13.861] [info]  [ServerDropdownView] init
[2026-05-07 12:04:13.931] [info]  [i18nManager] Set new language { locale: 'en' }
[2026-05-07 12:04:14.019] [info]  [App.Config] config.autostart has been configured: { autostart: true }
[2026-05-07 12:04:18.912] [info]  [UpdateNotifier] Checking for updates { manually: false }
[2026-05-07 12:04:18.912] [info]  [UpdateNotifier] Fetching update info from { url: 'https://releases.mattermost.com/desktop/latest.txt' }
[2026-05-07 12:04:19.391] [info]  [UpdateNotifier] Remote version found { remoteVersion: '6.1.2', currentVersion: '6.1.2' }
[2026-05-07 12:04:19.391] [info]  [UpdateNotifier] No update available { remoteVersion: '6.1.2', currentVersion: '6.1.2' }
[2026-05-07 12:04:31.106] [info]  [ModalView] [editServer] preloading with C:\Program Files\Mattermost\resources\app.asar\internalAPI.js

Additional Information

Server is located in one place, and allows to configure only one URL (main.example.com). Users has issues when they are located in various regions, with different restrictions. Configuring a few CDNs (local.example.com, eu.example.com, us.example.com), fixes this issues. Users can access mattermost from browser, and communicate fine. But desktop app, not accepting this urls, and overwrites it with url from server (main.example.com). The is only solution was found, is to modify hosts file 127.127.127.127 main.example.com, to make desktop app to work somehow, ignoring sertificate errors. But finally, app works fine.

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