slimerjs icon indicating copy to clipboard operation
slimerjs copied to clipboard

SlimerJS proxy not working on windows but works on mac

Open caddave opened this issue 7 years ago • 2 comments

versions

  • SlimerJS: 0.10.3
  • Firefox: 54
  • Operating system: Windows Server 8 R2 Standard Service Pack 1

Steps to reproduce the issue

This is what I'm typing on mac ./slimerjs/slimerjs ./ip-logs.js --proxy=205.234.xxx.xx:1025 (working)

This is what I'm typing on windows .\slimerjs\slimerjs .\ip-logs.js --proxy=205.234.xxx.xx:1025 (not working)

Here's the code inside ip-logs.js:

const page = require('webpage').create()

page.open('http://bot.whatismyipaddress.com/', () => {
    console.log(page.plainText)
})

Actual results:

Page opens but not using proxy

Expected results:

Page opens using proxy. This works on my mac.

caddave avatar Aug 13 '17 06:08 caddave

SlimerJS: 0.10.3, Firefox: 55, Windows 7, results: page open but not using proxy SlimerJS: 0.10.3, Firefox: 55, macOS 10.12.6, results: if proxy using auth(with --proxy-auth options), failed to connect, debug message show "the remote server refused the connection". if not, it work.

nroe avatar Sep 14 '17 10:09 nroe

Hi,

As indicated into the documentation, for windows, try it by removing a dash on the option name: -proxy instead of --proxy

laurentj avatar Oct 04 '17 08:10 laurentj