mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #5632] [bug]: Corrupted registry.json Prevents Hoppscotch Desktop From Starting on Windows 11 #2179
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#2179
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 @VINICIUSOLIVER on GitHub (Nov 28, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5632
Originally assigned to: @CuriousCorrelation on GitHub.
Is there an existing issue for this?
Platform
Desktop App
Browser
Chrome
Operating System
Windows
Bug Description
Hoppscotch Desktop fails to start on Windows 11 due to an automatically generated configuration file (registry.json) containing invalid JSON.
The issue occurs in the appload plugin, which crashes during deserialization because of extra trailing characters added to the file.
Environment
Operating System: Windows 11
Hoppscotch Desktop Version: v25.11.0
Mode: Standard
Config directory: C:\Users<user>\AppData\Roaming\io.hoppscotch.desktop
Problem Description:
When launching Hoppscotch Desktop, the application immediately exits.
The logs show:
failed to initialize plugin
appload: Configuration error: Serialization error: trailing characters at line 11 column 2After inspecting the configuration, the generated registry.json file contained extra closing braces, resulting in invalid JSON:
{
"version": 1,
"servers": {
"https://vendor": {
"bundle_name": "hoppscotch",
"version": "0.1.0",
"created_at": "2025-11-20T08:32:18.686798Z",
"last_accessed": "2025-11-20T08:32:18.686798300Z"
}
}
}}}
Because of this corruption, the appload plugin fails and the application cannot start.
Deployment Type
Hoppscotch Cloud
Version
25.11.0
@CuriousCorrelation commented on GitHub (Nov 30, 2025):
Hi @VINICIUSOLIVER thanks for the detailed report!
There's already an issue for this at https://github.com/hoppscotch/hoppscotch/issues/5599 although this adds important context to the main issue so I'll be keeping both open.
This is quite a strange buy because the ser/de process is not handled manually from the plugin. We'll be looking into fixing this with a patch release soon.
@CuriousCorrelation commented on GitHub (Dec 5, 2025):
Hi @VINICIUSOLIVER, the latest build has better handling for partial updates to the
registry.jsonfile, which should hopefully fix this issue.To test, you can temporarily rename
registry.jsontoregistry.json.backup(or delete it and then restore) and let the app regenerate it fresh. Let me know if the issue persists.@VINICIUSOLIVER commented on GitHub (Dec 7, 2025):
Hi! After the update, the issue was resolved. I deleted the registry.json file, and the application recreated it correctly. Thanks!