Menu

Retry mode in using Web proxy

Help
Anonymous
2014-01-08
2014-01-16
  • Anonymous

    Anonymous - 2014-01-08

    Hi !

    I am using PHPCrawler 0.81 and i am using HideMyAss Free Web proxy to crawl a website but sometime the crawl had stopped working and i checked the error log i saw this "Crawl error43 :Unable to connect to proxy '194.255.66.56' on port '8080'"

    Anybody can suggest a retry mode to make crawl work ?

     
  • Anonymous

    Anonymous - 2014-01-09

    Hi !

    I often set $crawler->setConnectionTimeout(500); but it still get that error

     
  • Anonymous

    Anonymous - 2014-01-09

    hmm, then that's a really strange behaviour of the proxy-server.
    Al least it should answer with an error, but it just refuses the connection.

    To make it short: No, there is no implementation of request-retries after a failed/refused request in phpcrawl.

    But i'll open a feature request for this.

    And right now i don't know a simple quick workaround for this, sorry!

    Someone else maybe?

     
  • Anonymous

    Anonymous - 2014-01-16

    thank you very much i will try to debug to see more.

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.