I am hoping that some kind soul on this list can help me out. I am struggling with creating an oauth2 connection using Google's oauth2client library for Python.
Oauth requires the client application to open a local webserver listening at a callback URL in order to receive the access token in a GET request My callback URL is currently http://localhost:8080. Whenever I run it, I get an error about "Interrupted system call" from SocketServer.py. Traceback (most recent call last): File "./repository_info.py", line 19, in <module> credentials = run(flow, storage, http=http) File "/home/richard/examples/oauth2client/util.py", line 128, in positional_wrapper return wrapped(*args, **kwargs) File "/home/richard/examples/oauth2client/tools.py", line 185, in run httpd.handle_request() File "/usr/lib/python2.7/SocketServer.py", line 265, in handle_request fd_sets = select.select([self], [], [], timeout) select.error: (4, 'Interrupted system call') However, it runs fine when run as root using sudo. Anyone have any idea why I can't open that port as a regular user? My environment: * Debian Mint Wheezy * Python 2.7 * oauth2client 1.1 What I have tried: * I am not running SELINUX or apparmor * netstat says nothing else is running on that port * I am not running inetd/xinetd * I have verified that iptables accepts all INPUT and FORWARD connections Any ideas? Thanks, Richard /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */
