using proxy agent and getting SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:358:

Open
#71 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
20/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
nodejs, typescript

Research direction

The report names no repository file or test; start by reproducing the shown ytdl-core call with HttpsProxyAgent and requestOptions.agent. Trace how the agent is passed through the HTTP request, and define done as identifying the proxy/TLS incompatibility and confirming a correction with a reproducible test.

Written by the indexing model from the issue text.

Description

Hi, I am getting this error when using proxies (i have now tried two paid proxies that require auth):

SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:358:

This is how I am using ytdl-core with http-proxy-agent:

const agent = new HttpsProxyAgent(proxyURL);
...
const audioStream = ytdl(videoUrl, { quality: lowestQualityFormat.itag, requestOptions: { agent: agent } });
Dominant language
TypeScript
Stars
57
Forks
19
Avg merge
1d 23h
Merged PRs (30d)
2

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from fent/node-miniget

All issues in fent/node-miniget

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.