Skip to content

Nightmare is a nightmare with proxies #2

Description

@m0-n

Hi -

my nightmare script works fine. Now I'm trying to have NightmareJS use some proxies.

This is how my code looks like:

const Nightmare = require('nightmare');

var nightmare = Nightmare({
    switches: {
        'proxy-server': 'exampleProxy.io:19081',
        'ignore-certificate-errors': true
    },
    show: true
});

nightmare
    .goto('http://www.example.com')

It sort of works, just incredibly slow, often with timeouts at 30000ms. I'm testing on a local machine. Without the proxy it's very fast. It can be seen as given that the proxy itself is working. Making a query to the proxy without nightmare / with curl it works just fine and at rapid speed.

Any idea what might be wrong?

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