------------------------------------------------------
GoAgent Version : 3.1.11 (python/2.7.6 gevent/1.0.1 pyopenssl/0.13)
Listen Address : 127.0.0.1:8087
GAE Mode : https
GAE Profile : ipv4
GAE APPID : fsfwefwefweefw
Pac Server : http://172.16.1.159:8086/proxy.pac
Pac File : file://F:/goagent/local/proxy.pac
------------------------------------------------------
Traceback (most recent call last):
File "python27.py", line 95, in <module>
File "proxy.py", line 3016, in <module>
main()
File "proxy.py", line 2992, in main
server = LocalProxyServer((common.PAC_IP, common.PAC_PORT), PACProxyHandler)
File "F:\goagent\local\python27.zip\SocketServer.py", line 419, in __init__
File "F:\goagent\local\python27.zip\SocketServer.py", line 430, in server_bind
File "<string>", line 1, in bind
socket.error: [Errno 10013]
Exception KeyError: KeyError(44151552,) in <module 'threading' from 'F:\goagent\
local\python27.zip\threading.py'> ignored
这是一个python的端口占用错误,原因是Pac Server的8086端口已被别的程序占用。
我的解决方案是在local文件夹中的python.ini文件中,将pac禁用(enable默认为1开启,请设置为0),当然,熟悉goagent中python应用的人也可以将其port改变一下。
最后,启动成功。