GAM 3.0 @ Windows - connection through proxy failed

421 views
Skip to first unread message

Jiri Novak

unread,
Aug 21, 2013, 7:22:00 AM8/21/13
to google-ap...@googlegroups.com
Hi,

i've executed GAM with the following result:

Select the authorized scopes for this token. Include a 'r' to grant read-only
access or an 'a' to grant action-only access.

[*]  0)  Group Directory API (supports read-only)
[*]  1)  Organizational Unit Directory API (supports read-only)
[*]  2)  User Directory API (supports read-only)
[*]  3)  Chrome OS Device Directory API (supports read-only)
[*]  4)  Mobile Device Directory API (supports read-only and action)
[*]  5)  User Email Settings API
[*]  6)  Calendar Resources API
[*]  7)  Audit Monitors, Activity and Mailbox Exports API
[*]  8)  Admin Settings API
[*]  9)  Groups Settings API
[*] 10)  Calendar Data API (supports read-only)
[*] 11)  Audit Reports API
[*] 12)  Usage Reports API
[*] 13)  Drive API (create report documents for admin user only)
[*] 14)  License Manager API

     15)  Select all scopes
     16)  Unselect all scopes
     17)  Continue
17
Traceback (most recent call last):
  File "gam.py", line 5769, in <module>
  File "gam.py", line 4067, in doGetDomainInfo
  File "gam.py", line 554, in getAdminSettingsObject
  File "gam.py", line 278, in tryOAuth
  File "gam.py", line 5711, in doRequestOAuth
  File "oauth2client\util.pyo", line 132, in positional_wrapper
  File "oauth2client\tools.pyo", line 190, in run_flow
  File "oauth2client\util.pyo", line 132, in positional_wrapper
  File "apiclient\discovery.pyo", line 196, in build
  File "httplib2\__init__.pyo", line 1570, in request
  File "httplib2\__init__.pyo", line 1317, in _request
  File "httplib2\__init__.pyo", line 1258, in _conn_request
httplib2.ServerNotFoundError: Unable to find the server at www.googleapis.com

The same situation is with 2.995, version 2.5 works fine.

I'm using these environment variables:
https_proxy=https://proxy.domain.com:8080
http_proxy=http://proxy.domain.com:8080

What should I do to make it work?

BR Jiri

Jay Lee

unread,
Aug 22, 2013, 8:54:35 AM8/22/13
to google-ap...@googlegroups.com
GAM 3.0 doesn't support proxies at this point. I'll try to get it working soon but it's difficult to test since I don't use a proxy myself and setting one up for testing takes time.

For now, I'd suggest seeing if GAM can be configured to go direct (or via a transparent proxy) or else staying on 2.55 for the time being.

Jay

Kit Gillingham

unread,
Jan 21, 2015, 4:28:38 AM1/21/15
to google-ap...@googlegroups.com, j...@ditoweb.com
Hi Jay, 

Is there any update on this? I'm also struggling to get GAM to work via a proxy server.

Thanks

Kit

Tom Brown

unread,
Feb 13, 2015, 10:02:17 AM2/13/15
to google-ap...@googlegroups.com, j...@ditoweb.com
I have this running through PowerShell automated scripts when employees are hired, terminated, added to groups, etc.  We had firewall issues recently, and although the Google IPs that we know of are cleared through, GAM still gives me the "Errno 10061, No connection could be made because the target machine actively refused it" message.  I can authenticate through the firewall for full access, and it functions normally.  It's odd because I can de-authenticate and it seems to work for a while.  Is there an authentication server somewhere that clears the GAM token for a period of time?  I don't know enough about it to tell our Security people what we need to make this work consistently.  So I guess I need to find out a bit more about where GAM connects.  Can someone provide a list of IP's, or a URL that it uses for authentication?

**********************************************************
Privileged and/or confidential information may be contained in this message. If you are not the addressee indicated in this message (or are not responsible for delivery of this message to that person) , you may not copy or deliver this message to anyone. In such case, you should destroy this message and notify the sender by reply e-mail.
If you or your employer do not consent to Internet e-mail for messages of this kind, please advise the sender.
Shaw Industries does not provide or endorse any opinions, conclusions or other information in this message that do not relate to the official business of the company  or its subsidiaries.
**********************************************************

Reply all
Reply to author
Forward
0 new messages