You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I took a quick look at the repro details. The failure pattern looks specific to config changes going through a remote gateway, not general app startup.
A small diagnostic checklist that may help narrow it down:
log the exact hermes:api payload when saving a config field like personality
compare local vs remote gateway base URL/path normalization
confirm the remote gateway exposes the same config mutation route the desktop action expects
reject or print any empty/undefined request path before the IPC/API bridge call
No private logs needed. If useful, I can help turn this into a tighter public repro checklist.
Duplicate of #40069 — same root cause: Hermes Desktop manually sets a Content-Length header on the Electron net.request OAuth path (fetchJsonViaOauthSession), which Electron 7+ rejects with net::ERR_INVALID_ARGUMENT on any body-bearing POST/PUT (your config-change buttons), while GET reads still work. Tracked there with fix PRs #40174 / #40118 / #40115 / #39857 and the merged salvage #40209.
Thanks for the report. This is already fixed on main; this automated hermes-sweeper review confirmed the duplicate linkage to #40069.
b8234e759 removed the manually-set Content-Length from the Electron OAuth net.request path, allowing Chromium to frame body-bearing configuration writes.
Current main keeps that behavior in apps/desktop/electron/oauth-net-request.ts:13-15; fetchJsonViaOauthSession uses it at apps/desktop/electron/main.ts:5261-5298.
apps/desktop/electron/oauth-net-request.test.ts:22-37 guards against reintroducing the restricted header.
Activity
Strontvod commentedon Jun 7, 2026
Sime issue here.
maxim-ultra commentedon Jun 9, 2026
I took a quick look at the repro details. The failure pattern looks specific to config changes going through a remote gateway, not general app startup.
A small diagnostic checklist that may help narrow it down:
hermes:apipayload when saving a config field like personalityNo private logs needed. If useful, I can help turn this into a tighter public repro checklist.
luisTrivinh0 commentedon Jun 26, 2026
I get this same problem, how did you solved it?
alt-glitch commentedon Jun 26, 2026
Duplicate of #40069 — same root cause: Hermes Desktop manually sets a
Content-Lengthheader on the Electronnet.requestOAuth path (fetchJsonViaOauthSession), which Electron 7+ rejects withnet::ERR_INVALID_ARGUMENTon any body-bearing POST/PUT (your config-change buttons), while GET reads still work. Tracked there with fix PRs #40174 / #40118 / #40115 / #39857 and the merged salvage #40209.teknium1 commentedon Jul 14, 2026
Thanks for the report. This is already fixed on main; this automated hermes-sweeper review confirmed the duplicate linkage to #40069.
b8234e759removed the manually-setContent-Lengthfrom the Electron OAuthnet.requestpath, allowing Chromium to frame body-bearing configuration writes.apps/desktop/electron/oauth-net-request.ts:13-15;fetchJsonViaOauthSessionuses it atapps/desktop/electron/main.ts:5261-5298.apps/desktop/electron/oauth-net-request.test.ts:22-37guards against reintroducing the restricted header.v2026.6.19and later.