[GH-ISSUE #5632] [bug]: Corrupted registry.json Prevents Hoppscotch Desktop From Starting on Windows 11 #2179

Closed
opened 2026-03-16 23:29:36 +03:00 by kerem · 3 comments
Owner

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?

  • I have searched existing issues and this bug hasn't been reported yet

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 2

After 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

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? - [x] I have searched existing issues and this bug hasn't been reported yet ### 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 2 After 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
kerem 2026-03-16 23:29:36 +03:00
Author
Owner

@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.

<!-- gh-comment-id:3592158934 --> @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.
Author
Owner

@CuriousCorrelation commented on GitHub (Dec 5, 2025):

Hi @VINICIUSOLIVER, the latest build has better handling for partial updates to the registry.json file, which should hopefully fix this issue.

To test, you can temporarily rename registry.json to registry.json.backup (or delete it and then restore) and let the app regenerate it fresh. Let me know if the issue persists.

<!-- gh-comment-id:3616284032 --> @CuriousCorrelation commented on GitHub (Dec 5, 2025): Hi @VINICIUSOLIVER, the latest build has better handling for partial updates to the `registry.json` file, which should hopefully fix this issue. To test, you can temporarily rename `registry.json` to `registry.json.backup` (or delete it and then restore) and let the app regenerate it fresh. Let me know if the issue persists.
Author
Owner

@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!

<!-- gh-comment-id:3621939671 --> @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!
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/hoppscotch#2179
No description provided.