Autumn-27 / ScopeSentry

ScopeSentry-网络空间测绘、子域名枚举、端口扫描、敏感信息发现、漏洞扫描、分布式节点
https://www.scope-sentry.top/
763 stars 115 forks source link

Request failed with status code 500 #35

Closed obelia01 closed 4 months ago

obelia01 commented 4 months ago

我现在重启web端后,产生Request failed with status code 500报错信息,数据库我看了没问题

Autumn-27 commented 4 months ago

看看日志..

obelia01 commented 4 months ago

ERROR: Exception in ASGI application Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/uvicorn/protocols/http/httptools_impl.py", line 436, in run_asgi

image

redis.exceptions.ResponseError: MISCONF Redis is configured to save RDB snapshots, but it's currently unable to persist to disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.

obelia01 commented 4 months ago

可能是redis 有问题了

Autumn-27 commented 4 months ago

嗯嗯 docker搭建的吗? 看看redis的日志

obelia01 commented 4 months ago
image

10069:C 04 Jul 2024 05:05:16.083 # Failed opening the temp RDB file temp-10069.rdb (in server root dir unknown) for saving: No such file or directory 1:M 04 Jul 2024 05:05:16.183 # Background saving error 1:M 04 Jul 2024 05:05:22.099 1 changes in 3600 seconds. Saving... 1:M 04 Jul 2024 05:05:22.099 Background saving started by pid 10070 10070:C 04 Jul 2024 05:05:22.099 # Failed opening the temp RDB file temp-10070.rdb (in server root dir unknown) for saving: No such file or directory 1:M 04 Jul 2024 05:05:22.199 # Background saving error 基本上都是这个报错信息。。。。是不是得重新搭redis ,数据应该都在mongdb上吧

Autumn-27 commented 4 months ago

你查一下 应该可以解决 数据都在mongodb上

obelia01 commented 4 months ago

emmmm,redis 重启以后,timeout了

image image

可能在数据同步,我明天看看

Autumn-27 commented 4 months ago

服务端也重启一下吧

obelia01 commented 4 months ago

服务端重启报错

image

好像数据丢了。。。。

Autumn-27 commented 4 months ago

看日志 重启和数据应该没有关系

obelia01 commented 4 months ago
image

还是有报错 。。

obelia01 commented 4 months ago
image

redis 有报错,我铲掉redis 重新部署一下吧