最新消息:20210917 已从crifan.com换到crifan.org

【无需解决】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)

软件使用 crifan 2392浏览 0评论

【问题】

使用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

 

截图:

goagent error socket error errno 10048 only one usage of each socket address

 

【解决过程】

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)

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
99 queries in 0.206 seconds, using 23.44MB memory