View Issue Details

IDProjectCategoryView StatusLast Update
0003329Slicer4Core: GUIpublic2016-12-09 19:35
Reporterjcfr Assigned Tojcfr  
PrioritylowSeverityminorReproducibilityhave not tried
Status acknowledgedResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0003329: Add settings entry allowing to specify a custom network proxy
Description

See 0003249

TagsNo tags attached.

Relationships

related to 0003249 closedjcfr no extensions in extensionmanager 
related to 0001950 closedjcfr Extension manager does not honor proxy settings for communicating through a firewall 

Activities

jcfr

jcfr

2016-12-09 19:35

administrator   ~0014273

A new panel named "Network" allowing to define proxy setting should be added.

(Alternatively, the "Extensions" panel could be extended.)

Settings like "hostname" and "port" should be available.

Qt support

As reported in [1], underlying call should be:

<pre> QNetworkProxy::setApplicationProxy(QNetworkProxy(QNetworkProxy::HttpProxy, "hostname.of.my.proxy", 8080));</pre>

Python support

Generally speaking the env variable "http_proxy" should be set.
See https://docs.python.org/2/library/urllib.html#high-level-interface

Otherwise, there is also solution like this one for urllib2:

import urllib2

<pre>
proxy_support = urllib2.ProxyHandler({"http":"http://61.233.25.166:80&quot;})
opener = urllib2.build_opener(proxy_support)
urllib2.install_opener(opener)
</pre>
Source: http://stackoverflow.com/questions/5620263/using-an-http-proxy-python

Issue History

Date Modified Username Field Change
2013-08-27 05:28 jcfr New Issue
2013-08-27 05:28 jcfr Status new => assigned
2013-08-27 05:28 jcfr Assigned To => kikinis
2013-08-27 05:28 jcfr Relationship added related to 0003249
2013-08-27 05:28 jcfr Relationship replaced child of 0003249
2013-08-27 05:29 jcfr Relationship added related to 0001950
2013-08-27 05:29 jcfr Assigned To kikinis => jcfr
2013-08-27 05:29 jcfr Priority normal => low
2013-08-27 05:29 jcfr Target Version => Slicer 4.3.0
2013-08-27 05:32 jcfr Target Version Slicer 4.3.0 => Slicer 4.4.0
2013-08-27 05:34 jcfr Relationship replaced related to 0003249
2014-05-12 20:21 jcfr Status assigned => acknowledged
2014-05-12 20:21 jcfr Target Version Slicer 4.4.0 =>
2016-12-09 19:35 jcfr Note Added: 0014273