You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/projects/custom/hfl/composer/node_modules/global-agent/src/utilities/parseProxyUrl.js:22
throw new UnexpectedStateError('Unsupported `GLOBAL_AGENT.HTTP_PROXY` configuration value: URL protocol must be "http:".');
^
UnexpectedStateError: Unsupported `GLOBAL_AGENT.HTTP_PROXY` configuration value: URL protocol must be "http:".
at parseProxyUrl (/projects/custom/hfl/composer/node_modules/global-agent/src/utilities/parseProxyUrl.js:22:11)
at BoundHttpsProxyAgent.getUrlProxy (/projects/custom/hfl/composer/node_modules/global-agent/src/factories/createGlobalProxyAgent.js:117:14)
at BoundHttpsProxyAgent.addRequest (/projects/custom/hfl/composer/node_modules/global-agent/src/classes/Agent.js:90:24)
at new ClientRequest (node:_http_client:305:16)
at originalMethod (node:https:353:10)
at Object.request (/projects/custom/hfl/composer/node_modules/global-agent/src/utilities/bindHttpMethod.js:51:14)
at Object.<anonymous> (/projects/custom/hfl/composer/get-regions.ts:13:19)
at Module._compile (node:internal/modules/cjs/loader:1103:14)
at Module.m._compile (/projects/custom/hfl/composer/node_modules/ts-node/src/index.ts:1455:23)
at Module._extensions..js (node:internal/modules/cjs/loader:1155:10) {
code: 'UNEXPECTED_STATE_ERROR'
}
Node version: 16.14.0
OS: Linux
And it doesn't matter do I have a running proxy or not - the error is triggered before.
The text was updated successfully, but these errors were encountered:
chrishg2001
pushed a commit
to chrishg2001/global-agent
that referenced
this issue
Aug 6, 2022
This is my code:
Which I run as:
And I get an error:
Node version: 16.14.0
OS: Linux
And it doesn't matter do I have a running proxy or not - the error is triggered before.
The text was updated successfully, but these errors were encountered: