streetturtle / awesome-wm-widgets

Widgets for Awesome Window Manager
http://pavelmakhov.com/awesome-wm-widgets/
MIT License
2.16k stars 279 forks source link

Translate widget hangs when internet connection is through proxy #33

Open echuraev opened 6 years ago

echuraev commented 6 years ago

At my work I have internet connection though proxy server and when I try to translate something then the whole awesome wm session is hangs. Only killing and restarting awesome wm can help. At home I have direct internet connection and I don't have the same problem. Do you know how can I solve this problem?

I have set environment variables:

export http_proxy=http://my-proxy-server:my-port/ 
export https_proxy=https://my-proxy-server:my-port/ 
streetturtle commented 6 years ago

Hmm, it seems like Lua's ssl.https lib does not support proxy. But I guess it could be achieved somehow. Such change could be a good pull request =)