mushorg / tanner

He who flays the hide
GNU General Public License v3.0
222 stars 104 forks source link

I have 500 Internal Server Error #429

Closed namhikelo closed 5 months ago

namhikelo commented 1 year ago

image

Error handling request tanner_web | Traceback (most recent call last): tanner_web | File "/opt/tanner/tanner-env/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request tanner_web | resp = await request_handler(request) tanner_web | File "/opt/tanner/tanner-env/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle tanner_web | resp = await handler(request) tanner_web | File "/opt/tanner/tanner-env/lib/python3.9/site-packages/aiohttp_jinja2/init.py", line 91, in wrapped tanner_web | context = await coro(*args) tanner_web | File "/opt/tanner/tanner-env/lib/python3.9/site-packages/Tanner-0.6.0-py3.9.egg/tanner/web/server.py", line 39, in handle_snare_stats tanner_web | snare_stats = await self.api.return_snare_stats(snare_uuid) tanner_web | File "/opt/tanner/tanner-env/lib/python3.9/site-packages/Tanner-0.6.0-py3.9.egg/tanner/api/api.py", line 26, in return_snare_stats tanner_web | sessions = await self.return_snare_info(snare_uuid) tanner_web | File "/opt/tanner/tanner-env/lib/python3.9/site-packages/Tanner-0.6.0-py3.9.egg/tanner/api/api.py", line 42, in return_snare_info tanner_web | query_res = await self.redis_client.zrevrangebyscore(uuid, offset=0, count=count) tanner_web | TypeError: zrevrangebyscore() got an unexpected keyword argument 'offset'

Please help me.

Best Regards,