zema1 / watchvuln

一个高价值漏洞采集与推送服务 | collect valueable vulnerability and push it
MIT License
1.37k stars 151 forks source link

错误起不来 #64

Closed Lengso closed 7 months ago

Lengso commented 8 months ago

新起的docker一直在重启,起不来

启动方式:docker-compose up -d

version: '3'
services:
  watchvuln:
    restart: always
    image: zemal/watchvuln:latest
    environment:
      DINGDING_ACCESS_TOKEN: 1
      DINGDING_SECRET: 1
      DB_CONN: postgres://watchvuln:watchvuln@postgres:5432/watchvuln
      INTERVAL: 30m
    depends_on:
      - postgres

  postgres:
    restart: always
    image: postgres:14.4-alpine
    environment:
      POSTGRES_DB: watchvuln
      POSTGRES_USER: watchvuln
      POSTGRES_PASSWORD: watchvuln
    volumes:
      - "./data/postgresql:/var/lib/postgresql/data"

错误日志

[INFO] 2024/01/29 05:48 [aliyun-avd]: parsing page https://avd.aliyun.com/high-risk/list?page=1
[ERRO] 2024/01/29 05:48 [oscs]: failed to parse https://www.oscs1024.com/hd/MPS-ao1v-ghp4, Post "https://www.oscs1024.com/oscs/v1/vdb/info": context canceled
[FTAL] 2024/01/29 05:48 [main]: initial collect: invalid character '<' looking for beginning of value
[INFO] 2024/01/29 05:48 [main]: local database has 2775 vulns
[INFO] 2024/01/29 05:48 [main]: local data is outdated, init database
[INFO] 2024/01/29 05:48 [main]: oscs total page: 14
zema1 commented 8 months ago

镜像是不是没更新

Lengso commented 8 months ago

都是pull的最新版,师傅的能用?

Lengso commented 8 months ago

zemal/watchvuln latest sha256:c440fdeb64ac6987a657c79c29485a99304ba0f22f9ab01564f6b84a9f2bf7ee 67460d643e7b 5 weeks ago 42.8MB

zema1 commented 7 months ago

能用的,我一直在用,是不是 ip 被拦了,换个机器试试呢

Lengso commented 7 months ago

云机器确实可以用,本地好像有点问题。。