You are here

Error downloading programs when proxy is manually configured

3 posts / 0 new
Last post
antrrax
Offline
Last seen: 1 year 6 months ago
Joined: 2020-01-04 10:40
Error downloading programs when proxy is manually configured

I configured the proxy manually, so I can display the list of programs. But when I try to download some program, this error appears:
https://i.postimg.cc/5N4tf2HS/error.jpg

this is the link:

http://portableapps.com/redirect/?=p&a=SQLiteDatabaseBrowserPortable&d=p...

The proxy is also configured in Firefox and when accessing the link above, it opens normally through firefox.
-----
How to solve this, is it a bug?

John T. Haller
John T. Haller's picture
Online
Last seen: 6 min 27 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
What Kind

What kind of proxy is it? Note that the platform doesn't support SOCKS5 at the moment. And the download is happening via the Windows Internet components (basically IE's internals) so your OS version, patch level, etc matter.

Sometimes, the impossible can become possible, if you're awesome!

antrrax
Offline
Last seen: 1 year 6 months ago
Joined: 2020-01-04 10:40
The proxy connection is at my

The proxy connection is at my job, where they use Windows Active Directory
Windows 10 1810 (17134.1006)

An example of use in firefox:
In the firefox settings I need to add only 'HTTP Proxy' and the 'Port'
and check the option to also use for HTTPS. I leave the SOCKs option blank.

An example of use in Python:
But when I'm going to use a python script, I need to insert this code to access the internet

---------
import os

PROXY_HOST = "100.00.0.1" #proxy host
PROXY_PORT = "8080" #port
PROXY_AUTH_USER = "windows_user"
PROXY_AUTH_PASS = "windows_password"

os.environ['http_proxy'] = f'''http://{PROXY_AUTH_USER}:{PROXY_AUTH_PASS}@{PROXY_HOST}:{PROXY_PORT}'''
os.environ['https_proxy'] = f'''http://{PROXY_AUTH_USER}:{PROXY_AUTH_PASS}@{PROXY_HOST}:{PROXY_PORT}'''
---------

------------

I don't know if windows username and password need to be used also to have proxy access in external programs.

Log in or register to post comments