sjitech / proxy-login-automator

A single node.js script to automatically inject user/password to http proxy server via a local forwarder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Difference between Ubuntu and CentOS

hugsbrugs opened this issue · comments

Hello,

I can't understand why proxy-login-automator acts differently between Ubuntu and CentOS in same use case :

  • I start proxy-login-automator in standard way in my console
  • I test connexion in another console
    curl -v -x http://127.0.01:8081 -L http://1ip.fr
    It works fine on Ubuntu but I get this message on CentOS :
    407 Proxy Authentication Required
    It only works when I add user/pass
    curl -v -x http://127.0.01:8081 --proxy-user user:pass -L http://1ip.fr

Why do I need to set user/pass again as I passed them as arguments when I start proxy-login-automator ? is there any system config I can change in order to work as expected since that's the job of proxy-login-automator to set user/pass automatically ?

Thank for any ideas !

FYI this happens on Fedora 31 too