[GH-ISSUE #4929] [bug]: proxy interceptor doesn't work on desktop #1858

Open
opened 2026-03-16 22:08:32 +03:00 by kerem · 2 comments
Owner

Originally created by @Athorcis on GitHub (Mar 21, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4929

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

Current behavior

When enabling proxy interceptor on the desktop app (on Windows/MacOS (maybe Linux)), all requests fail, with the error Proxy request failed

Steps to reproduce

  • Open desktop app
  • Enable proxy interceptor
  • Send a request
  • It fails with "Proxy request failed"

Logs and Screenshots

![Image](https://github.com/user-attachments/assets/1020b285-e43b-4fe0-bb88-58e61507f07c)

Environment

Production

Hoppscotch Version

Cloud

Interceptor

Proxy - Desktop App

Browsers Affected

Not applicable (Desktop app)

Operating System

None

Additional Information

I tried to reproduce the bug with my self-hosted proxyscotch, and I found that when the error "Proxy request failed" is returned by the proxy, there are no logs emitted by the server and the only case where that can happen is when the Origin header doesn't match allowed origins. By default, all origins are allowed so that would mean that the Origin header is never sent by the app.

Originally created by @Athorcis on GitHub (Mar 21, 2025). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4929 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 ### Current behavior When enabling proxy interceptor on the desktop app (on Windows/MacOS (maybe Linux)), all requests fail, with the error `Proxy request failed` ### Steps to reproduce - Open desktop app - Enable proxy interceptor - Send a request - It fails with "Proxy request failed" ### Logs and Screenshots ```shell ![Image](https://github.com/user-attachments/assets/1020b285-e43b-4fe0-bb88-58e61507f07c) ``` ### Environment Production ### Hoppscotch Version Cloud ### Interceptor Proxy - Desktop App ### Browsers Affected Not applicable (Desktop app) ### Operating System None ### Additional Information I tried to reproduce the bug with my self-hosted proxyscotch, and I found that when the error "Proxy request failed" is returned by the proxy, there are no logs emitted by the server and the only case where that can happen is when the Origin header doesn't match allowed origins. By default, all origins are allowed so that would mean that the Origin header is never sent by the app.
Author
Owner

@jazuntee commented on GitHub (Dec 3, 2025):

I get the same error. Looking at the request from the desktop app shows that desktop app is only setting referrer header and no origin header.

<!-- gh-comment-id:3608039561 --> @jazuntee commented on GitHub (Dec 3, 2025): I get the same error. Looking at the request from the desktop app shows that desktop app is only setting referrer header and no origin header.
Author
Owner

@Leon-Luu commented on GitHub (Jan 22, 2026):

@CuriousCorrelation any plans to fix this? Seeing same issue

<!-- gh-comment-id:3783150805 --> @Leon-Luu commented on GitHub (Jan 22, 2026): @CuriousCorrelation any plans to fix this? Seeing same issue
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#1858
No description provided.