Proxyman icon indicating copy to clipboard operation
Proxyman copied to clipboard

The Proxyman manual setup script has a short timeout

Open johnib opened this issue 4 months ago • 1 comments

Hi,

I've used the manual setup script for configuring the proxy for nodejs processes:

set -a 2>/dev/null || true; source "~/Library/Application Support/com.proxyman.NSProxy/app-data/proxyman_env_automatic_setup.sh"; set +a 2>/dev/null || true

The issue is -- traffic that goes through this script, is given 30 seconds for the completing the request. If by chance, the response takes more than 30 seconds to complete -- it fails the request with this exception:

  [cause]: Headers Timeout Error

      at Timeout.onParserTimeout [as callback] (/Applications/Proxyman.app/Contents/Frameworks/ProxymanCore.framework/Versions/A/Resources/overrides/js/node_modules/undici/lib/client.js:906:28)
      at Timeout.onTimeout [as _onTimeout] (/Applications/Proxyman.app/Contents/Frameworks/ProxymanCore.framework/Versions/A/Resources/overrides/js/node_modules/undici/lib/timers.js:18:13)
      at listOnTimeout (node:internal/timers:614:17)
      at process.processTimers (node:internal/timers:549:7)

This timeout is not configurable, and it should be. For AI inference operations, 30 seconds timeout is too low.

johnib avatar Sep 14 '25 13:09 johnib

@johnib let's try this beta build: https://download.proxyman.io/beta/Proxyman_5.24.0_Fix_timeout_nodejs_patching.dmg

I increased the timeout to 5 mins.

NghiaTranUIT avatar Sep 14 '25 14:09 NghiaTranUIT