【无标题】Access control configuration prevents your request from being allowed at this time.

寒羽鹿

关注

阅读 48

2022-01-10

万恶之源

curl http://localhost:6800

在这里插入图片描述

解决办法

curl --noproxy "*" http://localhost:6800/listprojects.json

或者找到.curlrc文件(mac 在.bash_profile),添加:

no_proxy='localhost,127.0.0.1'   

除此之外,可能是DNS没有设置好,可以尝试添加几个dns。

题外:
谁知道 scrapyd API 怎么跳过代理,请留言
scrapyd = ScrapydAPI(‘http://127.0.0.1:6800’)

精彩评论(0)

0 0 举报