[GH-ISSUE #4842] [bug]: desktop app plugin appload download timeout #1820

Closed
opened 2026-03-16 21:54:45 +03:00 by kerem · 1 comment
Owner

Originally created by @cn-kali-team on GitHub (Mar 6, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4842

Originally assigned to: @CuriousCorrelation on GitHub.

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

I am using the self-host version of dockeraio, and when I add a new instance to the desktop application, Error message after 30 seconds "API error: HTTP request failed: error decoding response body"

Steps to reproduce

  1. start server
docker run --rm -p 8888:8888 -p 3200:3200 --env-file .env  hoppscotch/hoppscotch
  1. Open desktop app add a new instance, the base server: http://mydomain:8888
  2. Download using curl takes more than a minute, so I think it's because the desktop application's HTTP request timed out.
➜  ~ curl http://mydomain:8888/desktop-app-server/api/v1/bundle --output plugin.zip 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Dload  Upload   Total   Spent    Left  Speed
100 15.1M  100 15.1M    0     0   199k      0  0:01:17  0:01:17 --:--:--  152k
  1. log
Webapp Server | DEBUG request{method=GET uri=/api/v1/key version=HTTP/1.1}: tower_http::trace::on_request: started processing request
Webapp Server |  INFO request{method=GET uri=/api/v1/key version=HTTP/1.1}: webapp_server::api::handler: Listing public key
Webapp Server |  INFO request{method=GET uri=/api/v1/key version=HTTP/1.1}: webapp_server::bundle::manager: Retrieving the current config
Webapp Server |  INFO request{method=GET uri=/api/v1/key version=HTTP/1.1}: webapp_server::api::handler: Successfully retrieved public key info
Webapp Server | DEBUG request{method=GET uri=/api/v1/key version=HTTP/1.1}: tower_http::trace::on_response: finished processing request latency=0 ms status=200
Webapp Server | DEBUG request{method=GET uri=/api/v1/manifest version=HTTP/1.1}: tower_http::trace::on_request: started processing request
Webapp Server |  INFO request{method=GET uri=/api/v1/manifest version=HTTP/1.1}: webapp_server::api::handler: Fetching bundle manifest
Webapp Server |  INFO request{method=GET uri=/api/v1/manifest version=HTTP/1.1}: webapp_server::bundle::manager: Retrieving the current bundle
Webapp Server |  INFO request{method=GET uri=/api/v1/manifest version=HTTP/1.1}: webapp_server::api::handler: Successfully retrieved bundle manifest
Webapp Server | DEBUG request{method=GET uri=/api/v1/manifest version=HTTP/1.1}: tower_http::trace::on_response: finished processing request latency=6 ms status=200
Webapp Server | DEBUG request{method=GET uri=/api/v1/bundle version=HTTP/1.1}: tower_http::trace::on_request: started processing request
Webapp Server |  INFO request{method=GET uri=/api/v1/bundle version=HTTP/1.1}: webapp_server::api::handler: Starting bundle download
Webapp Server |  INFO request{method=GET uri=/api/v1/bundle version=HTTP/1.1}: webapp_server::bundle::manager: Retrieving the current bundle
Webapp Server |  INFO request{method=GET uri=/api/v1/bundle version=HTTP/1.1}: webapp_server::api::handler: Successfully prepared bundle for download content_length=15855859
Webapp Server | DEBUG request{method=GET uri=/api/v1/bundle version=HTTP/1.1}: tower_http::trace::on_response: finished processing request latency=11 ms status=200
App/Admin Dashboard Caddy | {"level":"warn","ts":1741238054.1091216,"logger":"http.handlers.reverse_proxy","msg":"aborting with incomplete response","upstream":"localhost:3200","duration":0.011381036,"request":{"remote_ip":"mydomain","remote_port":"50956","client_ip":"mydomain","proto":"HTTP/1.1","method":"GET","host":"mydomain:8888","uri":"/api/v1/bundle","headers":{"Accept":["*/*"],"User-Agent":["tauri-plugin-appload/0.1.0"],"X-Forwarded-For":["mydomain"],"X-Forwarded-Proto":["http"],"X-Forwarded-Host":["mydomain:8888"]}},"error":"writing: write tcp 172.17.0.2:8888->mydomain:50956: write: broken pipe"}

Environment

Release

Version

Self-hosted

Originally created by @cn-kali-team on GitHub (Mar 6, 2025). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4842 Originally assigned to: @CuriousCorrelation on GitHub. ### Is there an existing issue for this? - [x] I have searched the existing issues ### Current behavior I am using the self-host version of docker`aio`, and when I add a new instance to the desktop application, Error message after 30 seconds "API error: HTTP request failed: error decoding response body" ### Steps to reproduce 1. start server ``` docker run --rm -p 8888:8888 -p 3200:3200 --env-file .env hoppscotch/hoppscotch ``` 2. Open desktop app add a new instance, the base server: `http://mydomain:8888` 3. Download using curl takes more than a minute, so I think it's because the desktop application's HTTP request timed out. ``` ➜ ~ curl http://mydomain:8888/desktop-app-server/api/v1/bundle --output plugin.zip % Total % Received % Xferd Average Speed Time Time Time Dload Upload Total Spent Left Speed 100 15.1M 100 15.1M 0 0 199k 0 0:01:17 0:01:17 --:--:-- 152k ``` 4. log ``` Webapp Server | DEBUG request{method=GET uri=/api/v1/key version=HTTP/1.1}: tower_http::trace::on_request: started processing request Webapp Server | INFO request{method=GET uri=/api/v1/key version=HTTP/1.1}: webapp_server::api::handler: Listing public key Webapp Server | INFO request{method=GET uri=/api/v1/key version=HTTP/1.1}: webapp_server::bundle::manager: Retrieving the current config Webapp Server | INFO request{method=GET uri=/api/v1/key version=HTTP/1.1}: webapp_server::api::handler: Successfully retrieved public key info Webapp Server | DEBUG request{method=GET uri=/api/v1/key version=HTTP/1.1}: tower_http::trace::on_response: finished processing request latency=0 ms status=200 Webapp Server | DEBUG request{method=GET uri=/api/v1/manifest version=HTTP/1.1}: tower_http::trace::on_request: started processing request Webapp Server | INFO request{method=GET uri=/api/v1/manifest version=HTTP/1.1}: webapp_server::api::handler: Fetching bundle manifest Webapp Server | INFO request{method=GET uri=/api/v1/manifest version=HTTP/1.1}: webapp_server::bundle::manager: Retrieving the current bundle Webapp Server | INFO request{method=GET uri=/api/v1/manifest version=HTTP/1.1}: webapp_server::api::handler: Successfully retrieved bundle manifest Webapp Server | DEBUG request{method=GET uri=/api/v1/manifest version=HTTP/1.1}: tower_http::trace::on_response: finished processing request latency=6 ms status=200 Webapp Server | DEBUG request{method=GET uri=/api/v1/bundle version=HTTP/1.1}: tower_http::trace::on_request: started processing request Webapp Server | INFO request{method=GET uri=/api/v1/bundle version=HTTP/1.1}: webapp_server::api::handler: Starting bundle download Webapp Server | INFO request{method=GET uri=/api/v1/bundle version=HTTP/1.1}: webapp_server::bundle::manager: Retrieving the current bundle Webapp Server | INFO request{method=GET uri=/api/v1/bundle version=HTTP/1.1}: webapp_server::api::handler: Successfully prepared bundle for download content_length=15855859 Webapp Server | DEBUG request{method=GET uri=/api/v1/bundle version=HTTP/1.1}: tower_http::trace::on_response: finished processing request latency=11 ms status=200 App/Admin Dashboard Caddy | {"level":"warn","ts":1741238054.1091216,"logger":"http.handlers.reverse_proxy","msg":"aborting with incomplete response","upstream":"localhost:3200","duration":0.011381036,"request":{"remote_ip":"mydomain","remote_port":"50956","client_ip":"mydomain","proto":"HTTP/1.1","method":"GET","host":"mydomain:8888","uri":"/api/v1/bundle","headers":{"Accept":["*/*"],"User-Agent":["tauri-plugin-appload/0.1.0"],"X-Forwarded-For":["mydomain"],"X-Forwarded-Proto":["http"],"X-Forwarded-Host":["mydomain:8888"]}},"error":"writing: write tcp 172.17.0.2:8888->mydomain:50956: write: broken pipe"} ``` ### Environment Release ### Version Self-hosted
kerem 2026-03-16 21:54:45 +03:00
Author
Owner

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

Hi there! The latest desktop app patch release v25.2.1-0 is out, could you try and see if it has solved your issue? You should see an "Update Available" prompt if you are on v25.2.0-0, otherwise feel free to download it from releases page.

<!-- gh-comment-id:2703894769 --> @CuriousCorrelation commented on GitHub (Mar 6, 2025): Hi there! The latest desktop app patch release `v25.2.1-0` is out, could you try and see if it has solved your issue? You should see an "Update Available" prompt if you are on `v25.2.0-0`, otherwise feel free to download it from [releases page](https://github.com/hoppscotch/releases/).
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#1820
No description provided.