New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AUR features not working behind proxy #31
Comments
I am really not sure how to fix this as I do not really know anything about $http_proxy or how to handle it or even what it is, do you know anything more about it that would be useful to me resolving the issue? |
It should work fine with a proxifier program like tsocks or proxychains. I think adding proxy support should be low priority. |
Why not use luacurl or lua-cURL ? Curl supports SOCKS and HTTP proxies, and it honours http_proxy environment variable. |
I fixed it quite crudely. Just added two lines of code, after looking at http://w3.impa.br/~diego/software/luasocket/http.html I'm pretty sure there is a better way to do it. (with just one line.) |
Unfortunately, luasocket doesn't support proxy authentification. |
Doesn't this work? |
The user and password part of the proxy url is ignored by luasocket |
I have a branch that uses lua-cURL that I can merge into master. I will just have to coordinate things so that the deps for the AUR package are changed. Could anyone help me test out the lua-cURL branch proxy stuff? I don't have a proxy to try it out with. |
Oops I clicked the wrong button and closed this. Heh. Reopened it. |
I can test it. Where can I find it? |
Ok I think I got it working. Here are instructions to install the lua-curl branch. If you don't have the git repository clone already, cd to a directory where you want th e clyde repo dir contained and type:
edit: If you already have the clyde repository checked out type this in the repo dir instead:
Now from the repository's directory, type:
Then install the package:
Or whatever the package filename happens to be. |
Seems to work fine |
Cool thanks. |
Hi - any chance this could be ported to the >3.5 version? Also, any plans for it to be merged? |
No it doesn't look promising. |
At least the AUR features within clyde do not work behind a proxy.
eg: "clyde -Ss clyde" returns nothing behind a proxy (squid)
I think best approach would be to honor the $http_proxy environment variable, like most other console apps (including pacman).
The text was updated successfully, but these errors were encountered: