pyspider icon indicating copy to clipboard operation
pyspider copied to clipboard

Error: Timeout before first response.

Open yuliujuan opened this issue 5 years ago • 1 comments

Dears, Could you please advise how to advoid error 'Timeout before first response.'? I've already set 'connect_timeout' : 60 in crawl_config, but this error occur less than 60 second. Thanks in advance.


[E 190329 10:50:51 base_handler:203] Timeout before first response.
    Traceback (most recent call last):
      File "/opt/pyspider/pyspider/libs/base_handler.py", line 196, in run_task
        result = self._run_task(task, response)
      File "/opt/pyspider/pyspider/libs/base_handler.py", line 175, in _run_task
        response.raise_for_status()
      File "/opt/pyspider/pyspider/libs/response.py", line 184, in raise_for_status
        raise http_error
    requests.exceptions.HTTPError: Timeout before first response.

yuliujuan avatar Mar 29 '19 11:03 yuliujuan

i was same problem

thimper avatar May 17 '19 05:05 thimper