Coder Social home page Coder Social logo

Comments (11)

tosher avatar tosher commented on June 8, 2024

Thanks, i'll check it.

from mediawiker.

nicolaevladescu avatar nicolaevladescu commented on June 8, 2024

No problem. Let me know if you need more info.

from mediawiker.

tosher avatar tosher commented on June 8, 2024

Please, try the new version (3.0.3).
P.S. Restart required after upgrade.

from mediawiker.

nicolaevladescu avatar nicolaevladescu commented on June 8, 2024

Hello.

Proxy works now, i get a "Proxy Authentication Required" message.
But i still can't set a username and password for it.

Thank you, good work!

from mediawiker.

tosher avatar tosher commented on June 8, 2024

Must be:

To use HTTP Basic Auth with your proxy, use the http://user:password@host/ syntax...

http://docs.python-requests.org/en/latest/user/advanced/#proxies

It's a public proxy or not?

from mediawiker.

nicolaevladescu avatar nicolaevladescu commented on June 8, 2024

It's not public, i tried the following syntax:

http://user:pass@proxy-host:port
https://user:pass@proxy-host:port
user:pass@proxy-host:port

I always get the same error: https://www.dropbox.com/s/iw2zawnz3bx3r02/Screenshot%202016-01-11%2016.38.18.png?dl=0

from mediawiker.

tosher avatar tosher commented on June 8, 2024

With test wingate proxy, works with:

"https": true,
"proxy_host": "http://tosher:[email protected]:8080"

and with incorrect password:

Connection failed for ('https', 'en.wikipedia.org'): 
HTTPSConnectionPool(host='en.wikipedia.org', port=443): 
Max retries exceeded with url: /w/api.php 
(Caused by ProxyError('Cannot connect to proxy.', 
OSError('Tunnel connection failed: 407 Proxy authorization required',)))

from mediawiker.

tosher avatar tosher commented on June 8, 2024

But, it's settings for HTTP Basic Auth.
Which type is used on your proxy?

from mediawiker.

nicolaevladescu avatar nicolaevladescu commented on June 8, 2024

It is also HTTP Basic Auth, but i have a bit longer and tricky password including some characters that need escaping like $ or @.

I will give it a try tomorrow with a test user and a simple password, then come back to you.

Thanks!

from mediawiker.

tosher avatar tosher commented on June 8, 2024

http://stackoverflow.com/questions/6172719/escape-character-in-git-proxy-password

from mediawiker.

nicolaevladescu avatar nicolaevladescu commented on June 8, 2024

Hello.

I manually escaped reserved characters and it worked.

Thanks a lot!

from mediawiker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.