Comments (10)
现在没有502错误了,但是8000端口仍然无法打开,我发现elaticsearch容器一直处于重启状态
from w12scan.
我查了查,发现应该是内存不足问题,请问楼主用的什么主机,多大内存
from w12scan.
上周搭建环境,也是出现502错误,可否告知一下环境?
实验机器:
Ubuntu18.04
4核cpu
16G内存
python3.6.7
from w12scan.
@muYoz 我通过使用docker exec -it [id] /bin/bash 排查,发现当进入w12scan_web时提示配置文件缩进错误,你可以使用这个命令对各个已启动的容器进行错误排查。
from w12scan.
@dd404x 先单独开启elasticsearch容器,查看日志问题,实在不行就使用elasticsearch云服务吧
@muYoz 16G内存应该是够的,用docker logs查看一下日志问题吧
from w12scan.
@boy-hack Ok,我使用云服务尝试下
from w12scan.
@muYoz我通过使用docker exec -it [id] / bin / bash排查,发现当进入w12scan_web时提示配置文件缩进错误,你可以使用这个命令对各个已启动的容器进行错误排查。
感谢!进去容器,python manage.py发现是Django未安装。OK啦!
from w12scan.
我使用阿里云服务,这样修改配置文件后,仍然无法访问 @boy-hack ,我的修改有问题吗?
from w12scan.
我使用阿里云服务,这样修改配置文件后,仍然无法访问 @boy-hack ,我的修改有问题吗?
- 在
config.py
中修改ELASTICSEARCH_AUTH = ('elastic','password')
- 修改docker-compose.yml web的elasticsearch host
- 删除原来的镜像重新
docker-compose up -d
你好像第一步写错了,elasticsearch认证需要用户名和密码,如果还是出错请查看docker-compose logs
信息
from w12scan.
from w12scan.
Related Issues (20)
- API只能读取前500页的数据,读取后面的就会报错.... HOT 1
- 不支持CIDR格式的IP段么?
- 请求400 search_phase_execution
- 版本更新
- Service 'web' failed to build HOT 1
- redis 启动不了 HOT 1
- 死活安装不好 装了一两天了 无语啊 HOT 1
- 求回复 谢谢 ! load poc error:https://www.czhuihao.cn error:expected string or bytes-like object over. nothing.
- 无法通过web访问
- 账号与密码怎么修改呀 HOT 1
- 单独web镜像启动失败
- 忘记密码如何找回?
- 求告知,扫描的结果在哪里保存?w12scan-data/db只有w12scan.db一个文件 HOT 4
- 如何执行扫描程序
- 能不能支持es7以上?
- 45
- 请问,还会继续更新吗,个人版空间资产引擎,只盼望w12scan了 HOT 1
- 话说能把api导入改成批量吗 HOT 1
- 功能点问题
- 组件会消失?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from w12scan.