Giter VIP home page Giter VIP logo

Comments (3)

claffin avatar claffin commented on May 24, 2024

The ALIVE checks are a very basic check, essentially Cloudproxy does a proxy request using the deployed proxy, in this case your AWS proxy that is deployed. It does this by calling https://api.ipify.org/ and checks the response is the same as the IP of the proxy you've deployed. Ipify has no limits so shouldn't be causing this.

Is there a chance a local firewall or ISP issues are causing drop outs? When this issue occurs, are you able to use the proxies as normal? Though Cloudproxy may start replacing them all before you can test this I assume.

from cloudproxy.

secretobserve avatar secretobserve commented on May 24, 2024

Thank you for the reply.

I agree that the ALIVE check is an unlikely culprit, other than maybe contributing to congesting the network (45 requests per minute). However, I believe commit 7658129 bypassed the ipify check so fetch_ip() isn't used anymore? Or it might be the Github search tricking me. Regardless, CloudProxy killing instances is more likely due to instances refusing connections and thereby failing the ALIVE check than CloudProxy actually causing the issue.

My main theories was that there is some kind of limit on AWS or that TinyProxy isn't shutting down open connections, causing the EC2 instance to overload and refuse new connections. This is difficult to verify though so I was primarily hoping that maybe this is a known issue. But if I'm the only having the problem, it's more likely to be on my end.

I finally figured out a way to make AWS requests directly from my main application, so I won't have to use a Python Flask script as middleman. This should halve the number of local requests needed, although it doesn't change the number of outgoing requests to AWS. It seems to be working fine for now so this issue can be marked as solved. If the problem continues, I'll just have to dial down the number of requests.

from cloudproxy.

claffin avatar claffin commented on May 24, 2024

You're right, fetch_ip() isn't used anymore.

Let me know if the issue arises again. I currently do weekly automatic integration to test with all cloud providers. I will look to extend one of the tests and leave it running for a few days, see if I can repeat the error.

from cloudproxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.