Skip to content

Proxy-Agent breaks requests it shouldn't #5

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);
        })
})();

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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