angie
-
Posts
5 -
Joined
-
Last visited
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by angie
-
-
Scouring the net this is the best I came up with
http://curl.haxx.se/mail/archive-2002-06/0104.html
http://curl.haxx.se/mail/archive-2007-12/0059.html
And it all is beyond my current level of expertise with scripting (perl is all I know ).
Will still give link 2 a shot and try it some python based workflow.
If it doesnt work I will just cross my fingers and hope alfred will support it in next version
-
Thanks for the reply!
Network preferences are set to auto proxy discovery and automatic proxy configuration. I have the .pac file from which i got the proxy server.
Currently on VPN to the office network... i tried the curl command in the terminal window
curl -I http://google.com gives no output in the window
curl with proxy gives this
HTTP/1.1 301 Moved PermanentlyLocation: http://www.google.com/Content-Type: text/html; charset=UTF-8Date: Mon, 29 Apr 2013 08:06:40 GMTExpires: Wed, 29 May 2013 08:06:40 GMTCache-Control: public, max-age=2592000Server: gwsX-XSS-Protection: 1; mode=blockX-Frame-Options: SAMEORIGINContent-Length: 219Proxy-Connection: Keep-AliveConnection: Keep-AliveSo I guess its a problem with the curl not getting the proxy settings by default. Do I add the CURLOPT_PROXY option to the curl options? Any other option to go with it? -
I need some help here. Its very frustrating that all the nifty workflows dont work when using proxies. I have narrowed down the problem to curl command used in workflows.php which I think is the one that issues requests to remote locations. I tested out the following command
curl --proxy www.proxy.server:proxy_port_number -I https://twitter.com which worked.
I am not really familiar with php or python or curl commands/options, so can anyone tell me what changes I should do to the workflows.php file for it to work?
Also how do I make sure curl does not use the proxy when I'm at home using regular internet.
Also as a feature request, can alfred discover and apply proxy settings automatically the way chrome/firefox do?
-
All the alfred workflows (like google autocomplete, rotten tomatoes, weather), dont work when I'm on office network which has auto proxy discovery set. Is there a way to get around it? Everything works fine when using regular internet at home.
Alfred Doesn't use Proxy?
in Share your Workflows
Posted
Revisited this problem after a year and right now I have a crude fix for it. Created a file .proxy with "proxy_address:port". Then added the following lines to google auto suggest workflow.
The next step is to create a workflow which will toggle proxy on/off by setting the file to proxy or null.