运行Scrapoxy和Digital Ocean时出现问题

时间:2019-04-05 16:14:50

标签: web-scraping scrapy scrapoxy

我正在尝试在Digital Ocean上运行Scrapoxy。我成功创建了一个液滴图像并配置了Scrapoxy。

当我启动Scrapoxy时,它将继续创建新实例并绕过最大限制。它只有在达到10个液滴时才停止。令我烦恼的是,在GUI版本中找不到实例。另外,当我测试代理服务器时,会收到以下消息:“错误:找不到正在运行的实例”。看来Scrapoxy只会产生液滴,而无法与液滴连接。

我手动安装了Scrapoxy。这是我的配置文件:

{
"commander": {
    "password": ".........."
},
"instance": {
    "port": 3128,
    "scaling": {
        "min": 1,
        "max": 2
    }
},
"providers": [
    {
        "type": "digitalocean",
        "token": "5204b9654f301.............c281036bd19e283321c09680ac9c",
        "region": "FRA1",
        "size": "s-1vcpu-1gb",
        "sshKeyName": "scrapoxy",
        "imageName": "forward-proxy",
        "tags": "Proxy,Amazon"
    }
]
}

1 个答案:

答案 0 :(得分:1)

您是否尝试将区域以小写形式放在配置文件中

示例: 像这样

"region": "fra1"

代替

"region": "FRA1"

您可以在以下github页面Issue 84Issue 62

上执行其他故障排除步骤。