NodeJS : Got Request in HTTP/2 with Socks5 Proxy

Job ID: 32737839

Budget: $30 – $250 USD

We are looking for someone who can help us update our current way to use Got in our requests in order to use HTTP/2. The issues we are facing are about the use of Socks5 proxies for our request.

Our current library for making request is Got V12.0.1 (https://github.com/sindresorhus/got)
We must use Socks5 proxies to request data, so we choosed axios-socks5-agent (https://github.com/0x0a0d/axios-socks5-agent).
You can see the current way of making request in the file attached old.js

We now want to update our process to use HTTP/2, but we still need to use Socks5 proxies, event for HTTP/2. After reading the documentation of Got about the HTTP/2 and looking at the http2 agent (https://github.com/szmarczak/http2-wrapper) we couldn't make it work. You can see our try in the file new.js.

All our proxies work on Danted, on Ubuntu, you can see the configuration exemple in the file danted.conf.

We want to be able to use Got - HTTP/2 - Socks5 proxies for our requests.
Related categories: JavaScript UNIX Node.js Ubuntu