I am not sure whether or not this is an issue with got-scraping or rather one with the server I am scraping from (Apache/2.4.38; Debian) ...
Every ~15th request to the server fails with the error Failed to set ECDH curve with code ERR_CRYPTO_OPERATION_FAILED.
The SSL report states that the handshake Java 6u45 is failing. Does this correlate?
I looked up ECDH curve but it does not give me any hint and I don't have a lot of knowledge when it comes to topics like http request forging, cryptography, keys, etc. Any help in any directions, or resources to read into are highly appreciated.
Since I need at least like 200k requests to the server, I would really love to fix this any way I can.
Thanks in advance 🙌🏻
Request:
import { gotScraping } from 'got-scraping'
export function scrape(url: string): Promise<string> {
return new Promise((resolve) => {
gotScraping
.get(url)
.then(({ body }) => resolve(body as string))
.catch((err) => {
console.error(err)
})
})
}
Hi together 😊
I am not sure whether or not this is an issue with got-scraping or rather one with the server I am scraping from (Apache/2.4.38; Debian) ... Every ~15th request to the server fails with the error
Failed to set ECDH curve
with codeERR_CRYPTO_OPERATION_FAILED
. The SSL report states that the handshake Java 6u45 is failing. Does this correlate?I looked up ECDH curve but it does not give me any hint and I don't have a lot of knowledge when it comes to topics like http request forging, cryptography, keys, etc. Any help in any directions, or resources to read into are highly appreciated.
Since I need at least like 200k requests to the server, I would really love to fix this any way I can. Thanks in advance 🙌🏻
Request:
Error: