claffin / cloudproxy

Hide your scrapers IP behind the cloud. Provision proxy servers across different cloud providers to improve your scraping success.
https://cloudproxy.io/
MIT License
1.4k stars 80 forks source link

always destroy instances #49

Closed alex60217101990 closed 3 years ago

alex60217101990 commented 3 years ago

Expected Behavior

an GCP and DO cloud providers always destroy instances:

2021-07-30 15:59:33.646 | INFO     | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:60922 - "GET /destroy HTTP/1.1" 200
2021-07-30 15:59:36.640 | INFO     | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:60922 - "GET /destroy HTTP/1.1" 200
2021-07-30 15:59:30.937 | INFO     | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:60924 - "GET /destroy HTTP/1.1" 200
claffin commented 3 years ago

The UI regularly calls the /destroy endpoint to get a list of all the proxy instances pending deletion. This get request you are seeing is just that and it's not actually deleting the proxies.

If you start Cloudproxy and don't open the UI, then you'll notice those requests aren't there.