HTTP POST getting stuck



  • Hey! I'm loving your studio. You've done amazing work and can't wait for the future with it! Straight to the problem,
    I've created a complete HTTP get/post register bot but it seems that the POST method is getting stuck when I run it. I've added a timeout, but that doesn't seem to work. Any ideas?

    Thanks,
    Allister!

    Edit: Image added. You can see the time's. thread #3 stopped on the first launch, then #1 then #2. I'm not sure what would be causing this, it seems to be only that one POST request.
    alt text



  • Looking further into the request's the POST request keeps being resent endlessly. After the first, the data is lost.

    -Allister


  • administrators

    @Allister Hi, by default every action in BAS is limited in 60 seconds, if action did not manage to finish within this time, thread will restart. The only exception is sleep, manual captcha solving.
    I follow this very strictly.
    But default timeout can be changed or timeout can be changed individually for each action.
    You mentioned, that you changed it, which value did you set?
    Can you attach small project part which demonstrates the issue?

    Looking further into the request's the POST request keeps being resent endlessly. After the first, the data is lost.

    POST data should not be resent, otherwise it can create double posts, or double user creation, it is very strange, can you attach action, which resents requests?



  • @support said in HTTP POST getting stuck:

    @Allister Hi, by default every action in BAS is limited in 60 seconds, if action did not manage to finish within this time, thread will restart. The only exception is sleep, manual captcha solving.
    I follow this very strictly.
    But default timeout can be changed or timeout can be changed individually for each action.
    You mentioned, that you changed it, which value did you set?
    Can you attach small project part which demonstrates the issue?

    Looking further into the request's the POST request keeps being resent endlessly. After the first, the data is lost.

    POST data should not be resent, otherwise it can create double posts, or double user creation, it is very strange, can you attach action, which resents requests?

    The default timeout was set to 10 seconds to 3 minutes including default.
    I broke down the script that was PMed to you hope it works for you. When running it, you'll need a some of proxies (can reuse proxies for multiple accounts). It took around 10 POST requests before it gets stuck.


  • administrators

    @Allister Thanks, I'll check it out and let you know.


  • administrators

    @Allister The issue is with setting Host http header, this header is not correct, and site gives 302 redirect and you get into infinite loop.
    To solve this, just avoid setting host header, http client will do it automatically.



  • @support
    face palm I feel like an idiot now. I had it setting the host because it was returning Method not Accepted error. I looked at the traffic again and figured it's the URL of the post/get's changing them, used the correct Host. Thank You, you rock.