mirror of
https://github.com/hansjone/dsh-im-ops.git
synced 2026-10-09 06:30:45 +08:00
webSocketProxyUrl() picks up https_proxy/HTTPS_PROXY/http_proxy/ HTTP_PROXY and forces the Feishu WSS long connection through the proxy, without consulting NO_PROXY/no_proxy. With a local proxy exported in the shell (Clash/V2Ray setups), every long-connection attempt is rejected by Feishu's server and the runtime force-closes and retries in a loop, so the bot never reaches a stable connected state. Resolve NO_PROXY/no_proxy for the long-connection endpoints (open.feishu.cn / open.larksuite.com) before falling back to the proxy env: exact host, parent-domain (.cn, feishu.cn) and * entries follow the common NO_PROXY semantics. - production.mjs: NO_PROXY gate in front of the proxy lookup - feishu-proxy.test.mjs: NO_PROXY exclusion and fallthrough cases - lib/index.js: regenerated host bundle |
||
|---|---|---|
| .. | ||
| channels | ||
| build.mjs | ||
| delivery-adapter.mjs | ||
| delivery-http.mjs | ||
| delivery-rpc.mjs | ||
| delivery-service.mjs | ||
| delivery-suggestions.mjs | ||
| harness-command-executor.mjs | ||
| harness-connection.mjs | ||
| harness-session-coordinator.mjs | ||
| index.mjs | ||
| lark-sdk-handshake-patch.mjs | ||
| modern-harness-api.mjs | ||
| rpc-authority.mjs | ||
| update-rpc.mjs | ||
| update-runtime.mjs | ||
| update-service.mjs | ||