Re: [tor-dev] Tor-stem in python script - HTTP requests issue

2013-08-03 Thread Eduard Natale
Hi Damian and thanks for your answer. Actually I only need 2 (at most) different IPs at a time from different countries, that's why I need to use 2 instances of my script with separate circuits. I have to test a CGI script on a server of mine and each request is delayed 2 seconds from the next one,

Re: [tor-dev] Tor-stem in python script - HTTP requests issue

2013-08-02 Thread Damian Johnson
Hi Eduard. On first glance I'm not aware of any resource that would be exhausted by this after 200 iterations. Does the issue repro if you just do 400 GETs or 400 POSTs, or does the problem only arise when you do a combination of 200 of each? Have you tried running netstat or another connection res

[tor-dev] Tor-stem in python script - HTTP requests issue

2013-08-01 Thread Eduard Natale
Hello guys, I had a problem and currently I'm not able to solve it. So, here I am ;) I have a python script that uses python-stem to create and handle a tor instance (on a defined port). What it does is retrieving (using a HTTP GET) a web page and submitting information (using HTTP POST messages)