We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Description macOS-设置代理后,查看lyrebird中的日志, http://0.0.0.0:9090/socket.io会递归请求,直至出现too many open file等情况
To Reproduce
Expected behavior 不出现递归请求,因出现递归后,短时间内程序会出现报错
Log 2022-11-02 11: 11: 20, 994 /Users/jk/Desktop/zz/ltm/venv/lib/python3.9/site-packages/lyrebird/mock/handlers/proxy_handler.py: 60 INFO SUCCESS 400 http: //0.0.0.0:9090/socket.io/?EIO=3&transport=polling&t=OGsKScL&sid=12dcec648fd24bc7a14d0e9721ff49ac 2022-11-02 11: 11: 21, 001 /Users/jk/Desktop/zz/ltm/venv/lib/python3.9/site-packages/lyrebird/mock/handlers/proxy_handler.py: 60 INFO SUCCESS 200 https: //p24-caldav.icloud.com/mm/sub?token=a24e42231e244db05c386431c020596845bd6b0ad195ada809f7743284d8e21b&key=467048548 2022-11-02 11: 11: 21, 009 /Users/jk/Desktop/zz/ltm/venv/lib/python3.9/site-packages/lyrebird/mock/handlers/proxy_handler.py: 60 INFO SUCCESS 400 http: //0.0.0.0:9090/socket.io/?EIO=3&transport=polling&t=OGsKScL&sid=12dcec648fd24bc7a14d0e9721ff49ac 2022-11-02 11: 11: 21, 029 /Users/jk/Desktop/zz/ltm/venv/lib/python3.9/site-packages/lyrebird/mock/handlers/proxy_handler.py: 60 INFO SUCCESS 400 http: //0.0.0.0:9090/socket.io/?EIO=3&transport=polling&t=OGsKScL&sid=12dcec648fd24bc7a14d0e9721ff49ac 2022-11-02 11: 11: 21, 030 /Users/jk/Desktop/zz/ltm/venv/lib/python3.9/site-packages/lyrebird/mock/handlers/proxy_handler.py: 60 INFO SUCCESS 200 https: //p24-caldav.icloud.com/mm/sub?token=a24e42231e244db05c386431c020596845bd6b0ad195ada809f7743284d8e21b&key=467048548 2022-11-02 11: 11: 21, 044 /Users/jk/Desktop/zz/ltm/venv/lib/python3.9/site-packages/lyrebird/mock/handlers/proxy_handler.py: 60 INFO SUCCESS 400 http: //0.0.0.0:9090/socket.io/?EIO=3&transport=polling&t=OGsKScL&sid=12dcec648fd24bc7a14d0e9721ff49ac 2022-11-02 11: 11: 21, 060 /Users/jk/Desktop/zz/ltm/venv/lib/python3.9/site-packages/lyrebird/mock/handlers/proxy_handler.py: 60 INFO SUCCESS 400 http: //0.0.0.0:9090/socket.io/?EIO=3&transport=polling&t=OGsKScL&sid=12dcec648fd24bc7a14d0e9721ff49ac 2022-11-02 11: 11: 21, 074 /Users/jk/Desktop/zz/ltm/venv/lib/python3.9/site-packages/lyrebird/mock/handlers/proxy_handler.py: 60 INFO SUCCESS 200 https: //p24-caldav.icloud.com/mm/sub?token=a24e42231e244db05c386431c020596845bd6b0ad195ada809f7743284d8e21b&key=467048548 2022-11-02 11: 11: 21, 075 /Users/jk/Desktop/zz/ltm/venv/lib/python3.9/site-packages/lyrebird/mock/handlers/proxy_handler.py: 60 INFO SUCCESS 400 http: //0.0.0.0:9090/socket.io/?EIO=3&transport=polling&t=OGsKScL&sid=12dcec648fd24bc7a14d0e9721ff49ac 2022-11-02 11: 11: 21, 086 /Users/jk/Desktop/zz/ltm/venv/lib/python3.9/site-packages/lyrebird/mock/handlers/proxy_handler.py: 60 INFO SUCCESS 400 http: //0.0.0.0:9090/socket.io/?EIO=3&transport=polling&t=OGsKScL&sid=12dcec648fd24bc7a14d0e9721ff49ac 2022-11-02 11: 11: 21, 102 /Users/jk/Desktop/zz/ltm/venv/lib/python3.9/site-packages/lyrebird/mock/blueprints/apis/init.py: 35 INFO [On API ]200 GET http: //0.0.0.0:9090/api/event 2022-11-02 11: 11: 21, 105 /Users/jk/Desktop/zz/ltm/venv/lib/python3.9/site-packages/lyrebird/mock/handlers/proxy_handler.py: 60 INFO SUCCESS 200 https: //p24-caldav.icloud.com/mm/sub?token=a24e42231e244db05c386431c020596845bd6b0ad195ada809f7743284d8e21b&key=467048548 2022-11-02 11: 11: 21, 131 /Users/jk/Desktop/zz/ltm/venv/lib/python3.9/site-packages/lyrebird/mock/handlers/proxy_handler.py: 60 INFO SUCCESS 400 http: //0.0.0.0:9090/socket.io/?EIO=3&transport=polling&t=OGsKScL&sid=12dcec648fd24bc7a14d0e9721ff49ac 2022-11-02 11: 11: 21, 147 /Users/jk/Desktop/zz/ltm/venv/lib/python3.9/site-packages/lyrebird/mock/handlers/proxy_handler.py: 60 INFO SUCCESS 400 http: //0.0.0.0:9090/socket.io/?EIO=3&transport=polling&t=OGsKScL&sid=12dcec648fd24bc7a14d0e9721ff49ac 2022-11-02 11: 11: 21, 148 /Users/jk/Desktop/zz/ltm/venv/lib/python3.9/site-packages/lyrebird/mock/handlers/proxy_handler.py: 60 INFO SUCCESS 200 https: //p24-caldav.icloud.com/mm/sub?token=a24e42231e244db05c386431c020596845bd6b0ad195ada809f7743284d8e21b&key=467048548 2022-11-02 11: 11: 21, 163 /Users/jk/Desktop/zz/ltm/venv/lib/python3.9/site-packages/lyrebird/mock/handlers/proxy_handler.py: 60 INFO SUCCESS 400 http: //0.0.0.0:9090/socket.io/?EIO=3&transport=polling&t=OGsKScL&sid=12dcec648fd24bc7a14d0e9721ff49ac 2022-11-02 11: 11: 21, 182 /Users/jk/Desktop/zz/ltm/venv/lib/python3.9/site-packages/lyrebird/mock/handlers/proxy_handler.py: 60 INFO SUCCESS 200 https: //p24-caldav.icloud.com/mm/sub?token=a24e42231e244db05c386431c020596845bd6b0ad195ada809f7743284d8e21b&key=467048548 2022-11-02 11: 11: 21, 188 /Users/jk/Desktop/zz/ltm/venv/lib/python3.9/site-packages/lyrebird/mock/handlers/proxy_handler.py: 60 INFO SUCCESS 400 http: //0.0.0.0:9090/socket.io/?EIO=3&transport=polling&t=OGsKScL&sid=12dcec648fd24bc7a14d0e9721ff49ac
Desktop (please complete the following information):
Additional context 1.单独使用mitmproxy无此问题 2.尝试升级mitmproxy和requests未解决此问题
The text was updated successfully, but these errors were encountered:
这里发生递归的是一个前端push的连接。 在我们搞清楚问题之前,您可以先尝试在代理设置中将0.0.0.0添加到忽略列表中。 @ztwo
Sorry, something went wrong.
@zhaoye 感谢开发者回复,我先按照你提供的方法尝试。
不客气,有进展也可以同步在这里以获得更多的帮助。
No branches or pull requests
Description
macOS-设置代理后,查看lyrebird中的日志, http://0.0.0.0:9090/socket.io会递归请求,直至出现too many open file等情况
To Reproduce
Expected behavior
不出现递归请求,因出现递归后,短时间内程序会出现报错
Log
2022-11-02 11: 11: 20,
994 /Users/jk/Desktop/zz/ltm/venv/lib/python3.9/site-packages/lyrebird/mock/handlers/proxy_handler.py: 60
INFO SUCCESS 400 http: //0.0.0.0:9090/socket.io/?EIO=3&transport=polling&t=OGsKScL&sid=12dcec648fd24bc7a14d0e9721ff49ac
2022-11-02 11: 11: 21,
001 /Users/jk/Desktop/zz/ltm/venv/lib/python3.9/site-packages/lyrebird/mock/handlers/proxy_handler.py: 60
INFO SUCCESS 200 https: //p24-caldav.icloud.com/mm/sub?token=a24e42231e244db05c386431c020596845bd6b0ad195ada809f7743284d8e21b&key=467048548
2022-11-02 11: 11: 21,
009 /Users/jk/Desktop/zz/ltm/venv/lib/python3.9/site-packages/lyrebird/mock/handlers/proxy_handler.py: 60
INFO SUCCESS 400 http: //0.0.0.0:9090/socket.io/?EIO=3&transport=polling&t=OGsKScL&sid=12dcec648fd24bc7a14d0e9721ff49ac
2022-11-02 11: 11: 21,
029 /Users/jk/Desktop/zz/ltm/venv/lib/python3.9/site-packages/lyrebird/mock/handlers/proxy_handler.py: 60
INFO SUCCESS 400 http: //0.0.0.0:9090/socket.io/?EIO=3&transport=polling&t=OGsKScL&sid=12dcec648fd24bc7a14d0e9721ff49ac
2022-11-02 11: 11: 21,
030 /Users/jk/Desktop/zz/ltm/venv/lib/python3.9/site-packages/lyrebird/mock/handlers/proxy_handler.py: 60
INFO SUCCESS 200 https: //p24-caldav.icloud.com/mm/sub?token=a24e42231e244db05c386431c020596845bd6b0ad195ada809f7743284d8e21b&key=467048548
2022-11-02 11: 11: 21,
044 /Users/jk/Desktop/zz/ltm/venv/lib/python3.9/site-packages/lyrebird/mock/handlers/proxy_handler.py: 60
INFO SUCCESS 400 http: //0.0.0.0:9090/socket.io/?EIO=3&transport=polling&t=OGsKScL&sid=12dcec648fd24bc7a14d0e9721ff49ac
2022-11-02 11: 11: 21,
060 /Users/jk/Desktop/zz/ltm/venv/lib/python3.9/site-packages/lyrebird/mock/handlers/proxy_handler.py: 60
INFO SUCCESS 400 http: //0.0.0.0:9090/socket.io/?EIO=3&transport=polling&t=OGsKScL&sid=12dcec648fd24bc7a14d0e9721ff49ac
2022-11-02 11: 11: 21,
074 /Users/jk/Desktop/zz/ltm/venv/lib/python3.9/site-packages/lyrebird/mock/handlers/proxy_handler.py: 60
INFO SUCCESS 200 https: //p24-caldav.icloud.com/mm/sub?token=a24e42231e244db05c386431c020596845bd6b0ad195ada809f7743284d8e21b&key=467048548
2022-11-02 11: 11: 21,
075 /Users/jk/Desktop/zz/ltm/venv/lib/python3.9/site-packages/lyrebird/mock/handlers/proxy_handler.py: 60
INFO SUCCESS 400 http: //0.0.0.0:9090/socket.io/?EIO=3&transport=polling&t=OGsKScL&sid=12dcec648fd24bc7a14d0e9721ff49ac
2022-11-02 11: 11: 21,
086 /Users/jk/Desktop/zz/ltm/venv/lib/python3.9/site-packages/lyrebird/mock/handlers/proxy_handler.py: 60
INFO SUCCESS 400 http: //0.0.0.0:9090/socket.io/?EIO=3&transport=polling&t=OGsKScL&sid=12dcec648fd24bc7a14d0e9721ff49ac
2022-11-02 11: 11: 21,
102 /Users/jk/Desktop/zz/ltm/venv/lib/python3.9/site-packages/lyrebird/mock/blueprints/apis/init.py: 35
INFO [On API
]200 GET http: //0.0.0.0:9090/api/event
2022-11-02 11: 11: 21,
105 /Users/jk/Desktop/zz/ltm/venv/lib/python3.9/site-packages/lyrebird/mock/handlers/proxy_handler.py: 60
INFO SUCCESS 200 https: //p24-caldav.icloud.com/mm/sub?token=a24e42231e244db05c386431c020596845bd6b0ad195ada809f7743284d8e21b&key=467048548
2022-11-02 11: 11: 21,
131 /Users/jk/Desktop/zz/ltm/venv/lib/python3.9/site-packages/lyrebird/mock/handlers/proxy_handler.py: 60
INFO SUCCESS 400 http: //0.0.0.0:9090/socket.io/?EIO=3&transport=polling&t=OGsKScL&sid=12dcec648fd24bc7a14d0e9721ff49ac
2022-11-02 11: 11: 21,
147 /Users/jk/Desktop/zz/ltm/venv/lib/python3.9/site-packages/lyrebird/mock/handlers/proxy_handler.py: 60
INFO SUCCESS 400 http: //0.0.0.0:9090/socket.io/?EIO=3&transport=polling&t=OGsKScL&sid=12dcec648fd24bc7a14d0e9721ff49ac
2022-11-02 11: 11: 21,
148 /Users/jk/Desktop/zz/ltm/venv/lib/python3.9/site-packages/lyrebird/mock/handlers/proxy_handler.py: 60
INFO SUCCESS 200 https: //p24-caldav.icloud.com/mm/sub?token=a24e42231e244db05c386431c020596845bd6b0ad195ada809f7743284d8e21b&key=467048548
2022-11-02 11: 11: 21,
163 /Users/jk/Desktop/zz/ltm/venv/lib/python3.9/site-packages/lyrebird/mock/handlers/proxy_handler.py: 60
INFO SUCCESS 400 http: //0.0.0.0:9090/socket.io/?EIO=3&transport=polling&t=OGsKScL&sid=12dcec648fd24bc7a14d0e9721ff49ac
2022-11-02 11: 11: 21,
182 /Users/jk/Desktop/zz/ltm/venv/lib/python3.9/site-packages/lyrebird/mock/handlers/proxy_handler.py: 60
INFO SUCCESS 200 https: //p24-caldav.icloud.com/mm/sub?token=a24e42231e244db05c386431c020596845bd6b0ad195ada809f7743284d8e21b&key=467048548
2022-11-02 11: 11: 21,
188 /Users/jk/Desktop/zz/ltm/venv/lib/python3.9/site-packages/lyrebird/mock/handlers/proxy_handler.py: 60
INFO SUCCESS 400 http: //0.0.0.0:9090/socket.io/?EIO=3&transport=polling&t=OGsKScL&sid=12dcec648fd24bc7a14d0e9721ff49ac
Desktop (please complete the following information):
Additional context
1.单独使用mitmproxy无此问题
2.尝试升级mitmproxy和requests未解决此问题
The text was updated successfully, but these errors were encountered: