mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #5702] [bug]: Cannot connect Hoppscotch Desktop App to self-hosted instance (Verification error: Invalid signature) #2216
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#2216
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Warathep187 on GitHub (Dec 17, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5702
Originally assigned to: @CuriousCorrelation on GitHub.
Is there an existing issue for this?
Platform
Desktop App
Browser
Chrome
Operating System
macOS
Bug Description
I’m experiencing an issue when using the Hoppscotch Desktop application to connect to a self-hosted Hoppscotch instance.
Previously, I was able to connect to the same self-hosted instance without any problems. However, recently when I try to add the instance again, it fails.
I have already tried clearing the cache using the Clear Cache button in the desktop app and also completely uninstalling and reinstalling the application, but the issue still persists.
Steps
An error message is shown:
Failed to download instance: Verification error: Invalid signature
Deployment Type
Self-hosted (on-prem deployment)
Version
2025.11.2
@CuriousCorrelation commented on GitHub (Dec 17, 2025):
Hi @Warathep187, we have seen something similar before https://github.com/hoppscotch/hoppscotch/discussions/4885 - could you see if the discussion helps with your issue as well. If not, I'll be happy to look further into this one.
@Warathep187 commented on GitHub (Dec 17, 2025):
Thanks for the suggestion. I’ve checked #4885 and my setup is similar.
I’m also running Hoppscotch in a non–all-in-one deployment on Kubernetes in my homelab server. I followed the solution described in that issue link but it did not resolve the problem in my case.
@CuriousCorrelation commented on GitHub (Dec 17, 2025):
Hi @Warathep187, thanks for the context. If you have similar setup, the "Invalid signature" error you're seeing is I believe caused by the webapp-server generating ephemeral signing keys on each restart or across replicas. When the desktop app caches a bundle signed with one key, then the server restarts (or a different replica responds) with a new key, signature verification fails.
While the idea behind that is security and preventing version mismatch that could potentially corrupt user data, we actually just merged a feature for this in #5644 that adds signing key persistence. The changes haven't been released yet, but once they are, you'll have a few options to make sure you have consistent keys across the pods, basically:
For single replica with persistent storage:
The server will auto-persist the signing key to
/data/webapp-server/signing.key.For multiple replicas (or if you can't mount a volume):
This will make sure all replicas derive the same key deterministically.
Alternative env vars (in priority order):
WEBAPP_SERVER_SIGNING_KEYWEBAPP_SERVER_SIGNING_SEEDWEBAPP_SERVER_SIGNING_SECRETOnce the next release drops with #5644, updating should resolve this.
@Warathep187 commented on GitHub (Dec 17, 2025):
Okay, I understand the issue now. Thank you very much for the explanation. I’ll look forward to the new release 😀