imWildCat / scylla

Intelligent proxy pool for Humans™ to extract content from the internet and build your own Large Language Models in this new AI era
Apache License 2.0
3.96k stars 480 forks source link

Empty proxy servers list #176

Open apetrichkovich opened 2 years ago

apetrichkovich commented 2 years ago

Describe the bug Proxy servers list is always empty.

To Reproduce Steps to reproduce the behavior:

  1. Install docker image on local or remote machine: docker run -d -p 8899:8899 -p 8081:8081 -v /var/www/scylla:/var/www/scylla --name scylla wildcat/scylla:latest
  2. Wait few minutes.
  3. Check proxy servers list: curl http://localhost:8899/api/v1/proxies

Expected behavior I expect to see few proxies in JSON.

Desktop (please complete the following information):

Is docker image is up to date?

Additional context

curl http://localhost:8899/api/v1/proxies
{"proxies":[],"count":0,"per_page":20,"page":1,"total_page":0}
loposk commented 2 years ago

Same error.

Describe the bug Proxy servers list is always empty.

To Reproduce Steps to reproduce the behavior:

  1. Install scylla: pip3.9 install scylla; pip3.9 uninstall sanic; pip3.9 uninstall sanic-cors; pip3.9 install sanic==18.12.0; pip3.9 install sanic-cors==0.10.0.post3
  2. Wait few minutes.
  3. Check proxy servers list: curl -s -XGET 127.0.0.1:8080/api/v1/proxies {"proxies":[],"count":0,"per_page":20,"page":1,"total_page":0}
  4. Logs: Oct 08 13:58:54 proxy scylla[11880]: 2022-10-08 - 13:58:54 DEBUG: Perform SQL query: ('SELECT "t1"."id", "t1"."ip", "t1"."port", "t1"."is_valid", "t1"."created_at", "t1"."updated_at", "t1"."latency", "t1"."stability", "t1"."is_anonymous", "t1"."is_https", "t1"."attempts", "t1"."https_attempts", "t1"."location", "t1"."organization", "t1"."region", "t1"."country", "t1"."city" FROM "proxy_ips" AS "t1" WHERE ((("t1"."latency" > ?) AND ("t1"."latency" < ?)) AND ("t1"."is_valid" = ?))', [0.0, 9999.0, True]) Oct 08 13:58:54 proxy scylla[11880]: [2022-10-08 13:58:54 +0000] - (sanic.access)[INFO][127.0.0.1:46416]: GET http://127.0.0.1:8080/api/v1/proxies 200 62

Expected behavior I expect to see few proxies in JSON.

Desktop (please complete the following information): local and remote Ubuntu 22.04.1 LTS

iszhi commented 1 year ago

thame error. I'm using docker docker run -d -p 8889:8899 -p 8081:8081 -v ~/Documents/scylla:/var/www/scylla --name scylla wildcat/scylla:latest

ruckerzerg commented 1 year ago

same, any alternative?