JetKVM always connects to api.jetkvm.com when settings are opened #78

Open
opened 2026-02-20 08:20:06 -05:00 by deekerman · 1 comment
Owner

Originally created by @jjeising on GitHub (Jan 28, 2025).

Every time the settings panel is shown, getUpdateStatus is called:

github.com/jetkvm/kvm@8ffe66a1bc/ui/src/components/sidebar/settings.tsx (L316)

GetUpdateStatus then calls fetchUpdateMetadata, which connects to api.jetkvm.com/releases:

github.com/jetkvm/kvm@8ffe66a1bc/ota.go (L449C25-L449C44)

When auto update is disabled, JetKVM should only connect to api.jetkvm.com when "Check for updates" is run (probably in UpdateDialog).

Originally created by @jjeising on GitHub (Jan 28, 2025). Every time the settings panel is shown, `getUpdateStatus` is called: https://github.com/jetkvm/kvm/blob/8ffe66a1bc63b38c3eea44ec3f10c75ba00836c1/ui/src/components/sidebar/settings.tsx#L316 `GetUpdateStatus` then calls `fetchUpdateMetadata`, which connects to `api.jetkvm.com/releases`: https://github.com/jetkvm/kvm/blob/8ffe66a1bc63b38c3eea44ec3f10c75ba00836c1/ota.go#L449C25-L449C44 When auto update is disabled, JetKVM should only connect to `api.jetkvm.com` when "Check for updates" is run (probably in `UpdateDialog`).
Author
Owner

@Nevexo commented on GitHub (Jan 28, 2025):

It's not quite every time, as the settings menu items are only loaded when the page loads, but I agree that it shouldn't be trying to contact the API at all unless auto update is enabled/Check for Update is clicked.

@Nevexo commented on GitHub (Jan 28, 2025): It's _not quite every time_, as the settings menu items are only loaded when the page loads, but I agree that it shouldn't be trying to contact the API at all unless auto update is enabled/Check for Update is clicked.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/kvm#78
No description provided.