<!-- Click "Preview" for a more readable version --
Please read and follow th…e instructions before submitting an issue:
- Read all our documentation, especially the [README](https://github.com/axios/axios/blob/master/README.md). It may contain information that helps you solve your issue.
- Ensure your issue isn't already [reported](https://github.com/axios/axios/issues?utf8=%E2%9C%93&q=is%3Aissue).
- If you aren't sure that the issue is caused by Axios or you just need help, please use [Stack Overflow](https://stackoverflow.com/questions/tagged/axios) or [our chat](https://gitter.im/mzabriskie/axios).
- If you're reporting a bug, ensure it isn't already fixed in the latest Axios version.
- Don't remove any title of the issue template, or it will be treated as invalid by the bot.
⚠️👆 Feel free to these instructions before submitting the issue 👆⚠️
-->
#### Describe the issue
I get ERR_BAD_RESPONSE with status code 502 when I add proxy to the request and the proxy does work.
#### Example Code
```js
await axios
.get(
url,
{
headers: headers,
proxy: {
host: proxy.substring(0, proxy.indexOf(':')),
port: proxy.substring(proxy.indexOf(':')+ 1),
}
} ).then(function (response) {
console.log(response.data)
})
.catch(function (error) {
console.log(error);
});
```
#### Environment
- Axios Version [e.g. 0.27.2]
- Node.js Version [e.g. 18.1.0]
#### Additional context/Screenshots
Full error:
```
[AxiosError: Request failed with status code 502] {
code: 'ERR_BAD_RESPONSE',
config: {
transitional: {
silentJSONParsing: true,
forcedJSONParsing: true,
clarifyTimeoutError: false
},
adapter: [Function: httpAdapter],
transformRequest: [ [Function: transformRequest] ],
transformResponse: [ [Function: transformResponse] ],
timeout: 0,
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
maxBodyLength: -1,
env: { FormData: [Function] },
validateStatus: [Function: validateStatus],
headers: {
Accept: 'application/x-mpegURL, application/vnd.apple.mpegurl, application/json, text/plain',
Origin: 'https://www.twitch.tv',
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36',
host: 'video-weaver.iad03.hls.ttvnw.net'
},
proxy: { host: '139.171.233.9', port: '7304\r' },
method: 'get',
url: 'https://video-weaver.iad03.hls.ttvnw.net/v1/playlist/Co0FdWsy2HU051s2w2TCnlVGk5SIt_CUcZmIZzrBf_t3xOJNDWpQ9e3K6QBgLv7xRr66TmoyhqduqLmS5AtWmtnOLjBN-ZNySHXo5LjPrga-NeB_5OZQNK
27MG0Z4MtbGQQLhKvuX5doyEYqeH9dJjrhcNvElv4qKZlg2PVIYmxtkw9HgNHs50iaoLVYQZgEfplyiIIrGGqFx3lm9a3Q7rFheJUuXdwz8-0doHq34wxqYJAK44iMxdV-c5zUGs-Csxp2xUuxLO5yLs7pXnRO-iJPzqtUFU8BbJy8rHQJd-U
ypzVAV0FEWkIZJZn2kOXHzwVVviWWmTYtwWYn7-lw0rNnnyc_uawQqPrBlDaP7yxf2URhmYBEczapchI2IzXydnAXD9dNj4fIFvNKVClCtOVJhoy9OA2xk1pkd9DxdHJx13nwBhbTBYykeJ1ezsAuETsaGYKLLq-klkWwCZh7dz8ohPToIB_2
IPemeWSpQjPSj31JhZjvS__af4lk1i8KJr6Zq8c2USUypo3UEL8AsXNiIBkFETll7yZEUEgA5f9gaLVLLomKMnUmMn5Kon7yK6LaK-5H67LgVqSHc8iBOfLowjuSRvsCPKMahF1v8pM9iG47t0o54SMsKMxBMdV_ZRkc46VlpN8Ai8qvjBkvA
rqpRt6gxaIiO_bDg4eI9fqWxtxW5vf7ICGqLOebaQLkxiyG1lIgSrZ9CMf5le9GpJrAJ0rERz55Dt5LeP_raMpT3LAj0spQQ-yaii4RnGs946_Mm8eBE6Jrhv6xfByCMknBRMWZWhUbVG_lV95JBjzyo-mVGakEKlEQawukb0IIwX-Y9vRm4_
oQdsesf7UOgy9rMWq6M7d9cbPtGtmvx3waDHdkcvLmWofa_3mj0SABKglldS13ZXN0LTIw7wQ.m3u8',
data: undefined
},
request: <ref *1> ClientRequest {
_events: [Object: null prototype] {
abort: [Function (anonymous)],
aborted: [Function (anonymous)],
connect: [Function (anonymous)],
error: [Function (anonymous)],
socket: [Function (anonymous)],
timeout: [Function (anonymous)],
prefinish: [Function: requestOnPrefinish]
},
_eventsCount: 7,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: false,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: false,
socket: Socket {
connecting: false,
_hadError: false,
_parent: null,
_host: null,
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 7,
_maxListeners: undefined,
_writableState: [WritableState],
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: null,
_server: null,
parser: null,
_httpMessage: [Circular *1],
[Symbol(async_id_symbol)]: 14156,
[Symbol(kHandle)]: [TCP],
[Symbol(lastWriteQueueSize)]: 0,
[Symbol(timeout)]: null,
[Symbol(kBuffer)]: null,
[Symbol(kBufferCb)]: null,
[Symbol(kBufferGen)]: null,
[Symbol(kCapture)]: false,
[Symbol(kSetNoDelay)]: true,
[Symbol(kSetKeepAlive)]: true,
[Symbol(kSetKeepAliveInitialDelay)]: 60,
[Symbol(kBytesRead)]: 0,
[Symbol(kBytesWritten)]: 0
},
_header: 'GET https://video-weaver.iad03.hls.ttvnw.net/v1/playlist/Co0FdWsy2HU051s2w2TCnlVGk5SIt_CUcZmIZzrBf_t3xOJNDWpQ9e3K6QBgLv7xRr66TmoyhqduqLmS5AtWmtnOLjBN-ZNySHXo5LjPrga-Ne
B_5OZQNK27MG0Z4MtbGQQLhKvuX5doyEYqeH9dJjrhcNvElv4qKZlg2PVIYmxtkw9HgNHs50iaoLVYQZgEfplyiIIrGGqFx3lm9a3Q7rFheJUuXdwz8-0doHq34wxqYJAK44iMxdV-c5zUGs-Csxp2xUuxLO5yLs7pXnRO-iJPzqtUFU8BbJy
8rHQJd-UypzVAV0FEWkIZJZn2kOXHzwVVviWWmTYtwWYn7-lw0rNnnyc_uawQqPrBlDaP7yxf2URhmYBEczapchI2IzXydnAXD9dNj4fIFvNKVClCtOVJhoy9OA2xk1pkd9DxdHJx13nwBhbTBYykeJ1ezsAuETsaGYKLLq-klkWwCZh7dz8o
hPToIB_2IPemeWSpQjPSj31JhZjvS__af4lk1i8KJr6Zq8c2USUypo3UEL8AsXNiIBkFETll7yZEUEgA5f9gaLVLLomKMnUmMn5Kon7yK6LaK-5H67LgVqSHc8iBOfLowjuSRvsCPKMahF1v8pM9iG47t0o54SMsKMxBMdV_ZRkc46VlpN8Ai
8qvjBkvArqpRt6gxaIiO_bDg4eI9fqWxtxW5vf7ICGqLOebaQLkxiyG1lIgSrZ9CMf5le9GpJrAJ0rERz55Dt5LeP_raMpT3LAj0spQQ-yaii4RnGs946_Mm8eBE6Jrhv6xfByCMknBRMWZWhUbVG_lV95JBjzyo-mVGakEKlEQawukb0IIwX
-Y9vRm4_oQdsesf7UOgy9rMWq6M7d9cbPtGtmvx3waDHdkcvLmWofa_3mj0SABKglldS13ZXN0LTIw7wQ.m3u8 HTTP/1.1\r\n' +
'Accept: application/x-mpegURL, application/vnd.apple.mpegurl, application/json, text/plain\r\n' +
'Origin: https://www.twitch.tv\r\n' +
'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36\r\n' +
'host: video-weaver.iad03.hls.ttvnw.net\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: Agent {
_events: [Object: null prototype],
_eventsCount: 2,
_maxListeners: undefined,
defaultPort: 80,
protocol: 'http:',
options: [Object: null prototype],
requests: [Object: null prototype] {},
sockets: [Object: null prototype],
freeSockets: [Object: null prototype] {},
keepAliveMsecs: 1000,
keepAlive: false,
maxSockets: Infinity,
maxFreeSockets: 256,
scheduling: 'lifo',
maxTotalSockets: Infinity,
totalSocketCount: 1,
[Symbol(kCapture)]: false
},
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
path: 'https://video-weaver.iad03.hls.ttvnw.net/v1/playlist/Co0FdWsy2HU051s2w2TCnlVGk5SIt_CUcZmIZzrBf_t3xOJNDWpQ9e3K6QBgLv7xRr66TmoyhqduqLmS5AtWmtnOLjBN-ZNySHXo5LjPrga-NeB_5OZQN
K27MG0Z4MtbGQQLhKvuX5doyEYqeH9dJjrhcNvElv4qKZlg2PVIYmxtkw9HgNHs50iaoLVYQZgEfplyiIIrGGqFx3lm9a3Q7rFheJUuXdwz8-0doHq34wxqYJAK44iMxdV-c5zUGs-Csxp2xUuxLO5yLs7pXnRO-iJPzqtUFU8BbJy8rHQJd-
UypzVAV0FEWkIZJZn2kOXHzwVVviWWmTYtwWYn7-lw0rNnnyc_uawQqPrBlDaP7yxf2URhmYBEczapchI2IzXydnAXD9dNj4fIFvNKVClCtOVJhoy9OA2xk1pkd9DxdHJx13nwBhbTBYykeJ1ezsAuETsaGYKLLq-klkWwCZh7dz8ohPToIB_
2IPemeWSpQjPSj31JhZjvS__af4lk1i8KJr6Zq8c2USUypo3UEL8AsXNiIBkFETll7yZEUEgA5f9gaLVLLomKMnUmMn5Kon7yK6LaK-5H67LgVqSHc8iBOfLowjuSRvsCPKMahF1v8pM9iG47t0o54SMsKMxBMdV_ZRkc46VlpN8Ai8qvjBkv
ArqpRt6gxaIiO_bDg4eI9fqWxtxW5vf7ICGqLOebaQLkxiyG1lIgSrZ9CMf5le9GpJrAJ0rERz55Dt5LeP_raMpT3LAj0spQQ-yaii4RnGs946_Mm8eBE6Jrhv6xfByCMknBRMWZWhUbVG_lV95JBjzyo-mVGakEKlEQawukb0IIwX-Y9vRm4
_oQdsesf7UOgy9rMWq6M7d9cbPtGtmvx3waDHdkcvLmWofa_3mj0SABKglldS13ZXN0LTIw7wQ.m3u8',
_ended: true,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 4,
_maxListeners: undefined,
socket: [Socket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 502,
statusMessage: 'Bad Gateway',
client: [Socket],
_consuming: true,
_dumped: false,
req: [Circular *1],
responseUrl: 'https://video-weaver.iad03.hls.ttvnw.net/v1/playlist/Co0FdWsy2HU051s2w2TCnlVGk5SIt_CUcZmIZzrBf_t3xOJNDWpQ9e3K6QBgLv7xRr66TmoyhqduqLmS5AtWmtnOLjBN-ZNySHXo5LjPrga-
NeB_5OZQNK27MG0Z4MtbGQQLhKvuX5doyEYqeH9dJjrhcNvElv4qKZlg2PVIYmxtkw9HgNHs50iaoLVYQZgEfplyiIIrGGqFx3lm9a3Q7rFheJUuXdwz8-0doHq34wxqYJAK44iMxdV-c5zUGs-Csxp2xUuxLO5yLs7pXnRO-iJPzqtUFU8Bb
Jy8rHQJd-UypzVAV0FEWkIZJZn2kOXHzwVVviWWmTYtwWYn7-lw0rNnnyc_uawQqPrBlDaP7yxf2URhmYBEczapchI2IzXydnAXD9dNj4fIFvNKVClCtOVJhoy9OA2xk1pkd9DxdHJx13nwBhbTBYykeJ1ezsAuETsaGYKLLq-klkWwCZh7dz
8ohPToIB_2IPemeWSpQjPSj31JhZjvS__af4lk1i8KJr6Zq8c2USUypo3UEL8AsXNiIBkFETll7yZEUEgA5f9gaLVLLomKMnUmMn5Kon7yK6LaK-5H67LgVqSHc8iBOfLowjuSRvsCPKMahF1v8pM9iG47t0o54SMsKMxBMdV_ZRkc46VlpN8
Ai8qvjBkvArqpRt6gxaIiO_bDg4eI9fqWxtxW5vf7ICGqLOebaQLkxiyG1lIgSrZ9CMf5le9GpJrAJ0rERz55Dt5LeP_raMpT3LAj0spQQ-yaii4RnGs946_Mm8eBE6Jrhv6xfByCMknBRMWZWhUbVG_lV95JBjzyo-mVGakEKlEQawukb0II
wX-Y9vRm4_oQdsesf7UOgy9rMWq6M7d9cbPtGtmvx3waDHdkcvLmWofa_3mj0SABKglldS13ZXN0LTIw7wQ.m3u8',
redirects: [],
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 22,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: '139.171.233.9',
protocol: 'http:',
_redirectable: Writable {
_writableState: [WritableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
_options: [Object],
_ended: true,
_ending: true,
_redirectCount: 0,
_redirects: [],
_requestBodyLength: 0,
_requestBodyBuffers: [],
_onNativeResponse: [Function (anonymous)],
_currentRequest: [Circular *1],
_currentUrl: 'https://video-weaver.iad03.hls.ttvnw.net/v1/playlist/Co0FdWsy2HU051s2w2TCnlVGk5SIt_CUcZmIZzrBf_t3xOJNDWpQ9e3K6QBgLv7xRr66TmoyhqduqLmS5AtWmtnOLjBN-ZNySHXo5LjPrga-
NeB_5OZQNK27MG0Z4MtbGQQLhKvuX5doyEYqeH9dJjrhcNvElv4qKZlg2PVIYmxtkw9HgNHs50iaoLVYQZgEfplyiIIrGGqFx3lm9a3Q7rFheJUuXdwz8-0doHq34wxqYJAK44iMxdV-c5zUGs-Csxp2xUuxLO5yLs7pXnRO-iJPzqtUFU8Bb
Jy8rHQJd-UypzVAV0FEWkIZJZn2kOXHzwVVviWWmTYtwWYn7-lw0rNnnyc_uawQqPrBlDaP7yxf2URhmYBEczapchI2IzXydnAXD9dNj4fIFvNKVClCtOVJhoy9OA2xk1pkd9DxdHJx13nwBhbTBYykeJ1ezsAuETsaGYKLLq-klkWwCZh7dz
8ohPToIB_2IPemeWSpQjPSj31JhZjvS__af4lk1i8KJr6Zq8c2USUypo3UEL8AsXNiIBkFETll7yZEUEgA5f9gaLVLLomKMnUmMn5Kon7yK6LaK-5H67LgVqSHc8iBOfLowjuSRvsCPKMahF1v8pM9iG47t0o54SMsKMxBMdV_ZRkc46VlpN8
Ai8qvjBkvArqpRt6gxaIiO_bDg4eI9fqWxtxW5vf7ICGqLOebaQLkxiyG1lIgSrZ9CMf5le9GpJrAJ0rERz55Dt5LeP_raMpT3LAj0spQQ-yaii4RnGs946_Mm8eBE6Jrhv6xfByCMknBRMWZWhUbVG_lV95JBjzyo-mVGakEKlEQawukb0II
wX-Y9vRm4_oQdsesf7UOgy9rMWq6M7d9cbPtGtmvx3waDHdkcvLmWofa_3mj0SABKglldS13ZXN0LTIw7wQ.m3u8',
[Symbol(kCapture)]: false
},
[Symbol(kCapture)]: false,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype] {
accept: [Array],
origin: [Array],
'user-agent': [Array],
host: [Array]
}
},
response: {
status: 502,
statusText: 'Bad Gateway',
headers: {
server: 'squid/4.6',
'mime-version': '1.0',
date: 'Sun, 09 Oct 2022 13:19:49 GMT',
'content-type': 'text/html;charset=utf-8',
'content-length': '6659',
'x-squid-error': 'ERR_READ_ERROR 0',
vary: 'Accept-Language',
'content-language': 'en',
'x-cache': 'MISS from localhost',
'x-cache-lookup': 'MISS from localhost:3128',
connection: 'close'
},
config: {
transitional: [Object],
adapter: [Function: httpAdapter],
transformRequest: [Array],
transformResponse: [Array],
timeout: 0,
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
maxBodyLength: -1,
env: [Object],
validateStatus: [Function: validateStatus],
headers: [Object],
proxy: [Object],
method: 'get',
url: 'https://video-weaver.iad03.hls.ttvnw.net/v1/playlist/Co0FdWsy2HU051s2w2TCnlVGk5SIt_CUcZmIZzrBf_t3xOJNDWpQ9e3K6QBgLv7xRr66TmoyhqduqLmS5AtWmtnOLjBN-ZNySHXo5LjPrga-NeB_5OZQ
NK27MG0Z4MtbGQQLhKvuX5doyEYqeH9dJjrhcNvElv4qKZlg2PVIYmxtkw9HgNHs50iaoLVYQZgEfplyiIIrGGqFx3lm9a3Q7rFheJUuXdwz8-0doHq34wxqYJAK44iMxdV-c5zUGs-Csxp2xUuxLO5yLs7pXnRO-iJPzqtUFU8BbJy8rHQJd
-UypzVAV0FEWkIZJZn2kOXHzwVVviWWmTYtwWYn7-lw0rNnnyc_uawQqPrBlDaP7yxf2URhmYBEczapchI2IzXydnAXD9dNj4fIFvNKVClCtOVJhoy9OA2xk1pkd9DxdHJx13nwBhbTBYykeJ1ezsAuETsaGYKLLq-klkWwCZh7dz8ohPToIB
_2IPemeWSpQjPSj31JhZjvS__af4lk1i8KJr6Zq8c2USUypo3UEL8AsXNiIBkFETll7yZEUEgA5f9gaLVLLomKMnUmMn5Kon7yK6LaK-5H67LgVqSHc8iBOfLowjuSRvsCPKMahF1v8pM9iG47t0o54SMsKMxBMdV_ZRkc46VlpN8Ai8qvjBk
vArqpRt6gxaIiO_bDg4eI9fqWxtxW5vf7ICGqLOebaQLkxiyG1lIgSrZ9CMf5le9GpJrAJ0rERz55Dt5LeP_raMpT3LAj0spQQ-yaii4RnGs946_Mm8eBE6Jrhv6xfByCMknBRMWZWhUbVG_lV95JBjzyo-mVGakEKlEQawukb0IIwX-Y9vRm
4_oQdsesf7UOgy9rMWq6M7d9cbPtGtmvx3waDHdkcvLmWofa_3mj0SABKglldS13ZXN0LTIw7wQ.m3u8',
data: undefined
},
request: <ref *1> ClientRequest {
_events: [Object: null prototype],
_eventsCount: 7,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: false,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: false,
socket: [Socket],
_header: 'GET https://video-weaver.iad03.hls.ttvnw.net/v1/playlist/Co0FdWsy2HU051s2w2TCnlVGk5SIt_CUcZmIZzrBf_t3xOJNDWpQ9e3K6QBgLv7xRr66TmoyhqduqLmS5AtWmtnOLjBN-ZNySHXo5LjPrga-
NeB_5OZQNK27MG0Z4MtbGQQLhKvuX5doyEYqeH9dJjrhcNvElv4qKZlg2PVIYmxtkw9HgNHs50iaoLVYQZgEfplyiIIrGGqFx3lm9a3Q7rFheJUuXdwz8-0doHq34wxqYJAK44iMxdV-c5zUGs-Csxp2xUuxLO5yLs7pXnRO-iJPzqtUFU8Bb
Jy8rHQJd-UypzVAV0FEWkIZJZn2kOXHzwVVviWWmTYtwWYn7-lw0rNnnyc_uawQqPrBlDaP7yxf2URhmYBEczapchI2IzXydnAXD9dNj4fIFvNKVClCtOVJhoy9OA2xk1pkd9DxdHJx13nwBhbTBYykeJ1ezsAuETsaGYKLLq-klkWwCZh7dz
8ohPToIB_2IPemeWSpQjPSj31JhZjvS__af4lk1i8KJr6Zq8c2USUypo3UEL8AsXNiIBkFETll7yZEUEgA5f9gaLVLLomKMnUmMn5Kon7yK6LaK-5H67LgVqSHc8iBOfLowjuSRvsCPKMahF1v8pM9iG47t0o54SMsKMxBMdV_ZRkc46VlpN8
Ai8qvjBkvArqpRt6gxaIiO_bDg4eI9fqWxtxW5vf7ICGqLOebaQLkxiyG1lIgSrZ9CMf5le9GpJrAJ0rERz55Dt5LeP_raMpT3LAj0spQQ-yaii4RnGs946_Mm8eBE6Jrhv6xfByCMknBRMWZWhUbVG_lV95JBjzyo-mVGakEKlEQawukb0II
wX-Y9vRm4_oQdsesf7UOgy9rMWq6M7d9cbPtGtmvx3waDHdkcvLmWofa_3mj0SABKglldS13ZXN0LTIw7wQ.m3u8 HTTP/1.1\r\n' +
'Accept: application/x-mpegURL, application/vnd.apple.mpegurl, application/json, text/plain\r\n' +
'Origin: https://www.twitch.tv\r\n' +
'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36\r\n' +
'host: video-weaver.iad03.hls.ttvnw.net\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
path: 'https://video-weaver.iad03.hls.ttvnw.net/v1/playlist/Co0FdWsy2HU051s2w2TCnlVGk5SIt_CUcZmIZzrBf_t3xOJNDWpQ9e3K6QBgLv7xRr66TmoyhqduqLmS5AtWmtnOLjBN-ZNySHXo5LjPrga-NeB_5OZ
QNK27MG0Z4MtbGQQLhKvuX5doyEYqeH9dJjrhcNvElv4qKZlg2PVIYmxtkw9HgNHs50iaoLVYQZgEfplyiIIrGGqFx3lm9a3Q7rFheJUuXdwz8-0doHq34wxqYJAK44iMxdV-c5zUGs-Csxp2xUuxLO5yLs7pXnRO-iJPzqtUFU8BbJy8rHQJ
d-UypzVAV0FEWkIZJZn2kOXHzwVVviWWmTYtwWYn7-lw0rNnnyc_uawQqPrBlDaP7yxf2URhmYBEczapchI2IzXydnAXD9dNj4fIFvNKVClCtOVJhoy9OA2xk1pkd9DxdHJx13nwBhbTBYykeJ1ezsAuETsaGYKLLq-klkWwCZh7dz8ohPToI
B_2IPemeWSpQjPSj31JhZjvS__af4lk1i8KJr6Zq8c2USUypo3UEL8AsXNiIBkFETll7yZEUEgA5f9gaLVLLomKMnUmMn5Kon7yK6LaK-5H67LgVqSHc8iBOfLowjuSRvsCPKMahF1v8pM9iG47t0o54SMsKMxBMdV_ZRkc46VlpN8Ai8qvjB
kvArqpRt6gxaIiO_bDg4eI9fqWxtxW5vf7ICGqLOebaQLkxiyG1lIgSrZ9CMf5le9GpJrAJ0rERz55Dt5LeP_raMpT3LAj0spQQ-yaii4RnGs946_Mm8eBE6Jrhv6xfByCMknBRMWZWhUbVG_lV95JBjzyo-mVGakEKlEQawukb0IIwX-Y9vR
m4_oQdsesf7UOgy9rMWq6M7d9cbPtGtmvx3waDHdkcvLmWofa_3mj0SABKglldS13ZXN0LTIw7wQ.m3u8',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: '139.171.233.9',
protocol: 'http:',
_redirectable: [Writable],
[Symbol(kCapture)]: false,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype]
},
data: '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">\n' +
'<html><head>\n' +
'<meta type="copyright" content="Copyright (C) 1996-2019 The Squid Software Foundation and contributors">\n' +
'<meta http-equiv="Content-Type" content="text/html; charset=utf-8">\n' +
'<title>ERROR: The requested URL could not be retrieved</title>\n' +
'<style type="text/css"><!-- \n' +
' /*\n' +
' * Copyright (C) 1996-2020 The Squid Software Foundation and contributors\n' +
' *\n' +
' * Squid software is distributed under GPLv2+ license and includes\n' +
' * contributions from numerous individuals and organizations.\n' +
' * Please see the COPYING and CONTRIBUTORS files for details.\n' +
' */\n' +
'\n' +
'/*\n' +
' Stylesheet for Squid Error pages\n' +
' Adapted from design by Free CSS Templates\n' +
' http://www.freecsstemplates.org\n' +
' Released for free under a Creative Commons Attribution 2.5 License\n' +
'*/\n' +
'\n' +
'/* Page basics */\n' +
'* {\n' +
'\tfont-family: verdana, sans-serif;\n' +
'}\n' +
'\n' +
'html body {\n' +
'\tmargin: 0;\n' +
'\tpadding: 0;\n' +
'\tbackground: #efefef;\n' +
'\tfont-size: 12px;\n' +
'\tcolor: #1e1e1e;\n' +
'}\n' +
'\n' +
'/* Page displayed title area */\n' +
'#titles {\n' +
'\tmargin-left: 15px;\n' +
'\tpadding: 10px;\n' +
'\tpadding-left: 100px;\n' +
"\tbackground: url('/squid-internal-static/icons/SN.png') no-repeat left;\n" +
'}\n' +
'\n' +
'/* initial title */\n' +
'#titles h1 {\n' +
'\tcolor: #000000;\n' +
'}\n' +
'#titles h2 {\n' +
'\tcolor: #000000;\n' +
'}\n' +
'\n' +
'/* special event: FTP success page titles */\n' +
'#titles ftpsuccess {\n' +
'\tbackground-color:#00ff00;\n' +
'\twidth:100%;\n' +
'}\n' +
'\n' +
'/* Page displayed body content area */\n' +
'#content {\n' +
'\tpadding: 10px;\n' +
'\tbackground: #ffffff;\n' +
'}\n' +
'\n' +
'/* General text */\n' +
'p {\n' +
'}\n' +
'\n' +
'/* error brief description */\n' +
'#error p {\n' +
'}\n' +
'\n' +
'/* some data which may have caused the problem */\n' +
'#data {\n' +
'}\n' +
'\n' +
'/* the error message received from the system or other software */\n' +
'#sysmsg {\n' +
'}\n' +
'\n' +
'pre {\n' +
'}\n' +
'\n' +
'/* special event: FTP / Gopher directory listing */\n' +
'#dirmsg {\n' +
' font-family: courier, monospace;\n' +
' color: black;\n' +
' font-size: 10pt;\n' +
'}\n' +
'#dirlisting {\n' +
' margin-left: 2%;\n' +
' margin-right: 2%;\n' +
'}\n' +
'#dirlisting tr.entry td.icon,td.filename,td.size,td.date {\n' +
' border-bottom: groove;\n' +
'}\n' +
'#dirlisting td.size {\n' +
' width: 50px;\n' +
' text-align: right;\n' +
' padding-right: 5px;\n' +
'}\n' +
'\n' +
'/* horizontal lines */\n' +
'hr {\n' +
'\tmargin: 0;\n' +
'}\n' +
'\n' +
'/* page displayed footer area */\n' +
'#footer {\n' +
'\tfont-size: 9px;\n' +
'\tpadding-left: 10px;\n' +
'}\n' +
'\n' +
'\n' +
'body\n' +
':lang(fa) { direction: rtl; font-size: 100%; font-family: Tahoma, Roya, sans-serif; float: right; }\n' +
':lang(he) { direction: rtl; }\n' +
' --></style>\n' +
'</head><body id=ERR_READ_ERROR>\n' +
'<div id="titles">\n' +
'<h1>ERROR</h1>\n' +
'<h2>The requested URL could not be retrieved</h2>\n' +
'</div>\n' +
'<hr>\n' +
'\n' +
'<div id="content">\n' +
'<p>The following error was encountered while trying to retrieve the URL: <a href="https://video-weaver.iad03.hls.ttvnw.net/v1/playlist/Co0FdWsy2HU051s2w2TCnlVGk5SIt_CUcZmIZzr
Bf_t3xOJNDWpQ9e3K6QBgLv7xRr66TmoyhqduqLmS5AtWmtnOLjBN-ZNySHXo5LjPrga-NeB_5OZQNK27MG0Z4MtbGQQLhKvuX5doyEYqeH9dJjrhcNvElv4qKZlg2PVIYmxtkw9HgNHs50iaoLVYQZgEfplyiIIrGGqFx3lm9a3Q7rFheJUu
Xdwz8-0doHq34wxqYJAK44iMxdV-c5zUGs-Csxp2xUuxLO5yLs7pXnRO-iJPzqtUFU8BbJy8rHQJd-UypzVAV0FEWkIZJZn2kOXHzwVVviWWmTYtwWYn7-lw0rNnnyc_uawQqPrBlDaP7yxf2URhmYBEczapchI2IzXydnAXD9dNj4fIFvNKV
ClCtOVJhoy9OA2xk1pkd9DxdHJx13nwBhbTBYykeJ1ezsAuETsaGYKLLq-klkWwCZh7dz8ohPToIB_2IPemeWSpQjPSj31JhZjvS__af4lk1i8KJr6Zq8c2USUypo3UEL8AsXNiIBkFETll7yZEUEgA5f9gaLVLLomKMnUmMn5Kon7yK6LaK-
5H67LgVqSHc8iBOfLowjuSRvsCPKMahF1v8pM9iG47t0o54SMsKMxBMdV_ZRkc46VlpN8Ai8qvjBkvArqpRt6gxaIiO_bDg4eI9fqWxtxW5vf7ICGqLOebaQLkxiyG1lIgSrZ9CMf5le9GpJrAJ0rERz55Dt5LeP_raMpT3LAj0spQQ-yaii4
RnGs946_Mm8eBE6Jrhv6xfByCMknBRMWZWhUbVG_lV95JBjzyo-mVGakEKlEQawukb0IIwX-Y9vRm4_oQdsesf7UOgy9rMWq6M7d9cbPtGtmvx3waDHdkcvLmWofa_3mj0SABKglldS13ZXN0LTIw7wQ.m3u8">https://video-weaver.i
ad03.hls.ttvnw.net/v1/playlist/Co0FdWsy2HU051s2w2TCnlVGk5SIt_CUcZmIZzrBf_t3xOJNDWpQ9e3K6QBgLv7xRr66TmoyhqduqLmS5AtWmtnOLjBN-ZNySHXo5LjPrga-NeB_5OZQNK27MG0Z4MtbGQQLhKvuX5doyEYqeH9dJj
rhcNvElv4qKZlg2PVIYmxtkw9HgNHs50iaoLVYQZgEfplyiIIrGGqFx3lm9a3Q7rFheJUuXdwz8-0doHq34wxqYJAK44iMxdV-c5zUGs-Csxp2xUuxLO5yLs7pXnRO-iJPzqtUFU8BbJy8rHQJd-UypzVAV0FEWkIZJZn2kOXHzwVVviWWmTY
twWYn7-lw0rNnnyc_uawQqPrBlDaP7yxf2URhmYBEczapchI2IzXydnAXD9dNj4fIFvNKVClCtOVJhoy9OA2xk1pkd9DxdHJx13nwBhbTBYykeJ1ezsAuETsaGYKLLq-klkWwCZh7dz8ohPToIB_2IPemeWSpQjPSj31JhZjvS__af4lk1i8K
Jr6Zq8c2USUypo3UEL8AsXNiIBkFETll7yZEUEgA5f9gaLVLLomKMnUmMn5Kon7yK6LaK-5H67LgVqSHc8iBOfLowjuSRvsCPKMahF1v8pM9iG47t0o54SMsKMxBMdV_ZRkc46VlpN8Ai8qvjBkvArqpRt6gxaIiO_bDg4eI9fqWxtxW5vf7I
CGqLOebaQLkxiyG1lIgSrZ9CMf5le9GpJrAJ0rERz55Dt5LeP_raMpT3LAj0spQQ-yaii4RnGs946_Mm8eBE6Jrhv6xfByCMknBRMWZWhUbVG_lV95JBjzyo-mVGakEKlEQawukb0IIwX-Y9vRm4_oQdsesf7UOgy9rMWq6M7d9cbPtGtmvx3
waDHdkcvLmWofa_3mj0SABKglldS13ZXN0LTIw7wQ.m3u8</a></p>\n' +
'\n' +
'<blockquote id="error">\n' +
'<p><b>Read Error</b></p>\n' +
'</blockquote>\n' +
'\n' +
'<p id="sysmsg">The system returned: <i>[No Error]</i></p>\n' +
'\n' +
'<p>An error condition occurred while reading data from the network. Please retry your request.</p>\n' +
'\n' +
'<p>Your cache administrator is <a href="mailto:webmaster?subject=CacheErrorInfo%20-%20ERR_READ_ERROR&body=CacheHost%3A%20localhost%0D%0AErrPage%3A%20ERR_READ_ERROR%0D%0AE
rr%3A%20%5Bnone%5D%0D%0ATimeStamp%3A%20Sun,%2009%20Oct%202022%2013%3A19%3A49%20GMT%0D%0A%0D%0AClientIP%3A%205.13.33.206%0D%0AServerIP%3A%20video-weaver.iad03.hls.ttvnw.net%0D%0A%0D%
0AHTTP%20Request%3A%0D%0AGET%20%2Fv1%2Fplaylist%2FCo0FdWsy2HU051s2w2TCnlVGk5SIt_CUcZmIZzrBf_t3xOJNDWpQ9e3K6QBgLv7xRr66TmoyhqduqLmS5AtWmtnOLjBN-ZNySHXo5LjPrga-NeB_5OZQNK27MG0Z4MtbGQQ
LhKvuX5doyEYqeH9dJjrhcNvElv4qKZlg2PVIYmxtkw9HgNHs50iaoLVYQZgEfplyiIIrGGqFx3lm9a3Q7rFheJUuXdwz8-0doHq34wxqYJAK44iMxdV-c5zUGs-Csxp2xUuxLO5yLs7pXnRO-iJPzqtUFU8BbJy8rHQJd-UypzVAV0FEWkIZ
JZn2kOXHzwVVviWWmTYtwWYn7-lw0rNnnyc_uawQqPrBlDaP7yxf2URhmYBEczapchI2IzXydnAXD9dNj4fIFvNKVClCtOVJhoy9OA2xk1pkd9DxdHJx13nwBhbTBYykeJ1ezsAuETsaGYKLLq-klkWwCZh7dz8ohPToIB_2IPemeWSpQjPSj
31JhZjvS__af4lk1i8KJr6Zq8c2USUypo3UEL8AsXNiIBkFETll7yZEUEgA5f9gaLVLLomKMnUmMn5Kon7yK6LaK-5H67LgVqSHc8iBOfLowjuSRvsCPKMahF1v8pM9iG47t0o54SMsKMxBMdV_ZRkc46VlpN8Ai8qvjBkvArqpRt6gxaIiO_
bDg4eI9fqWxtxW5vf7ICGqLOebaQLkxiyG1lIgSrZ9CMf5le9GpJrAJ0rERz55Dt5LeP_raMpT3LAj0spQQ-yaii4RnGs946_Mm8eBE6Jrhv6xfByCMknBRMWZWhUbVG_lV95JBjzyo-mVGakEKlEQawukb0IIwX-Y9vRm4_oQdsesf7UOgy9
rMWq6M7d9cbPtGtmvx3waDHdkcvLmWofa_3mj0SABKglldS13ZXN0LTIw7wQ.m3u8%20HTTP%2F1.1%0AAccept%3A%20application%2Fx-mpegURL,%20application%2Fvnd.apple.mpegurl,%20application%2Fjson,%20text
%2Fplain%0D%0AOrigin%3A%20https%3A%2F%2Fwww.twitch.tv%0D%0AUser-Agent%3A%20Mozilla%2F5.0%20(Windows%20NT%2010.0%3B%20Win64%3B%20x64)%20AppleWebKit%2F537.36%20(KHTML,%20like%20Gecko)
%20Chrome%2F105.0.0.0%20Safari%2F537.36%0D%0AConnection%3A%20close%0D%0AHost%3A%20video-weaver.iad03.hls.ttvnw.net%0D%0A%0D%0A%0D%0A">webmaster</a>.</p>\n' +
'<br>\n' +
'</div>\n' +
'\n' +
'<hr>\n' +
'<div id="footer">\n' +
'<p>Generated Sun, 09 Oct 2022 13:19:49 GMT by localhost (squid/4.6)</p>\n' +
'\n' +
'</div>\n' +
'</body></html>\n'
}
}
```