[GH-ISSUE #4886] [bug]: Can't send REST api request using #1838

Closed
opened 2026-03-16 22:01:19 +03:00 by kerem · 1 comment
Owner

Originally created by @Leon-Luu on GitHub (Mar 14, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4886

Is there an existing issue for this?

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

Current behavior

On self-hosted Hoppscotch we are not able to make REST API request using the proxy interceptor. It ends up on "Network connection failed" response as shown on picture below.

When choosing
Image

This is seem on latest version 2025.2.X. Could you please confirm this is not a problem?

Steps to reproduce

docker pull hoppscotch/hoppscotch
docker run -it --network hoppscotch-network --env-file .env --entrypoint sh hoppscotch/hoppscotch
pnpm dlx prisma migrate deploy

After db migration access http://localhost:3000 and test

Logs and Screenshots


Environment

Production

Hoppscotch Version

Self-hosted

Interceptor

Proxy - Web App

Browsers Affected

Not browser-specific

Operating System

Windows

Additional Information

It is working on https://hoppscotch.io/ but not on selfhosted

Originally created by @Leon-Luu on GitHub (Mar 14, 2025). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4886 ### Is there an existing issue for this? - [x] I have searched existing issues and this bug hasn't been reported yet ### Current behavior On self-hosted Hoppscotch we are not able to make REST API request using the **proxy** interceptor. It ends up on "Network connection failed" response as shown on picture below. When choosing ![Image](https://github.com/user-attachments/assets/5146b4cd-7800-46ec-8764-254114f6fad1) This is seem on latest version 2025.2.X. Could you please confirm this is not a problem? ### Steps to reproduce docker pull hoppscotch/hoppscotch docker run -it --network hoppscotch-network --env-file .env --entrypoint sh hoppscotch/hoppscotch pnpm dlx prisma migrate deploy After db migration access http://localhost:3000 and test ### Logs and Screenshots ```shell ``` ### Environment Production ### Hoppscotch Version Self-hosted ### Interceptor Proxy - Web App ### Browsers Affected Not browser-specific ### Operating System Windows ### Additional Information It is working on https://hoppscotch.io/ but not on selfhosted
kerem 2026-03-16 22:01:19 +03:00
Author
Owner

@CuriousCorrelation commented on GitHub (Mar 14, 2025):

Hi, you cannot use https://proxy.hoppscotch.io/ as Proxy URL for Proxy Interceptor from Self-Hosted setup, you can get more information from the Proxy Interceptor Docs.

You can host your own proxyscotch server either locally like this (example for MacOS aarch64)

❯ ./out/darwin-server/proxyscotch-server-darwin-arm64-v0.1.4 --host="localhost:9159"

or by using hoppscotch/proxyscotch docker image

# Pull the latest Proxyscotch image from Docker Hub
docker pull hoppscotch/proxyscotch

# Run the container in detached mode, exposing port 9159
docker run -d -p 9159:9159 --name proxyscotch hoppscotch/proxyscotch

After that you can set Proxy URL like so

Image

and use Proxy Interceptor on Self-Hosted instances. You can learn more about proxyscotch from Proxyscotch readme

<!-- gh-comment-id:2723955732 --> @CuriousCorrelation commented on GitHub (Mar 14, 2025): Hi, you cannot use `https://proxy.hoppscotch.io/` as Proxy URL for Proxy Interceptor from Self-Hosted setup, you can get more information from the [Proxy Interceptor Docs](https://docs.hoppscotch.io/documentation/features/interceptor#proxy). You can host your own proxyscotch server either locally like this (example for MacOS aarch64) ``` ❯ ./out/darwin-server/proxyscotch-server-darwin-arm64-v0.1.4 --host="localhost:9159" ``` or by using [hoppscotch/proxyscotch](https://hub.docker.com/r/hoppscotch/proxyscotch) docker image ``` # Pull the latest Proxyscotch image from Docker Hub docker pull hoppscotch/proxyscotch # Run the container in detached mode, exposing port 9159 docker run -d -p 9159:9159 --name proxyscotch hoppscotch/proxyscotch ``` After that you can set Proxy URL like so ![Image](https://github.com/user-attachments/assets/5dee3288-e9c7-4eee-aa82-b68912536687) and use Proxy Interceptor on Self-Hosted instances. You can learn more about proxyscotch from [Proxyscotch readme](https://github.com/hoppscotch/proxyscotch)
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#1838
No description provided.