Giter Club home page Giter Club logo

watchad-web's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

watchad-web's Issues

查询数据出错

您好,我在ubuntu上运行了watchad和watchad-web,用网页打开显示查询数据出错,找不到是哪里配置不对,还请指点。
image

docker-compose build ERROR: Service 'frontend' failed to build: Unknown flag: from

[root@localhost WatchAD-Web]# docker-compose build
Building frontend
Step 1/9 : FROM node:12.13.1
---> 7be6a8478f5f
Step 2/9 : LABEL maintainer "9ian1i [email protected]"
---> Using cache
---> b237faed54cc
Step 3/9 : COPY . /app/
---> Using cache
---> 29e2e102f419
Step 4/9 : WORKDIR /app
---> Using cache
---> c972f54450f2
Step 5/9 : RUN npm install --registry=https://registry.npm.taobao.org --cache=$HOME/.npm/.cache/cnpm --disturl=https://npm.taobao.org/dist --userconfig=$HOME/.cnpmrc
---> Using cache
---> 4b073ce276c4
Step 6/9 : RUN npm run build
---> Using cache
---> 161be03d2c05
Step 7/9 : FROM nginx
---> 0e901e68141f
Step 8/9 : LABEL maintainer "9ian1i [email protected]"
---> Using cache
---> 960167fc43cc
Step 9/9 : COPY --from=0 /app/dist /usr/share/nginx/html
ERROR: Service 'frontend' failed to build: Unknown flag: from

能否告知rabbitmq等需要的配置

目前check时,报错pika.exceptions.ConnectionClosedByBroker: (530, "NOT_ALLOWED - access to vhost '/' refused for user 'WatchAD'")
2019-11-13 16:06:17,138 - WatchAD - ERROR - Can't connect to the MQ, please reconfirm the settings.
,无法连接MQ,已在rabbitmq上增加了WatchAD/WatchAD-by-0KEE,端口5672和15672都是打开的,谢谢!

docker-compose build 报错

报错内容:ERROR: Service 'server' failed to build: The command '/bin/sh -c pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple' returned a non-zero code: 2

这是因为{WatchAD-Server}/server/Dockerfile中的pip命令导致,我的环境中pip 使用的是python 2.7的,此项目要用python 3 所以遇到此问题,可以修改此命令为pip3

RedisHelper的一个问题

RedisHelper初始化时没有判断RedisConfig是否有password属性,直接无密码连接redis,会导致服务端使用带密码redis服务时报错

关于页面安全性的问题

关于设置页面密码为明文显示
image
将标签修改为
image
即可看见明文密码
建议设置页码不把配置文件的敏感信息显示出来直接调用api

考虑一下API接口的安全性。

Flask項目部署的問題

您好,小白一個,請教下uwsgi.ini中的{your_project_dir},指的是'WatchAD-Web-master/server'這個目錄麼,nginx.conf中的{your_project_dir}是一樣的麼;
另外nginx.conf中的‘’include /etc/nginx/default.d/*.conf‘’,默認沒有這個文件,能否提供下配置。
在frontend中npm run build之後的dist文件夾是如何處理,感謝指教!

npm run serve 的时候出现了这个。

ERROR Failed to compile with 3 errors 8:11:13 PM

These dependencies were not found:

  • @/components/activity/RawKrbTafficList in ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/modules/activity/views/CardView.vue?vue&type=script&lang=js&
  • @/components/alert_detail/306_exceptional_krb_req in ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/activity/AlertDetailSelect.vue?vue&type=script&lang=js&
  • @/components/alert_detail/511_golden_ticket in ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/activity/AlertDetailSelect.vue?vue&type=script&lang=js&

To install them, you can run: npm install --save @/components/activity/RawKrbTafficList @/components/alert_detail/306_exceptional_krb_req @/components/alert_detail/511_golden_ticket

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.