I hope we can have the proxy support working sometimes soon, especially in the portable build.
At the moment the proxy option is greyed out.
sorry but I am not aware of the problem. what is going on?
$ electrum --help
Usage: electrum [options] command
Commands: restore, help, unprioritize, freeze, signmessage, verifymessage, addresses, contacts, create, label, validateaddress, unfreeze, reseed, eval, import, password, sendtx, prioritize, mktx, seed, deseed, balance, payto, history
Options:
-h, --help show this help message and exit
-g GUI, --gui=GUI gui
-w WALLET_PATH, --wallet=WALLET_PATH
wallet path (default: electrum.dat)
-o, --offline remain offline
-a, --all show all addresses
-b, --balance show the balance at listed addresses
-k, --keys show the private keys of listed addresses
-f TX_FEE, --fee=TX_FEE
set tx fee
-s FROM_ADDR, --fromaddr=FROM_ADDR
set source address for payto/mktx. if it isn't in the
wallet, it will ask for the private key unless
supplied in the format public_key:private_key. It's
not saved in the wallet.
-c CHANGE_ADDR, --changeaddr=CHANGE_ADDR
set the change address for payto/mktx. default is a
spare address, or the source address if it's not in
the wallet
-r REMOTE_URL, --remote=REMOTE_URL
URL of a remote wallet
$ http_proxy="127.0.0.1:8080" electrum
Install zbar package to enable QR scans
Not connected
Poking
Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib64/python2.7/threading.py", line 551, in __bootstrap_inner
self.run()
File "/usr/lib64/python2.7/site-packages/electrum/exchange_rate.py", line 28, in run
self.discovery()
File "/usr/lib64/python2.7/site-packages/electrum/exchange_rate.py", line 32, in discovery
connection.request("GET", "/api/ticker.php")
File "/usr/lib64/python2.7/httplib.py", line 958, in request
self._send_request(method, url, body, headers)
File "/usr/lib64/python2.7/httplib.py", line 992, in _send_request
self.endheaders(body)
File "/usr/lib64/python2.7/httplib.py", line 954, in endheaders
self._send_output(message_body)
File "/usr/lib64/python2.7/httplib.py", line 814, in _send_output
self.send(msg)
File "/usr/lib64/python2.7/httplib.py", line 776, in send
self.connect()
File "/usr/lib64/python2.7/httplib.py", line 1157, in connect
self.timeout, self.source_address)
File "/usr/lib64/python2.7/socket.py", line 571, in create_connection
raise err
error: [Errno 111] Connection refused
Not connected
Poking
Not connected
Poking
I can't select http. My proxy is ssh -D so should accept the :50001 port. I've also tried a restrictive corporate http proxy too. I'm not sure if electrum is respecting the http_proxy= environment variable? There is no proxy option I can see or commandline switch?