YUN & PROXY

Hi,

My issue: - Without proxy (at home), the example sketch HTTPclient is okay since Yun can reach the internet website. Easy ! - On another network through HTTP proxy : - ping the same external web server. Yun reaches it. Okay - ping proxy server : 172.17.254.252. It replies. Okay - enter the linux command : export http_proxy='http://172.17.254.252:3128' - enter wget sti6.zz.mu/index.php. Works OK (this is the URL Yun reaches at home)

  • But the same sketch above doesn't work anymore : no answer from the proxy !

My question: what can i do now to diagnose this issue ?

Thanks a lot in advance

Pierre

HttpClient.cpp

#include "HttpClient.h"

unsigned int HttpClient::get(String &url) {
  begin("curl");
  addParameter(url);
  return run();
}
/usr/bin/curl --help
-x, --proxy [PROTOCOL://]HOST[:PORT] Use proxy on given port

HttpClient does not support proxy.