Skip to content

proxy support #5

@nsrderooy

Description

@nsrderooy

When trying to use a proxy server I get the following error message;

Either with https_proxy=http://proxy01:3128 mdr domain list
Or

export https_proxy=http://proxy01:3128
mdr domain list

The error is as follows;

⠧ LoadingError: Request failed with status code 501
    at createError (/home/norbertr/.local/lib/node_modules/mdr-cli/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/home/norbertr/.local/lib/node_modules/mdr-cli/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/home/norbertr/.local/lib/node_modules/mdr-cli/node_modules/axios/lib/adapters/http.js:260:11)
    at IncomingMessage.emit (events.js:326:22)
    at endReadableNT (_stream_readable.js:1241:12)
    at processTicksAndRejections (internal/process/task_queues.js:84:21)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or requestquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions