Python Client Proxy

Asked by Oliver Webb

Hi,

I'm running the 1.22 (Biela) Client on Ubuntu 10.04, and it will not display any external websites or feeds.

I have set proxy on the computer and Firefox connects fine, is there somewhere in the client config files that I need to set the proxy as well?

Many thanks,

Ollie

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
Oliver Webb
Solved:
Last query:
Last reply:
Revision history for this message
Alex Harrington (alexharrington) said :
#1

It should respect the http_proxy and https_proxy environment variables.

http://www.cyberciti.biz/faq/linux-unix-set-proxy-environment-variable/

Alex

Revision history for this message
Oliver Webb (owebb) said :
#2

Hi Alex,

Sorry it's been a couple of days, other things took over.

I have tried the commands in your link, and tried putting

export http_proxy=http://server-ip:port/

in run.sh. When I did that I got this output.

[1014/142405:INFO:../src/WebCore.cpp(75)] Creating the core thread.
[1014/142405:INFO:../src/WebCore.cpp(87)] Creating the WebCore.
[1014/142405:INFO:../src/WebCoreProxy.cpp(86)] ICU successfully initialized.
[1014/142405:ERROR:../src/WebCoreProxy.cpp(106)] Failed to initialize media library! Check that avcodec, avutil and avformat are in the same directory as the executable.
[1014/142405:INFO:../src/WebCoreProxy.cpp(259)] The WebCore is now online.
[1014/142405:INFO:../src/WebView.cpp(87)] A new WebView has been created.
[1014/142405:INFO:../src/WebViewProxy.cpp(133)] A new WebViewProxy has been created.
[1014/142405:INFO:../src/WebView.cpp(87)] A new WebView has been created.
[1014/142405:INFO:../src/WebViewProxy.cpp(133)] A new WebViewProxy has been created.
[1014/142405:INFO:../src/WebView.cpp(87)] A new WebView has been created.
[1014/142405:INFO:../src/WebViewProxy.cpp(133)] A new WebViewProxy has been created.
[1014/142405:INFO:../src/WebViewProxy.cpp(892)] Committed Load for Frame. URL: file:///opt/xibo/pyclient/client/python/data/M11-6-8-tmp.html, Status Code: 0, Mime-Type: text/html, Frame Name:
[1014/142405:INFO:net/proxy/proxy_service.cc(588)] Failed initial proxy configuration fetch.
[1014/142405:INFO:net/proxy/proxy_service.cc(607)] New proxy configuration was loaded:
{
  auto_detect: 0
  pac_url:
  proxy_rules:
  {
    type: TYPE_NO_RULES
    single_proxy:
    proxy_for_http:
    proxy_for_https:
    proxy_for_ftp:
    socks_proxy:
  }
  proxy_bypass_local_names: 0
  proxy_bypass_list:
  id: 1
}

I can't work out what it means, I was wondering whether it means anything to you?

Thanks for your help,

Ollie

Revision history for this message
Alex Harrington (alexharrington) said :
#3

It looks like it isn't picking it up.

That's the old Awesomium based browser engine. You may have more luck upgrading to 1.3.1 and Berkelium - although that's not without bugs either.

Unfortunately Awesomium is no longer developed so if it doesn't just work now, there's no prospect of getting it fixed.

Alex

Revision history for this message
Oliver Webb (owebb) said :
#4

I can only find later versions on the website http://awesomium.com/download/.

Do you think this would work? How would I go about installing it?

Thanks again,

Ollie

Revision history for this message
Alex Harrington (alexharrington) said :
#5

You can't use the commercial versions of Awesomium. You either have to use the version we provide or switch to Berkelium by upgrading to 1.3 series.

Revision history for this message
Oliver Webb (owebb) said :
#6

Sorry, I thought you meant upgrade Awesomium. I'll look at upgrading to 1.3.

Thanks for your help.

Ollie