Closed ArcherSore closed 6 months ago
经排查频繁切换代理是由于发送了大量请求获取tag和build history.不属于需要调整的问题。 例如:
[INFO] 2024-03-29 19:16:27 Proxy 43.152.113.218:19118 now has 3 lifetime left.
[INFO] 2024-03-29 19:16:28 Proxy 43.152.113.218:19118 now has 2 lifetime left.
[INFO] 2024-03-29 19:16:29 [24/872454] balenalib/apalis-imx6q-ubuntu-node has 10 tags now
[INFO] 2024-03-29 19:16:29 Proxy 43.152.113.218:19118 now has 1 lifetime left.
[INFO] 2024-03-29 19:16:30 [24/872454] balenalib/apalis-imx6q-ubuntu-node has 20 tags now
[INFO] 2024-03-29 19:16:30 Proxy 43.152.113.218:19118 now has 0 lifetime left.
[WARNING] 2024-03-29 19:16:30 [Connection] Proxy 43.152.113.218:19118 has expired; ready to re-fetch
[INFO] 2024-03-29 19:16:30 Proxy 43.152.113.218:19118 is expired. Fetching a new one
[INFO] 2024-03-29 19:16:30 Got proxy 43.159.30.199:19370 with lifespan 5
[INFO] 2024-03-29 19:16:31 [24/872454] balenalib/apalis-imx6q-ubuntu-node has 30 tags now
[INFO] 2024-03-29 19:16:31 Proxy 43.159.30.199:19370 now has 4 lifetime left.
[INFO] 2024-03-29 19:16:32 [24/872454] balenalib/apalis-imx6q-ubuntu-node has 40 tags now
[INFO] 2024-03-29 19:16:32 Proxy 43.159.30.199:19370 now has 3 lifetime left.
[INFO] 2024-03-29 19:16:32 [24/872454] balenalib/apalis-imx6q-ubuntu-node has 50 tags now
[INFO] 2024-03-29 19:16:32 Proxy 43.159.30.199:19370 now has 2 lifetime left.
[INFO] 2024-03-29 19:16:33 [24/872454] balenalib/apalis-imx6q-ubuntu-node has 60 tags now
[INFO] 2024-03-29 19:16:33 Proxy 43.159.30.199:19370 now has 1 lifetime left.
[INFO] 2024-03-29 19:16:34 [24/872454] balenalib/apalis-imx6q-ubuntu-node has 70 tags now
[INFO] 2024-03-29 19:16:34 Proxy 43.159.30.199:19370 now has 0 lifetime left.
[WARNING] 2024-03-29 19:16:34 [Connection] Proxy 43.159.30.199:19370 has expired; ready to re-fetch
[INFO] 2024-03-29 19:16:34 Proxy 43.159.30.199:19370 is expired. Fetching a new one
[INFO] 2024-03-29 19:16:34 Got proxy 43.159.28.58:19384 with lifespan 5
[INFO] 2024-03-29 19:16:35 [24/872454] balenalib/apalis-imx6q-ubuntu-node has 80 tags now
[INFO] 2024-03-29 19:16:35 Proxy 43.159.28.58:19384 now has 4 lifetime left.
[INFO] 2024-03-29 19:16:36 [24/872454] balenalib/apalis-imx6q-ubuntu-node has 90 tags now
[INFO] 2024-03-29 19:16:36 Proxy 43.159.28.58:19384 now has 3 lifetime left.
[INFO] 2024-03-29 19:16:36 [24/872454] balenalib/apalis-imx6q-ubuntu-node has 100 tags now
[INFO] 2024-03-29 19:16:36 [24/872454] balenalib/apalis-imx6q-ubuntu-node has tags more than 100, turncate.
[INFO] 2024-03-29 19:16:36 [24/872454] balenalib/apalis-imx6q-ubuntu-node has 100 tags
Issue Description: Based on current test results, the issue only occurs when crawling
all_images_b
, and not when crawling_-019ac
. When crawlingall_images_b
, the first 12 entries proceed normally, but starting from the 13th entry, frequent issues with expired IPs are encountered.Vulnerability Reproduction: Ubuntu 22.04, with the basic environment configuration as described in the readme.
The docker-compose.yaml file is as follows:
Run the command
sudo docker-compose up -d
.Error Log Information:
The partial content of the file
all_images_b.list
is as follows: