GAM via a Proxy Server

1,571 views
Skip to first unread message

Cliff Wakefield

unread,
Jan 10, 2011, 4:03:43 AM1/10/11
to Google Apps Manager
Hi,

I am trying to use GAM to manage a Google Apps for Education domain,
however I am unable to get GAM to connect to the Google Apps servers.

I have tried both on Windows 7 and OS X 10.6.

Both machines have to use proxy servers to access URL's outside the
organisation.

It appears that the Python code doesn't respect the proxy settings on
the machines.

Under Windows 7 the proxy settings are set within 'Internet Options'
and under OS X they are set in the system control panel.

Normal web site access works with these settings, however GAM does
not.

Anyone had any experience with get gam.exe on Windows 7 or gam.py on
OS X to use proxy settings?

Thanks in advance...

Jay Lee

unread,
Jan 10, 2011, 9:29:33 AM1/10/11
to Google Apps Manager
GAM does not support Proxy's at this point and I don't have a proxy
server setup to test against.

Jay

Sandip Shah

unread,
Jan 10, 2011, 8:53:20 PM1/10/11
to Google Apps Manager
GAM uses GData python client.

Python client is supposed to connect to Google's servers via proxy.

Try setting the following 4 variables and see if you can connect via
the proxy:

http_proxy
https_proxy
proxy_username and
proxy_password

Let the group know if it works for you.

Sandip

Craig Box

unread,
Sep 2, 2011, 7:23:10 AM9/2/11
to google-ap...@googlegroups.com
In case anyone else finds this thread trying to get GAM working through a proxy:

http_proxy and https_proxy have to be in the format: http://proxy:port

For example, this works for me on Windows, with a proxy server which does not require authentication:

set http_proxy=http://1.2.3.4:8080
set https_proxy=http://1.2.3.4:8080
gam oauth request

Regards
Craig

Julieth Jaimes

unread,
Jan 25, 2018, 10:54:56 PM1/25/18
to GAM for G Suite
Hi Snadip 

Where can I find the variables that you say for connect via the proxy? This variables are in the process the installation of the app?

Julieth Jaimes

unread,
Jan 25, 2018, 10:55:56 PM1/25/18
to GAM for G Suite
Hi  

Where can I find the variables that you say for connect via the proxy? This variables are in the process the installation of the app?

Reply all
Reply to author
Forward
0 new messages