Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

错误起不来 #64

Closed
Lengso opened this issue Jan 28, 2024 · 5 comments
Closed

错误起不来 #64

Lengso opened this issue Jan 28, 2024 · 5 comments

Comments

@Lengso
Copy link

Lengso commented Jan 28, 2024

新起的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
Copy link
Owner

zema1 commented Feb 1, 2024

镜像是不是没更新

@Lengso
Copy link
Author

Lengso commented Feb 1, 2024

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

@Lengso
Copy link
Author

Lengso commented Feb 2, 2024

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

@zema1
Copy link
Owner

zema1 commented Feb 3, 2024

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

@zema1 zema1 pinned this issue Feb 22, 2024
@Lengso
Copy link
Author

Lengso commented Feb 29, 2024

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

@Lengso Lengso closed this as completed Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants