【问题】
使用goagent翻墙一直很正常。
后来,突然出错了:
------------------------------------------------------
GoAgent Version : 2.1.17 (python/2.7.4 gevent/1.0dev pyopenssl/0.13)
Listen Address : 127.0.0.1:8087
GAE Mode : https
GAE Profile : google_cn
GAE APPID : xxx
Pac Server : http://127.0.0.1:8086/proxy.pac
Pac File : file://D:/tmp/dev_tools/goagent/github/goagent-goagent-v2.1.17-15-g496b57e/goagent-goagent-496b57e/local/proxy.pac
------------------------------------------------------
Traceback (most recent call last):
File "python27.py", line 95, in <module>
File "proxy.py", line 2364, in <module>
main()
File "proxy.py", line 2360, in main
server.serve_forever()
File "D:\tmp\dev_tools\goagent\github\goagent-goagent-v2.1.17-15-g496b57e\goagent-goagent-496b57e\local\python27.zip\gevent\baseserver.py", line 282, in serve_forever
File "D:\tmp\dev_tools\goagent\github\goagent-goagent-v2.1.17-15-g496b57e\goagent-goagent-496b57e\local\python27.zip\gevent\baseserver.py", line 234, in start
File "D:\tmp\dev_tools\goagent\github\goagent-goagent-v2.1.17-15-g496b57e\goagent-goagent-496b57e\local\python27.zip\gevent\server.py", line 78, in init_socket
File "D:\tmp\dev_tools\goagent\github\goagent-goagent-v2.1.17-15-g496b57e\goagent-goagent-496b57e\local\python27.zip\gevent\server.py", line 89, in get_listener
File "D:\tmp\dev_tools\goagent\github\goagent-goagent-v2.1.17-15-g496b57e\goagent-goagent-496b57e\local\python27.zip\gevent\server.py", line 153, in _tcp_listener
File "<string>", line 1, in bind
socket.error: [Errno 10048] Only one usage of each socket address (protocol/network address/port) is normally permitted: ('127.0.0.1', 8087)
Exception KeyError: KeyError(45208800,) in <module 'threading' from 'D:\tmp\dev_tools\goagent\github\goagent-goagent-v2.1.17-15-g496b57e\goagent-goagent-496b57e\local\python27.zip\threading.py'> ignor
ed
截图:
【解决过程】
1.当时没搞定。
2.后来第二天,就又正常了。
【总结】
至此,暂时不清楚之前问题的原因。
转载请注明:在路上 » 【无需解决】gae的goagent出错:socket.error: [Errno 10048] Only one usage of each socket address (protocol/network address/port) is normally permitted: (‘127.0.0.1’, 8087)