You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.1 KiB

Have you ever tried to run a script on Redbrick that communicates with external websites and found that it doesn't work?

This might be due to the proxy being set wrong. For example on Installing Wordpress the proxy must be set manually in one of the files.

The proxy on Redbrick is ''. This is normally set via enviromental variables that your script can pick up. This variables are case-sensitive.

These variables break Python's 'urllib' module because it wants the 'HTTP_PROXY' setting but finds the 'http_proxy'. You can quickly fix this in your script by having:

os.environ['HTTP_PROXY'] = ""



(or both) near the top of the Python script (at least after 'import os').