Skip to content

remove some methods #14738

remove some methods

remove some methods #14738

Triggered via pull request September 22, 2024 17:49
@ronagronag
synchronize #3637
remove-stuff
Status Failure
Total duration 1h 16m 40s
Artifacts

nodejs.yml

on: pull_request
Matrix: test-without-intl
Matrix: test
automerge
0s
automerge
Fit to window
Zoom out
Zoom in

Annotations

158 errors and 15 notices
Test TypeScript types
Process completed with exit code 1.
Lint: test/node-test/agent.js#L455
'stream' is not defined
Lint: test/node-test/agent.js#L506
'stream' is not defined
Lint: test/node-test/agent.js#L550
'pipeline' is not defined
Lint: test/node-test/agent.js#L593
'pipeline' is not defined
Lint: test/node-test/agent.js#L721
'stream' is not defined
Lint: test/pool.js#L7
'net' is assigned a value but never used
Lint
Process completed with exit code 1.
use proxy-agent to connect through proxy: test/proxy-agent.js#L122
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy agent to connect through proxy using Pool: test/proxy-agent.js#L160
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent to connect through proxy using path with params: test/proxy-agent.js#L199
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent to connect through proxy with basic auth in URL: test/proxy-agent.js#L235
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent with auth: test/proxy-agent.js#L276
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent with token: test/proxy-agent.js#L320
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent with custom headers: test/proxy-agent.js#L364
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent with setGlobalDispatcher: test/proxy-agent.js#L454
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
ProxyAgent correctly sends headers when using fetch - #1355, #1623: test/proxy-agent.js#L535
[Error [ERR_TEST_FAILURE]: fetch failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: fetch failed at fetch (/home/runner/work/undici/undici/index.js:110:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (/home/runner/work/undici/undici/test/proxy-agent.js:535:3) at async Test.run (node:internal/test_runner/test:790:9) at async Test.processPendingSubtests (node:internal/test_runner/test:517:7) { [cause]: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) } }
test/proxy-agent.js: test/proxy-agent.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
use proxy-agent to connect through proxy: test/proxy-agent.js#L122
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy agent to connect through proxy using Pool: test/proxy-agent.js#L160
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent to connect through proxy using path with params: test/proxy-agent.js#L199
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent to connect through proxy with basic auth in URL: test/proxy-agent.js#L235
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent with auth: test/proxy-agent.js#L276
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent with token: test/proxy-agent.js#L320
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent with custom headers: test/proxy-agent.js#L364
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent with setGlobalDispatcher: test/proxy-agent.js#L454
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
ProxyAgent correctly sends headers when using fetch - #1355, #1623: test/proxy-agent.js#L535
[Error [ERR_TEST_FAILURE]: fetch failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: fetch failed at fetch (/home/runner/work/undici/undici/index.js:110:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (/home/runner/work/undici/undici/test/proxy-agent.js:535:3) at async Test.run (node:internal/test_runner/test:640:9) at async Test.processPendingSubtests (node:internal/test_runner/test:382:7) { [cause]: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) } }
test/proxy-agent.js: test/proxy-agent.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
use proxy-agent to connect through proxy: test/proxy-agent.js#L122
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28), code: 'ERR_TEST_FAILURE' }
use proxy agent to connect through proxy using Pool: test/proxy-agent.js#L160
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28), code: 'ERR_TEST_FAILURE' }
use proxy-agent to connect through proxy using path with params: test/proxy-agent.js#L199
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28), code: 'ERR_TEST_FAILURE' }
use proxy-agent to connect through proxy with basic auth in URL: test/proxy-agent.js#L235
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28), code: 'ERR_TEST_FAILURE' }
use proxy-agent with auth: test/proxy-agent.js#L276
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28), code: 'ERR_TEST_FAILURE' }
use proxy-agent with token: test/proxy-agent.js#L320
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28), code: 'ERR_TEST_FAILURE' }
use proxy-agent with custom headers: test/proxy-agent.js#L364
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28), code: 'ERR_TEST_FAILURE' }
use proxy-agent with setGlobalDispatcher: test/proxy-agent.js#L454
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28), code: 'ERR_TEST_FAILURE' }
ProxyAgent correctly sends headers when using fetch - #1355, #1623: test/proxy-agent.js#L535
[Error [ERR_TEST_FAILURE]: fetch failed] { failureType: 'testCodeFailure', cause: TypeError [Error]: fetch failed at fetch (/home/runner/work/undici/undici/index.js:110:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (/home/runner/work/undici/undici/test/proxy-agent.js:535:3) at async Test.run (node:internal/test_runner/test:632:9) at async Test.processPendingSubtests (node:internal/test_runner/test:374:7) { [cause]: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }, code: 'ERR_TEST_FAILURE' }
test/proxy-agent.js: test/proxy-agent.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms', code: 'ERR_TEST_FAILURE' }
use proxy-agent to connect through proxy: test/proxy-agent.js#L122
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy agent to connect through proxy using Pool: test/proxy-agent.js#L160
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent to connect through proxy using path with params: test/proxy-agent.js#L199
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent to connect through proxy with basic auth in URL: test/proxy-agent.js#L235
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent with auth: test/proxy-agent.js#L276
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent with token: test/proxy-agent.js#L320
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent with custom headers: test/proxy-agent.js#L364
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent with setGlobalDispatcher: test/proxy-agent.js#L454
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
ProxyAgent correctly sends headers when using fetch - #1355, #1623: test/proxy-agent.js#L535
[Error [ERR_TEST_FAILURE]: fetch failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: fetch failed at fetch (/home/runner/work/undici/undici/index.js:110:13) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async TestContext.<anonymous> (/home/runner/work/undici/undici/test/proxy-agent.js:535:3) at async Test.run (node:internal/test_runner/test:931:9) at async Test.processPendingSubtests (node:internal/test_runner/test:629:7) { [cause]: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) } }
test/proxy-agent.js: test/proxy-agent.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
use proxy-agent to connect through proxy: test/proxy-agent.js#L122
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/Users/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/Users/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/Users/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/Users/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy agent to connect through proxy using Pool: test/proxy-agent.js#L160
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/Users/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/Users/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/Users/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/Users/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent to connect through proxy using path with params: test/proxy-agent.js#L199
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/Users/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/Users/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/Users/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/Users/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent to connect through proxy with basic auth in URL: test/proxy-agent.js#L235
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/Users/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/Users/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/Users/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/Users/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent with auth: test/proxy-agent.js#L276
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/Users/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/Users/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/Users/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/Users/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent with token: test/proxy-agent.js#L320
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/Users/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/Users/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/Users/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/Users/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent with custom headers: test/proxy-agent.js#L364
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/Users/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/Users/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/Users/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/Users/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent with setGlobalDispatcher: test/proxy-agent.js#L454
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/Users/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/Users/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/Users/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/Users/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
ProxyAgent correctly sends headers when using fetch - #1355, #1623: test/proxy-agent.js#L535
[Error [ERR_TEST_FAILURE]: fetch failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: fetch failed at fetch (/Users/runner/work/undici/undici/index.js:110:13) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async TestContext.<anonymous> (/Users/runner/work/undici/undici/test/proxy-agent.js:535:3) at async Test.run (node:internal/test_runner/test:931:9) at async Test.processPendingSubtests (node:internal/test_runner/test:629:7) { [cause]: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/Users/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/Users/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/Users/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/Users/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) } }
test/proxy-agent.js: test/proxy-agent.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
use proxy-agent to connect through proxy: test/proxy-agent.js#L122
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/Users/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/Users/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/Users/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/Users/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy agent to connect through proxy using Pool: test/proxy-agent.js#L160
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/Users/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/Users/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/Users/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/Users/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent to connect through proxy using path with params: test/proxy-agent.js#L199
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/Users/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/Users/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/Users/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/Users/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent to connect through proxy with basic auth in URL: test/proxy-agent.js#L235
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/Users/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/Users/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/Users/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/Users/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent with auth: test/proxy-agent.js#L276
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/Users/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/Users/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/Users/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/Users/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent with token: test/proxy-agent.js#L320
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/Users/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/Users/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/Users/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/Users/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent with custom headers: test/proxy-agent.js#L364
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/Users/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/Users/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/Users/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/Users/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent with setGlobalDispatcher: test/proxy-agent.js#L454
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/Users/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/Users/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/Users/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/Users/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
ProxyAgent correctly sends headers when using fetch - #1355, #1623: test/proxy-agent.js#L535
[Error [ERR_TEST_FAILURE]: fetch failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: fetch failed at fetch (/Users/runner/work/undici/undici/index.js:110:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (/Users/runner/work/undici/undici/test/proxy-agent.js:535:3) at async Test.run (node:internal/test_runner/test:790:9) at async Test.processPendingSubtests (node:internal/test_runner/test:517:7) { [cause]: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/Users/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/Users/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/Users/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/Users/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) } }
test/proxy-agent.js: test/proxy-agent.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
use proxy-agent to connect through proxy: test/proxy-agent.js#L122
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/Users/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/Users/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/Users/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/Users/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy agent to connect through proxy using Pool: test/proxy-agent.js#L160
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/Users/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/Users/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/Users/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/Users/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent to connect through proxy using path with params: test/proxy-agent.js#L199
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/Users/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/Users/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/Users/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/Users/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent to connect through proxy with basic auth in URL: test/proxy-agent.js#L235
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/Users/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/Users/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/Users/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/Users/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent with auth: test/proxy-agent.js#L276
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/Users/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/Users/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/Users/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/Users/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent with token: test/proxy-agent.js#L320
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/Users/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/Users/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/Users/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/Users/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent with custom headers: test/proxy-agent.js#L364
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/Users/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/Users/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/Users/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/Users/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent with setGlobalDispatcher: test/proxy-agent.js#L454
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/Users/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/Users/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/Users/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/Users/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
ProxyAgent correctly sends headers when using fetch - #1355, #1623: test/proxy-agent.js#L535
[Error [ERR_TEST_FAILURE]: fetch failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: fetch failed at fetch (/Users/runner/work/undici/undici/index.js:110:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (/Users/runner/work/undici/undici/test/proxy-agent.js:535:3) at async Test.run (node:internal/test_runner/test:640:9) at async Test.processPendingSubtests (node:internal/test_runner/test:382:7) { [cause]: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/Users/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/Users/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/Users/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/Users/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) } }
test/proxy-agent.js: test/proxy-agent.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
use proxy-agent to connect through proxy: test\proxy-agent.js#L122
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (D:\a\undici\undici\lib\dispatcher\proxy-agent.js:71:62) at socket (D:\a\undici\undici\lib\dispatcher\client.js:406:25) at new Promise (<anonymous>) at connect (D:\a\undici\undici\lib\dispatcher\client.js:405:26) at _resume (D:\a\undici\undici\lib\dispatcher\client.js:578:7) at resume (D:\a\undici\undici\lib\dispatcher\client.js:512:3) at Client.<computed> (D:\a\undici\undici\lib\dispatcher\client.js:239:31) at [dispatch] (D:\a\undici\undici\lib\dispatcher\client.js:294:20) at Client.dispatch (D:\a\undici\undici\lib\dispatcher\dispatcher-base.js:145:29) at [dispatch] (D:\a\undici\undici\lib\dispatcher\pool-base.js:143:28) }
use proxy agent to connect through proxy using Pool: test\proxy-agent.js#L160
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (D:\a\undici\undici\lib\dispatcher\proxy-agent.js:71:62) at socket (D:\a\undici\undici\lib\dispatcher\client.js:406:25) at new Promise (<anonymous>) at connect (D:\a\undici\undici\lib\dispatcher\client.js:405:26) at _resume (D:\a\undici\undici\lib\dispatcher\client.js:578:7) at resume (D:\a\undici\undici\lib\dispatcher\client.js:512:3) at Client.<computed> (D:\a\undici\undici\lib\dispatcher\client.js:239:31) at [dispatch] (D:\a\undici\undici\lib\dispatcher\client.js:294:20) at Client.dispatch (D:\a\undici\undici\lib\dispatcher\dispatcher-base.js:145:29) at [dispatch] (D:\a\undici\undici\lib\dispatcher\pool-base.js:143:28) }
use proxy-agent to connect through proxy using path with params: test\proxy-agent.js#L199
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (D:\a\undici\undici\lib\dispatcher\proxy-agent.js:71:62) at socket (D:\a\undici\undici\lib\dispatcher\client.js:406:25) at new Promise (<anonymous>) at connect (D:\a\undici\undici\lib\dispatcher\client.js:405:26) at _resume (D:\a\undici\undici\lib\dispatcher\client.js:578:7) at resume (D:\a\undici\undici\lib\dispatcher\client.js:512:3) at Client.<computed> (D:\a\undici\undici\lib\dispatcher\client.js:239:31) at [dispatch] (D:\a\undici\undici\lib\dispatcher\client.js:294:20) at Client.dispatch (D:\a\undici\undici\lib\dispatcher\dispatcher-base.js:145:29) at [dispatch] (D:\a\undici\undici\lib\dispatcher\pool-base.js:143:28) }
use proxy-agent to connect through proxy with basic auth in URL: test\proxy-agent.js#L235
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (D:\a\undici\undici\lib\dispatcher\proxy-agent.js:71:62) at socket (D:\a\undici\undici\lib\dispatcher\client.js:406:25) at new Promise (<anonymous>) at connect (D:\a\undici\undici\lib\dispatcher\client.js:405:26) at _resume (D:\a\undici\undici\lib\dispatcher\client.js:578:7) at resume (D:\a\undici\undici\lib\dispatcher\client.js:512:3) at Client.<computed> (D:\a\undici\undici\lib\dispatcher\client.js:239:31) at [dispatch] (D:\a\undici\undici\lib\dispatcher\client.js:294:20) at Client.dispatch (D:\a\undici\undici\lib\dispatcher\dispatcher-base.js:145:29) at [dispatch] (D:\a\undici\undici\lib\dispatcher\pool-base.js:143:28) }
use proxy-agent with auth: test\proxy-agent.js#L276
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (D:\a\undici\undici\lib\dispatcher\proxy-agent.js:71:62) at socket (D:\a\undici\undici\lib\dispatcher\client.js:406:25) at new Promise (<anonymous>) at connect (D:\a\undici\undici\lib\dispatcher\client.js:405:26) at _resume (D:\a\undici\undici\lib\dispatcher\client.js:578:7) at resume (D:\a\undici\undici\lib\dispatcher\client.js:512:3) at Client.<computed> (D:\a\undici\undici\lib\dispatcher\client.js:239:31) at [dispatch] (D:\a\undici\undici\lib\dispatcher\client.js:294:20) at Client.dispatch (D:\a\undici\undici\lib\dispatcher\dispatcher-base.js:145:29) at [dispatch] (D:\a\undici\undici\lib\dispatcher\pool-base.js:143:28) }
use proxy-agent with token: test\proxy-agent.js#L320
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (D:\a\undici\undici\lib\dispatcher\proxy-agent.js:71:62) at socket (D:\a\undici\undici\lib\dispatcher\client.js:406:25) at new Promise (<anonymous>) at connect (D:\a\undici\undici\lib\dispatcher\client.js:405:26) at _resume (D:\a\undici\undici\lib\dispatcher\client.js:578:7) at resume (D:\a\undici\undici\lib\dispatcher\client.js:512:3) at Client.<computed> (D:\a\undici\undici\lib\dispatcher\client.js:239:31) at [dispatch] (D:\a\undici\undici\lib\dispatcher\client.js:294:20) at Client.dispatch (D:\a\undici\undici\lib\dispatcher\dispatcher-base.js:145:29) at [dispatch] (D:\a\undici\undici\lib\dispatcher\pool-base.js:143:28) }
use proxy-agent with custom headers: test\proxy-agent.js#L364
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (D:\a\undici\undici\lib\dispatcher\proxy-agent.js:71:62) at socket (D:\a\undici\undici\lib\dispatcher\client.js:406:25) at new Promise (<anonymous>) at connect (D:\a\undici\undici\lib\dispatcher\client.js:405:26) at _resume (D:\a\undici\undici\lib\dispatcher\client.js:578:7) at resume (D:\a\undici\undici\lib\dispatcher\client.js:512:3) at Client.<computed> (D:\a\undici\undici\lib\dispatcher\client.js:239:31) at [dispatch] (D:\a\undici\undici\lib\dispatcher\client.js:294:20) at Client.dispatch (D:\a\undici\undici\lib\dispatcher\dispatcher-base.js:145:29) at [dispatch] (D:\a\undici\undici\lib\dispatcher\pool-base.js:143:28) }
use proxy-agent with setGlobalDispatcher: test\proxy-agent.js#L454
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (D:\a\undici\undici\lib\dispatcher\proxy-agent.js:71:62) at socket (D:\a\undici\undici\lib\dispatcher\client.js:406:25) at new Promise (<anonymous>) at connect (D:\a\undici\undici\lib\dispatcher\client.js:405:26) at _resume (D:\a\undici\undici\lib\dispatcher\client.js:578:7) at resume (D:\a\undici\undici\lib\dispatcher\client.js:512:3) at Client.<computed> (D:\a\undici\undici\lib\dispatcher\client.js:239:31) at [dispatch] (D:\a\undici\undici\lib\dispatcher\client.js:294:20) at Client.dispatch (D:\a\undici\undici\lib\dispatcher\dispatcher-base.js:145:29) at [dispatch] (D:\a\undici\undici\lib\dispatcher\pool-base.js:143:28) }
ProxyAgent correctly sends headers when using fetch - #1355, #1623: test\proxy-agent.js#L535
[Error [ERR_TEST_FAILURE]: fetch failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: fetch failed at fetch (D:\a\undici\undici\index.js:110:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (D:\a\undici\undici\test\proxy-agent.js:535:3) at async Test.run (node:internal/test_runner/test:790:9) at async Test.processPendingSubtests (node:internal/test_runner/test:517:7) { [cause]: TypeError [Error]: this[kClient].connect is not a function at Client.connect (D:\a\undici\undici\lib\dispatcher\proxy-agent.js:71:62) at socket (D:\a\undici\undici\lib\dispatcher\client.js:406:25) at new Promise (<anonymous>) at connect (D:\a\undici\undici\lib\dispatcher\client.js:405:26) at _resume (D:\a\undici\undici\lib\dispatcher\client.js:578:7) at resume (D:\a\undici\undici\lib\dispatcher\client.js:512:3) at Client.<computed> (D:\a\undici\undici\lib\dispatcher\client.js:239:31) at [dispatch] (D:\a\undici\undici\lib\dispatcher\client.js:294:20) at Client.dispatch (D:\a\undici\undici\lib\dispatcher\dispatcher-base.js:145:29) at [dispatch] (D:\a\undici\undici\lib\dispatcher\pool-base.js:143:28) } }
test\proxy-agent.js: test\proxy-agent.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
use proxy-agent to connect through proxy: test\proxy-agent.js#L122
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (D:\a\undici\undici\lib\dispatcher\proxy-agent.js:71:62) at socket (D:\a\undici\undici\lib\dispatcher\client.js:406:25) at new Promise (<anonymous>) at connect (D:\a\undici\undici\lib\dispatcher\client.js:405:26) at _resume (D:\a\undici\undici\lib\dispatcher\client.js:578:7) at resume (D:\a\undici\undici\lib\dispatcher\client.js:512:3) at Client.<computed> (D:\a\undici\undici\lib\dispatcher\client.js:239:31) at [dispatch] (D:\a\undici\undici\lib\dispatcher\client.js:294:20) at Client.dispatch (D:\a\undici\undici\lib\dispatcher\dispatcher-base.js:145:29) at [dispatch] (D:\a\undici\undici\lib\dispatcher\pool-base.js:143:28) }
use proxy agent to connect through proxy using Pool: test\proxy-agent.js#L160
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (D:\a\undici\undici\lib\dispatcher\proxy-agent.js:71:62) at socket (D:\a\undici\undici\lib\dispatcher\client.js:406:25) at new Promise (<anonymous>) at connect (D:\a\undici\undici\lib\dispatcher\client.js:405:26) at _resume (D:\a\undici\undici\lib\dispatcher\client.js:578:7) at resume (D:\a\undici\undici\lib\dispatcher\client.js:512:3) at Client.<computed> (D:\a\undici\undici\lib\dispatcher\client.js:239:31) at [dispatch] (D:\a\undici\undici\lib\dispatcher\client.js:294:20) at Client.dispatch (D:\a\undici\undici\lib\dispatcher\dispatcher-base.js:145:29) at [dispatch] (D:\a\undici\undici\lib\dispatcher\pool-base.js:143:28) }
use proxy-agent to connect through proxy using path with params: test\proxy-agent.js#L199
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (D:\a\undici\undici\lib\dispatcher\proxy-agent.js:71:62) at socket (D:\a\undici\undici\lib\dispatcher\client.js:406:25) at new Promise (<anonymous>) at connect (D:\a\undici\undici\lib\dispatcher\client.js:405:26) at _resume (D:\a\undici\undici\lib\dispatcher\client.js:578:7) at resume (D:\a\undici\undici\lib\dispatcher\client.js:512:3) at Client.<computed> (D:\a\undici\undici\lib\dispatcher\client.js:239:31) at [dispatch] (D:\a\undici\undici\lib\dispatcher\client.js:294:20) at Client.dispatch (D:\a\undici\undici\lib\dispatcher\dispatcher-base.js:145:29) at [dispatch] (D:\a\undici\undici\lib\dispatcher\pool-base.js:143:28) }
use proxy-agent to connect through proxy with basic auth in URL: test\proxy-agent.js#L235
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (D:\a\undici\undici\lib\dispatcher\proxy-agent.js:71:62) at socket (D:\a\undici\undici\lib\dispatcher\client.js:406:25) at new Promise (<anonymous>) at connect (D:\a\undici\undici\lib\dispatcher\client.js:405:26) at _resume (D:\a\undici\undici\lib\dispatcher\client.js:578:7) at resume (D:\a\undici\undici\lib\dispatcher\client.js:512:3) at Client.<computed> (D:\a\undici\undici\lib\dispatcher\client.js:239:31) at [dispatch] (D:\a\undici\undici\lib\dispatcher\client.js:294:20) at Client.dispatch (D:\a\undici\undici\lib\dispatcher\dispatcher-base.js:145:29) at [dispatch] (D:\a\undici\undici\lib\dispatcher\pool-base.js:143:28) }
use proxy-agent with auth: test\proxy-agent.js#L276
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (D:\a\undici\undici\lib\dispatcher\proxy-agent.js:71:62) at socket (D:\a\undici\undici\lib\dispatcher\client.js:406:25) at new Promise (<anonymous>) at connect (D:\a\undici\undici\lib\dispatcher\client.js:405:26) at _resume (D:\a\undici\undici\lib\dispatcher\client.js:578:7) at resume (D:\a\undici\undici\lib\dispatcher\client.js:512:3) at Client.<computed> (D:\a\undici\undici\lib\dispatcher\client.js:239:31) at [dispatch] (D:\a\undici\undici\lib\dispatcher\client.js:294:20) at Client.dispatch (D:\a\undici\undici\lib\dispatcher\dispatcher-base.js:145:29) at [dispatch] (D:\a\undici\undici\lib\dispatcher\pool-base.js:143:28) }
use proxy-agent with token: test\proxy-agent.js#L320
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (D:\a\undici\undici\lib\dispatcher\proxy-agent.js:71:62) at socket (D:\a\undici\undici\lib\dispatcher\client.js:406:25) at new Promise (<anonymous>) at connect (D:\a\undici\undici\lib\dispatcher\client.js:405:26) at _resume (D:\a\undici\undici\lib\dispatcher\client.js:578:7) at resume (D:\a\undici\undici\lib\dispatcher\client.js:512:3) at Client.<computed> (D:\a\undici\undici\lib\dispatcher\client.js:239:31) at [dispatch] (D:\a\undici\undici\lib\dispatcher\client.js:294:20) at Client.dispatch (D:\a\undici\undici\lib\dispatcher\dispatcher-base.js:145:29) at [dispatch] (D:\a\undici\undici\lib\dispatcher\pool-base.js:143:28) }
use proxy-agent with custom headers: test\proxy-agent.js#L364
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (D:\a\undici\undici\lib\dispatcher\proxy-agent.js:71:62) at socket (D:\a\undici\undici\lib\dispatcher\client.js:406:25) at new Promise (<anonymous>) at connect (D:\a\undici\undici\lib\dispatcher\client.js:405:26) at _resume (D:\a\undici\undici\lib\dispatcher\client.js:578:7) at resume (D:\a\undici\undici\lib\dispatcher\client.js:512:3) at Client.<computed> (D:\a\undici\undici\lib\dispatcher\client.js:239:31) at [dispatch] (D:\a\undici\undici\lib\dispatcher\client.js:294:20) at Client.dispatch (D:\a\undici\undici\lib\dispatcher\dispatcher-base.js:145:29) at [dispatch] (D:\a\undici\undici\lib\dispatcher\pool-base.js:143:28) }
use proxy-agent with setGlobalDispatcher: test\proxy-agent.js#L454
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (D:\a\undici\undici\lib\dispatcher\proxy-agent.js:71:62) at socket (D:\a\undici\undici\lib\dispatcher\client.js:406:25) at new Promise (<anonymous>) at connect (D:\a\undici\undici\lib\dispatcher\client.js:405:26) at _resume (D:\a\undici\undici\lib\dispatcher\client.js:578:7) at resume (D:\a\undici\undici\lib\dispatcher\client.js:512:3) at Client.<computed> (D:\a\undici\undici\lib\dispatcher\client.js:239:31) at [dispatch] (D:\a\undici\undici\lib\dispatcher\client.js:294:20) at Client.dispatch (D:\a\undici\undici\lib\dispatcher\dispatcher-base.js:145:29) at [dispatch] (D:\a\undici\undici\lib\dispatcher\pool-base.js:143:28) }
ProxyAgent correctly sends headers when using fetch - #1355, #1623: test\proxy-agent.js#L535
[Error [ERR_TEST_FAILURE]: fetch failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: fetch failed at fetch (D:\a\undici\undici\index.js:110:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (D:\a\undici\undici\test\proxy-agent.js:535:3) at async Test.run (node:internal/test_runner/test:640:9) at async Test.processPendingSubtests (node:internal/test_runner/test:382:7) { [cause]: TypeError [Error]: this[kClient].connect is not a function at Client.connect (D:\a\undici\undici\lib\dispatcher\proxy-agent.js:71:62) at socket (D:\a\undici\undici\lib\dispatcher\client.js:406:25) at new Promise (<anonymous>) at connect (D:\a\undici\undici\lib\dispatcher\client.js:405:26) at _resume (D:\a\undici\undici\lib\dispatcher\client.js:578:7) at resume (D:\a\undici\undici\lib\dispatcher\client.js:512:3) at Client.<computed> (D:\a\undici\undici\lib\dispatcher\client.js:239:31) at [dispatch] (D:\a\undici\undici\lib\dispatcher\client.js:294:20) at Client.dispatch (D:\a\undici\undici\lib\dispatcher\dispatcher-base.js:145:29) at [dispatch] (D:\a\undici\undici\lib\dispatcher\pool-base.js:143:28) } }
test\proxy-agent.js: test\proxy-agent.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
use proxy-agent to connect through proxy: test\proxy-agent.js#L122
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (D:\a\undici\undici\lib\dispatcher\proxy-agent.js:71:62) at socket (D:\a\undici\undici\lib\dispatcher\client.js:406:25) at new Promise (<anonymous>) at connect (D:\a\undici\undici\lib\dispatcher\client.js:405:26) at _resume (D:\a\undici\undici\lib\dispatcher\client.js:578:7) at resume (D:\a\undici\undici\lib\dispatcher\client.js:512:3) at Client.<computed> (D:\a\undici\undici\lib\dispatcher\client.js:239:31) at [dispatch] (D:\a\undici\undici\lib\dispatcher\client.js:294:20) at Client.dispatch (D:\a\undici\undici\lib\dispatcher\dispatcher-base.js:145:29) at [dispatch] (D:\a\undici\undici\lib\dispatcher\pool-base.js:143:28) }
use proxy agent to connect through proxy using Pool: test\proxy-agent.js#L160
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (D:\a\undici\undici\lib\dispatcher\proxy-agent.js:71:62) at socket (D:\a\undici\undici\lib\dispatcher\client.js:406:25) at new Promise (<anonymous>) at connect (D:\a\undici\undici\lib\dispatcher\client.js:405:26) at _resume (D:\a\undici\undici\lib\dispatcher\client.js:578:7) at resume (D:\a\undici\undici\lib\dispatcher\client.js:512:3) at Client.<computed> (D:\a\undici\undici\lib\dispatcher\client.js:239:31) at [dispatch] (D:\a\undici\undici\lib\dispatcher\client.js:294:20) at Client.dispatch (D:\a\undici\undici\lib\dispatcher\dispatcher-base.js:145:29) at [dispatch] (D:\a\undici\undici\lib\dispatcher\pool-base.js:143:28) }
use proxy-agent to connect through proxy using path with params: test\proxy-agent.js#L199
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (D:\a\undici\undici\lib\dispatcher\proxy-agent.js:71:62) at socket (D:\a\undici\undici\lib\dispatcher\client.js:406:25) at new Promise (<anonymous>) at connect (D:\a\undici\undici\lib\dispatcher\client.js:405:26) at _resume (D:\a\undici\undici\lib\dispatcher\client.js:578:7) at resume (D:\a\undici\undici\lib\dispatcher\client.js:512:3) at Client.<computed> (D:\a\undici\undici\lib\dispatcher\client.js:239:31) at [dispatch] (D:\a\undici\undici\lib\dispatcher\client.js:294:20) at Client.dispatch (D:\a\undici\undici\lib\dispatcher\dispatcher-base.js:145:29) at [dispatch] (D:\a\undici\undici\lib\dispatcher\pool-base.js:143:28) }
use proxy-agent to connect through proxy with basic auth in URL: test\proxy-agent.js#L235
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (D:\a\undici\undici\lib\dispatcher\proxy-agent.js:71:62) at socket (D:\a\undici\undici\lib\dispatcher\client.js:406:25) at new Promise (<anonymous>) at connect (D:\a\undici\undici\lib\dispatcher\client.js:405:26) at _resume (D:\a\undici\undici\lib\dispatcher\client.js:578:7) at resume (D:\a\undici\undici\lib\dispatcher\client.js:512:3) at Client.<computed> (D:\a\undici\undici\lib\dispatcher\client.js:239:31) at [dispatch] (D:\a\undici\undici\lib\dispatcher\client.js:294:20) at Client.dispatch (D:\a\undici\undici\lib\dispatcher\dispatcher-base.js:145:29) at [dispatch] (D:\a\undici\undici\lib\dispatcher\pool-base.js:143:28) }
use proxy-agent with auth: test\proxy-agent.js#L276
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (D:\a\undici\undici\lib\dispatcher\proxy-agent.js:71:62) at socket (D:\a\undici\undici\lib\dispatcher\client.js:406:25) at new Promise (<anonymous>) at connect (D:\a\undici\undici\lib\dispatcher\client.js:405:26) at _resume (D:\a\undici\undici\lib\dispatcher\client.js:578:7) at resume (D:\a\undici\undici\lib\dispatcher\client.js:512:3) at Client.<computed> (D:\a\undici\undici\lib\dispatcher\client.js:239:31) at [dispatch] (D:\a\undici\undici\lib\dispatcher\client.js:294:20) at Client.dispatch (D:\a\undici\undici\lib\dispatcher\dispatcher-base.js:145:29) at [dispatch] (D:\a\undici\undici\lib\dispatcher\pool-base.js:143:28) }
use proxy-agent with token: test\proxy-agent.js#L320
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (D:\a\undici\undici\lib\dispatcher\proxy-agent.js:71:62) at socket (D:\a\undici\undici\lib\dispatcher\client.js:406:25) at new Promise (<anonymous>) at connect (D:\a\undici\undici\lib\dispatcher\client.js:405:26) at _resume (D:\a\undici\undici\lib\dispatcher\client.js:578:7) at resume (D:\a\undici\undici\lib\dispatcher\client.js:512:3) at Client.<computed> (D:\a\undici\undici\lib\dispatcher\client.js:239:31) at [dispatch] (D:\a\undici\undici\lib\dispatcher\client.js:294:20) at Client.dispatch (D:\a\undici\undici\lib\dispatcher\dispatcher-base.js:145:29) at [dispatch] (D:\a\undici\undici\lib\dispatcher\pool-base.js:143:28) }
use proxy-agent with custom headers: test\proxy-agent.js#L364
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (D:\a\undici\undici\lib\dispatcher\proxy-agent.js:71:62) at socket (D:\a\undici\undici\lib\dispatcher\client.js:406:25) at new Promise (<anonymous>) at connect (D:\a\undici\undici\lib\dispatcher\client.js:405:26) at _resume (D:\a\undici\undici\lib\dispatcher\client.js:578:7) at resume (D:\a\undici\undici\lib\dispatcher\client.js:512:3) at Client.<computed> (D:\a\undici\undici\lib\dispatcher\client.js:239:31) at [dispatch] (D:\a\undici\undici\lib\dispatcher\client.js:294:20) at Client.dispatch (D:\a\undici\undici\lib\dispatcher\dispatcher-base.js:145:29) at [dispatch] (D:\a\undici\undici\lib\dispatcher\pool-base.js:143:28) }
use proxy-agent with setGlobalDispatcher: test\proxy-agent.js#L454
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (D:\a\undici\undici\lib\dispatcher\proxy-agent.js:71:62) at socket (D:\a\undici\undici\lib\dispatcher\client.js:406:25) at new Promise (<anonymous>) at connect (D:\a\undici\undici\lib\dispatcher\client.js:405:26) at _resume (D:\a\undici\undici\lib\dispatcher\client.js:578:7) at resume (D:\a\undici\undici\lib\dispatcher\client.js:512:3) at Client.<computed> (D:\a\undici\undici\lib\dispatcher\client.js:239:31) at [dispatch] (D:\a\undici\undici\lib\dispatcher\client.js:294:20) at Client.dispatch (D:\a\undici\undici\lib\dispatcher\dispatcher-base.js:145:29) at [dispatch] (D:\a\undici\undici\lib\dispatcher\pool-base.js:143:28) }
ProxyAgent correctly sends headers when using fetch - #1355, #1623: test\proxy-agent.js#L535
[Error [ERR_TEST_FAILURE]: fetch failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: fetch failed at fetch (D:\a\undici\undici\index.js:110:13) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async TestContext.<anonymous> (D:\a\undici\undici\test\proxy-agent.js:535:3) at async Test.run (node:internal/test_runner/test:931:9) at async Test.processPendingSubtests (node:internal/test_runner/test:629:7) { [cause]: TypeError [Error]: this[kClient].connect is not a function at Client.connect (D:\a\undici\undici\lib\dispatcher\proxy-agent.js:71:62) at socket (D:\a\undici\undici\lib\dispatcher\client.js:406:25) at new Promise (<anonymous>) at connect (D:\a\undici\undici\lib\dispatcher\client.js:405:26) at _resume (D:\a\undici\undici\lib\dispatcher\client.js:578:7) at resume (D:\a\undici\undici\lib\dispatcher\client.js:512:3) at Client.<computed> (D:\a\undici\undici\lib\dispatcher\client.js:239:31) at [dispatch] (D:\a\undici\undici\lib\dispatcher\client.js:294:20) at Client.dispatch (D:\a\undici\undici\lib\dispatcher\dispatcher-base.js:145:29) at [dispatch] (D:\a\undici\undici\lib\dispatcher\pool-base.js:143:28) } }
test\proxy-agent.js: test\proxy-agent.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
use proxy-agent to connect through proxy: test/proxy-agent.js#L122
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/Users/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/Users/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/Users/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/Users/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28), code: 'ERR_TEST_FAILURE' }
use proxy agent to connect through proxy using Pool: test/proxy-agent.js#L160
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/Users/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/Users/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/Users/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/Users/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28), code: 'ERR_TEST_FAILURE' }
use proxy-agent to connect through proxy using path with params: test/proxy-agent.js#L199
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/Users/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/Users/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/Users/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/Users/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28), code: 'ERR_TEST_FAILURE' }
use proxy-agent to connect through proxy with basic auth in URL: test/proxy-agent.js#L235
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/Users/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/Users/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/Users/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/Users/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28), code: 'ERR_TEST_FAILURE' }
use proxy-agent with auth: test/proxy-agent.js#L276
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/Users/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/Users/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/Users/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/Users/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28), code: 'ERR_TEST_FAILURE' }
use proxy-agent with token: test/proxy-agent.js#L320
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/Users/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/Users/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/Users/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/Users/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28), code: 'ERR_TEST_FAILURE' }
use proxy-agent with custom headers: test/proxy-agent.js#L364
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/Users/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/Users/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/Users/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/Users/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28), code: 'ERR_TEST_FAILURE' }
use proxy-agent with setGlobalDispatcher: test/proxy-agent.js#L454
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/Users/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/Users/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/Users/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/Users/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28), code: 'ERR_TEST_FAILURE' }
ProxyAgent correctly sends headers when using fetch - #1355, #1623: test/proxy-agent.js#L535
[Error [ERR_TEST_FAILURE]: fetch failed] { failureType: 'testCodeFailure', cause: TypeError [Error]: fetch failed at fetch (/Users/runner/work/undici/undici/index.js:110:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (/Users/runner/work/undici/undici/test/proxy-agent.js:535:3) at async Test.run (node:internal/test_runner/test:632:9) at async Test.processPendingSubtests (node:internal/test_runner/test:374:7) { [cause]: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/Users/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/Users/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/Users/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/Users/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/Users/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/Users/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/Users/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }, code: 'ERR_TEST_FAILURE' }
test/proxy-agent.js: test/proxy-agent.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms', code: 'ERR_TEST_FAILURE' }
use proxy-agent to connect through proxy: test\proxy-agent.js#L122
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (D:\a\undici\undici\lib\dispatcher\proxy-agent.js:71:62) at socket (D:\a\undici\undici\lib\dispatcher\client.js:406:25) at new Promise (<anonymous>) at connect (D:\a\undici\undici\lib\dispatcher\client.js:405:26) at _resume (D:\a\undici\undici\lib\dispatcher\client.js:578:7) at resume (D:\a\undici\undici\lib\dispatcher\client.js:512:3) at Client.<computed> (D:\a\undici\undici\lib\dispatcher\client.js:239:31) at [dispatch] (D:\a\undici\undici\lib\dispatcher\client.js:294:20) at Client.dispatch (D:\a\undici\undici\lib\dispatcher\dispatcher-base.js:145:29) at [dispatch] (D:\a\undici\undici\lib\dispatcher\pool-base.js:143:28), code: 'ERR_TEST_FAILURE' }
use proxy agent to connect through proxy using Pool: test\proxy-agent.js#L160
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (D:\a\undici\undici\lib\dispatcher\proxy-agent.js:71:62) at socket (D:\a\undici\undici\lib\dispatcher\client.js:406:25) at new Promise (<anonymous>) at connect (D:\a\undici\undici\lib\dispatcher\client.js:405:26) at _resume (D:\a\undici\undici\lib\dispatcher\client.js:578:7) at resume (D:\a\undici\undici\lib\dispatcher\client.js:512:3) at Client.<computed> (D:\a\undici\undici\lib\dispatcher\client.js:239:31) at [dispatch] (D:\a\undici\undici\lib\dispatcher\client.js:294:20) at Client.dispatch (D:\a\undici\undici\lib\dispatcher\dispatcher-base.js:145:29) at [dispatch] (D:\a\undici\undici\lib\dispatcher\pool-base.js:143:28), code: 'ERR_TEST_FAILURE' }
use proxy-agent to connect through proxy using path with params: test\proxy-agent.js#L199
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (D:\a\undici\undici\lib\dispatcher\proxy-agent.js:71:62) at socket (D:\a\undici\undici\lib\dispatcher\client.js:406:25) at new Promise (<anonymous>) at connect (D:\a\undici\undici\lib\dispatcher\client.js:405:26) at _resume (D:\a\undici\undici\lib\dispatcher\client.js:578:7) at resume (D:\a\undici\undici\lib\dispatcher\client.js:512:3) at Client.<computed> (D:\a\undici\undici\lib\dispatcher\client.js:239:31) at [dispatch] (D:\a\undici\undici\lib\dispatcher\client.js:294:20) at Client.dispatch (D:\a\undici\undici\lib\dispatcher\dispatcher-base.js:145:29) at [dispatch] (D:\a\undici\undici\lib\dispatcher\pool-base.js:143:28), code: 'ERR_TEST_FAILURE' }
use proxy-agent to connect through proxy with basic auth in URL: test\proxy-agent.js#L235
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (D:\a\undici\undici\lib\dispatcher\proxy-agent.js:71:62) at socket (D:\a\undici\undici\lib\dispatcher\client.js:406:25) at new Promise (<anonymous>) at connect (D:\a\undici\undici\lib\dispatcher\client.js:405:26) at _resume (D:\a\undici\undici\lib\dispatcher\client.js:578:7) at resume (D:\a\undici\undici\lib\dispatcher\client.js:512:3) at Client.<computed> (D:\a\undici\undici\lib\dispatcher\client.js:239:31) at [dispatch] (D:\a\undici\undici\lib\dispatcher\client.js:294:20) at Client.dispatch (D:\a\undici\undici\lib\dispatcher\dispatcher-base.js:145:29) at [dispatch] (D:\a\undici\undici\lib\dispatcher\pool-base.js:143:28), code: 'ERR_TEST_FAILURE' }
use proxy-agent with auth: test\proxy-agent.js#L276
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (D:\a\undici\undici\lib\dispatcher\proxy-agent.js:71:62) at socket (D:\a\undici\undici\lib\dispatcher\client.js:406:25) at new Promise (<anonymous>) at connect (D:\a\undici\undici\lib\dispatcher\client.js:405:26) at _resume (D:\a\undici\undici\lib\dispatcher\client.js:578:7) at resume (D:\a\undici\undici\lib\dispatcher\client.js:512:3) at Client.<computed> (D:\a\undici\undici\lib\dispatcher\client.js:239:31) at [dispatch] (D:\a\undici\undici\lib\dispatcher\client.js:294:20) at Client.dispatch (D:\a\undici\undici\lib\dispatcher\dispatcher-base.js:145:29) at [dispatch] (D:\a\undici\undici\lib\dispatcher\pool-base.js:143:28), code: 'ERR_TEST_FAILURE' }
use proxy-agent with token: test\proxy-agent.js#L320
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (D:\a\undici\undici\lib\dispatcher\proxy-agent.js:71:62) at socket (D:\a\undici\undici\lib\dispatcher\client.js:406:25) at new Promise (<anonymous>) at connect (D:\a\undici\undici\lib\dispatcher\client.js:405:26) at _resume (D:\a\undici\undici\lib\dispatcher\client.js:578:7) at resume (D:\a\undici\undici\lib\dispatcher\client.js:512:3) at Client.<computed> (D:\a\undici\undici\lib\dispatcher\client.js:239:31) at [dispatch] (D:\a\undici\undici\lib\dispatcher\client.js:294:20) at Client.dispatch (D:\a\undici\undici\lib\dispatcher\dispatcher-base.js:145:29) at [dispatch] (D:\a\undici\undici\lib\dispatcher\pool-base.js:143:28), code: 'ERR_TEST_FAILURE' }
use proxy-agent with custom headers: test\proxy-agent.js#L364
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (D:\a\undici\undici\lib\dispatcher\proxy-agent.js:71:62) at socket (D:\a\undici\undici\lib\dispatcher\client.js:406:25) at new Promise (<anonymous>) at connect (D:\a\undici\undici\lib\dispatcher\client.js:405:26) at _resume (D:\a\undici\undici\lib\dispatcher\client.js:578:7) at resume (D:\a\undici\undici\lib\dispatcher\client.js:512:3) at Client.<computed> (D:\a\undici\undici\lib\dispatcher\client.js:239:31) at [dispatch] (D:\a\undici\undici\lib\dispatcher\client.js:294:20) at Client.dispatch (D:\a\undici\undici\lib\dispatcher\dispatcher-base.js:145:29) at [dispatch] (D:\a\undici\undici\lib\dispatcher\pool-base.js:143:28), code: 'ERR_TEST_FAILURE' }
use proxy-agent with setGlobalDispatcher: test\proxy-agent.js#L454
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (D:\a\undici\undici\lib\dispatcher\proxy-agent.js:71:62) at socket (D:\a\undici\undici\lib\dispatcher\client.js:406:25) at new Promise (<anonymous>) at connect (D:\a\undici\undici\lib\dispatcher\client.js:405:26) at _resume (D:\a\undici\undici\lib\dispatcher\client.js:578:7) at resume (D:\a\undici\undici\lib\dispatcher\client.js:512:3) at Client.<computed> (D:\a\undici\undici\lib\dispatcher\client.js:239:31) at [dispatch] (D:\a\undici\undici\lib\dispatcher\client.js:294:20) at Client.dispatch (D:\a\undici\undici\lib\dispatcher\dispatcher-base.js:145:29) at [dispatch] (D:\a\undici\undici\lib\dispatcher\pool-base.js:143:28), code: 'ERR_TEST_FAILURE' }
ProxyAgent correctly sends headers when using fetch - #1355, #1623: test\proxy-agent.js#L535
[Error [ERR_TEST_FAILURE]: fetch failed] { failureType: 'testCodeFailure', cause: TypeError [Error]: fetch failed at fetch (D:\a\undici\undici\index.js:110:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (D:\a\undici\undici\test\proxy-agent.js:535:3) at async Test.run (node:internal/test_runner/test:632:9) at async Test.processPendingSubtests (node:internal/test_runner/test:374:7) { [cause]: TypeError [Error]: this[kClient].connect is not a function at Client.connect (D:\a\undici\undici\lib\dispatcher\proxy-agent.js:71:62) at socket (D:\a\undici\undici\lib\dispatcher\client.js:406:25) at new Promise (<anonymous>) at connect (D:\a\undici\undici\lib\dispatcher\client.js:405:26) at _resume (D:\a\undici\undici\lib\dispatcher\client.js:578:7) at resume (D:\a\undici\undici\lib\dispatcher\client.js:512:3) at Client.<computed> (D:\a\undici\undici\lib\dispatcher\client.js:239:31) at [dispatch] (D:\a\undici\undici\lib\dispatcher\client.js:294:20) at Client.dispatch (D:\a\undici\undici\lib\dispatcher\dispatcher-base.js:145:29) at [dispatch] (D:\a\undici\undici\lib\dispatcher\pool-base.js:143:28) }, code: 'ERR_TEST_FAILURE' }
test\proxy-agent.js: test\proxy-agent.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms', code: 'ERR_TEST_FAILURE' }
use proxy-agent to connect through proxy: test/proxy-agent.js#L122
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy agent to connect through proxy using Pool: test/proxy-agent.js#L160
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent to connect through proxy using path with params: test/proxy-agent.js#L199
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent to connect through proxy with basic auth in URL: test/proxy-agent.js#L235
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent with auth: test/proxy-agent.js#L276
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent with token: test/proxy-agent.js#L320
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent with custom headers: test/proxy-agent.js#L364
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent with setGlobalDispatcher: test/proxy-agent.js#L454
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
ProxyAgent correctly sends headers when using fetch - #1355, #1623: test/proxy-agent.js#L535
[Error [ERR_TEST_FAILURE]: fetch failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: fetch failed at fetch (/home/runner/work/undici/undici/index.js:110:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (/home/runner/work/undici/undici/test/proxy-agent.js:535:3) at async Test.run (node:internal/test_runner/test:790:9) at async Test.processPendingSubtests (node:internal/test_runner/test:517:7) { [cause]: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) } }
test/proxy-agent.js: test/proxy-agent.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
use proxy-agent to connect through proxy: test/proxy-agent.js#L122
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy agent to connect through proxy using Pool: test/proxy-agent.js#L160
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent to connect through proxy using path with params: test/proxy-agent.js#L199
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent to connect through proxy with basic auth in URL: test/proxy-agent.js#L235
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent with auth: test/proxy-agent.js#L276
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent with token: test/proxy-agent.js#L320
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent with custom headers: test/proxy-agent.js#L364
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent with setGlobalDispatcher: test/proxy-agent.js#L454
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
ProxyAgent correctly sends headers when using fetch - #1355, #1623: test/proxy-agent.js#L535
[Error [ERR_TEST_FAILURE]: fetch failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: fetch failed at fetch (/home/runner/work/undici/undici/index.js:110:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TestContext.<anonymous> (/home/runner/work/undici/undici/test/proxy-agent.js:535:3) at async Test.run (node:internal/test_runner/test:640:9) at async Test.processPendingSubtests (node:internal/test_runner/test:382:7) { [cause]: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) } }
test/proxy-agent.js: test/proxy-agent.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
use proxy-agent to connect through proxy: test/proxy-agent.js#L122
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy agent to connect through proxy using Pool: test/proxy-agent.js#L160
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent to connect through proxy using path with params: test/proxy-agent.js#L199
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent to connect through proxy with basic auth in URL: test/proxy-agent.js#L235
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent with auth: test/proxy-agent.js#L276
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent with token: test/proxy-agent.js#L320
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent with custom headers: test/proxy-agent.js#L364
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
use proxy-agent with setGlobalDispatcher: test/proxy-agent.js#L454
[Error [ERR_TEST_FAILURE]: this[kClient].connect is not a function] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) }
ProxyAgent correctly sends headers when using fetch - #1355, #1623: test/proxy-agent.js#L535
[Error [ERR_TEST_FAILURE]: fetch failed] { code: 'ERR_TEST_FAILURE', failureType: 'testCodeFailure', cause: TypeError [Error]: fetch failed at fetch (/home/runner/work/undici/undici/index.js:110:13) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async TestContext.<anonymous> (/home/runner/work/undici/undici/test/proxy-agent.js:535:3) at async Test.run (node:internal/test_runner/test:931:9) at async Test.processPendingSubtests (node:internal/test_runner/test:629:7) { [cause]: TypeError [Error]: this[kClient].connect is not a function at Client.connect (/home/runner/work/undici/undici/lib/dispatcher/proxy-agent.js:71:62) at socket (/home/runner/work/undici/undici/lib/dispatcher/client.js:406:25) at new Promise (<anonymous>) at connect (/home/runner/work/undici/undici/lib/dispatcher/client.js:405:26) at _resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:578:7) at resume (/home/runner/work/undici/undici/lib/dispatcher/client.js:512:3) at Client.<computed> (/home/runner/work/undici/undici/lib/dispatcher/client.js:239:31) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/client.js:294:20) at Client.dispatch (/home/runner/work/undici/undici/lib/dispatcher/dispatcher-base.js:145:29) at [dispatch] (/home/runner/work/undici/undici/lib/dispatcher/pool-base.js:143:28) } }
test/proxy-agent.js: test/proxy-agent.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
test (20, ubuntu-latest) / Test with Node.js 20 on ubuntu-latest
Total Tests: 841 Suites 📂: 74 Passed ✅: 824 Failed ❌: 10 Canceled 🚫: 2 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 69345.041ms
test (21, ubuntu-latest) / Test with Node.js 21 on ubuntu-latest
Total Tests: 841 Suites 📂: 74 Passed ✅: 825 Failed ❌: 10 Canceled 🚫: 2 Skipped ⏭️: 4 Todo 📝: 0 Duration 🕐: 68876.226ms
test (18, ubuntu-latest) / Test with Node.js 18 on ubuntu-latest
Total Tests: 841 Suites 📂: 74 Passed ✅: 825 Failed ❌: 10 Canceled 🚫: 2 Skipped ⏭️: 4 Todo 📝: 0 Duration 🕐: 75242.708ms
test (22, ubuntu-latest) / Test with Node.js 22 on ubuntu-latest
Total Tests: 841 Suites 📂: 74 Passed ✅: 824 Failed ❌: 10 Canceled 🚫: 2 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 71161.440ms
test (22, macos-latest) / Test with Node.js 22 on macos-latest
Total Tests: 841 Suites 📂: 74 Passed ✅: 824 Failed ❌: 10 Canceled 🚫: 2 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 86026.782ms
test (20, macos-latest) / Test with Node.js 20 on macos-latest
Total Tests: 841 Suites 📂: 74 Passed ✅: 824 Failed ❌: 10 Canceled 🚫: 2 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 86310.563ms
test (21, macos-latest) / Test with Node.js 21 on macos-latest
Total Tests: 841 Suites 📂: 74 Passed ✅: 825 Failed ❌: 10 Canceled 🚫: 2 Skipped ⏭️: 4 Todo 📝: 0 Duration 🕐: 87127.355ms
test (20, windows-latest) / Test with Node.js 20 on windows-latest
Total Tests: 841 Suites 📂: 74 Passed ✅: 824 Failed ❌: 10 Canceled 🚫: 2 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 71480.161ms
test (21, windows-latest) / Test with Node.js 21 on windows-latest
Total Tests: 841 Suites 📂: 74 Passed ✅: 825 Failed ❌: 10 Canceled 🚫: 2 Skipped ⏭️: 4 Todo 📝: 0 Duration 🕐: 71585.632ms
test (22, windows-latest) / Test with Node.js 22 on windows-latest
Total Tests: 841 Suites 📂: 74 Passed ✅: 824 Failed ❌: 10 Canceled 🚫: 2 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 70426.850ms
test (18, macos-latest) / Test with Node.js 18 on macos-latest
Total Tests: 841 Suites 📂: 74 Passed ✅: 825 Failed ❌: 10 Canceled 🚫: 2 Skipped ⏭️: 4 Todo 📝: 0 Duration 🕐: 98861.475ms
test (18, windows-latest) / Test with Node.js 18 on windows-latest
Total Tests: 841 Suites 📂: 74 Passed ✅: 825 Failed ❌: 10 Canceled 🚫: 2 Skipped ⏭️: 4 Todo 📝: 0 Duration 🕐: 78634.140ms
Test with Node.js 20 compiled --without-intl
Total Tests: 841 Suites 📂: 74 Passed ✅: 824 Failed ❌: 10 Canceled 🚫: 2 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 69347.510ms
Test with Node.js 21 compiled --without-intl
Total Tests: 841 Suites 📂: 74 Passed ✅: 825 Failed ❌: 10 Canceled 🚫: 2 Skipped ⏭️: 4 Todo 📝: 0 Duration 🕐: 69079.253ms
Test with Node.js 22 compiled --without-intl
Total Tests: 841 Suites 📂: 74 Passed ✅: 824 Failed ❌: 10 Canceled 🚫: 2 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 69166.123ms