$ sudo python2.7 proxy.py
------------------------------------------------------
GoAgent Version : 3.2.2 (python/2.7.9 gevent/1.0.1 pyopenssl/0.14)
Listen Address : 127.0.0.1:8087
GAE Mode : https
GAE APPID :
Pac Server :
Pac File : file:///media/tony/9117994e-5220-4f2f-afd3-a9de70cd947c/tony/goagent-3.2.2/local/proxy.pac
------------------------------------------------------
certutil: function failed: SEC_ERROR_BAD_DATABASE: security library: bad database.
certutil: function failed: SEC_ERROR_BAD_DATABASE: security library: bad database.
WARNING - [Mar 25 15:50:48] install root certificate failed, Please run as administrator/root/sudo
INFO - [Mar 25 15:51:20] 127.0.0.1:59451 "MOCK GET HTTP/1.1" 200 18557
INFO - [Mar 25 15:51:20] 127.0.0.1:59452 "MOCK GET HTTP/1.1" 200 18557
INFO - [Mar 25 15:51:20] resolve common.IPLIST_MAP names=['google_cn', 'google_hk', 'google_talk', 'google_ipv6'] to iplist
WARNING - [Mar 25 15:51:21] socket.getaddrinfo host='' failed: [Errno -3] Temporary failure in name resolution
WARNING - [Mar 25 15:51:22] socket.getaddrinfo host='' failed: [Errno -3] Temporary failure in name resolution
WARNING - [Mar 25 15:51:22] socket.getaddrinfo host='' failed: [Errno -3] Temporary failure in name resolution
WARNING - [Mar 25 15:51:23] socket.getaddrinfo host='' failed: [Errno -3] Temporary failure in name resolution
WARNING - [Mar 25 15:51:23] socket.getaddrinfo host='' failed: [Errno -3] Temporary failure in name resolution
WARNING - [Mar 25 15:51:24] socket.getaddrinfo host='' failed: [Errno -3] Temporary failure in name resolution
ERROR - [Mar 25 15:51:28] resolve google_cn host return empty! please retry!
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 35352)
Traceback (most recent call last):
File "/usr/lib/python2.7/SocketServer.py", line 599, in process_request_thread
self.finish_request(request, client_address)
File "/media/tony/9117994e-5220-4f2f-afd3-a9de70cd947c/tony/goagent-3.2.2/local/proxylib.py", line 868, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "proxy.py", line 750, in __init__
SimpleProxyHandler.__init__(self, *args, **kwargs)
File "/usr/lib/python2.7/SocketServer.py", line 653, in __init__
self.setup()
File "/media/tony/9117994e-5220-4f2f-afd3-a9de70cd947c/tony/goagent-3.2.2/local/proxylib.py", line 1489, in setup
self.first_run()
File "proxy.py", line 757, in first_run
common.resolve_iplist()
File "proxy.py", line 1492, in resolve_iplist
sys.exit(-1)
SystemExit: -1
----------------------------------------
INFO - [Mar 25 15:51:28] resolve common.IPLIST_MAP names=['google_cn', 'google_hk', 'google_talk', 'google_ipv6'] to iplist
WARNING - [Mar 25 15:51:29] socket.getaddrinfo host='' failed: [Errno -3] Temporary failure in name resolution
WARNING - [Mar 25 15:51:30] socket.getaddrinfo host='' failed: [Errno -3] Temporary failure in name resolution
WARNING - [Mar 25 15:51:31] socket.getaddrinfo host='' failed: [Errno -3] Temporary failure in name resolution
WARNING - [Mar 25 15:51:31] socket.getaddrinfo host='' failed: [Errno -3] Temporary failure in name resolution
WARNING - [Mar 25 15:51:32] socket.getaddrinfo host='' failed: [Errno -3] Temporary failure in name resolution
WARNING - [Mar 25 15:51:32] socket.getaddrinfo host='' failed: [Errno -3] Temporary failure in name resolution
ERROR - [Mar 25 15:51:36] resolve google_cn host return empty! please retry!
dns 问题
添加
nameserver 114.114.114.114