Skip to content
New issue

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

有个bug想请教一下大佬 #124

Open
zhang54188 opened this issue Aug 17, 2023 · 0 comments
Open

有个bug想请教一下大佬 #124

zhang54188 opened this issue Aug 17, 2023 · 0 comments

Comments

@zhang54188
Copy link

使用正常的app.run()方式启动
File "/path/lib/python3.6/site-packages/flask/app.py", line 2450, in wsgi_app
response = self.handle_exception(e)
File "/path/lib/python3.6/site-packages/flask/app.py", line 1867, in handle_exception
reraise(exc_type, exc_value, tb)
File "/path/lib/python3.6/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/path/lib/python3.6/site-packages/flask/app.py", line 2446, in wsgi_app
ctx.push()
File "/path/lib/python3.6/site-packages/flask/ctx.py", line 390, in push
self.session = session_interface.open_session(self.app, self.request)
File "/path/lib/python3.6/site-packages/flask/sessions.py", line 343, in open_session
val = request.cookies.get(app.session_cookie_name)
AttributeError: 'str' object has no attribute 'get'
使用gunicorn启动报错信息上面加下面
Traceback (most recent call last):
File "/path/lib64/python3.6/site-packages/gunicorn/workers/sync.py", line 135, in handle
self.handle_request(listener, req, client, addr)
File "/path/lib64/python3.6/site-packages/gunicorn/workers/sync.py", line 180, in handle_request
if isinstance(respiter, environ['wsgi.file_wrapper']):
KeyError: 'wsgi.file_wrapper'
想请问一下这种情况怎么排查Agent问题,原来的flask版本为2.0.0 降低到1.1.4 还是不行,请大佬指教一下
我想学习一下Agent的开发,请大佬删除一下上一条我不小心提交且已经关闭的issues,不好意思,麻烦您了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant