pyspider
pyspider copied to clipboard
Error: Timeout before first response.
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.
i was same problem