Skip to content

Proxy-Agent breaks requests it shouldn't #5

@kokarn

Description

@kokarn

For some reason, the include of node-ssllabs breaks requests it's not involved with at all.
Seems it's adding a self signed certificate somewhere and using that?

The error is: (node:22827) UnhandledPromiseRejectionWarning: RequestError: self signed certificate

Here's a super simple example that reliably reproduces the error on my machine

npm i got node-ssllabs
const got = require('got');
const ssllabs = require('node-ssllabs');

(() => {
    got('https://www.example.com')
        .then((response) => {
            console.log(response);
        })
})();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions