pyspider 访问网址出现HTTP 599 resolving timed out,改成ip数字地址就可以

新手上路,请多包涵

[E 170111 22:17:24 base_handler:195] HTTP 599: Resolving timed out after 20000 milliseconds

Traceback (most recent call last):
  File "c:\python27\lib\site-packages\pyspider\libs\base_handler.py", line 188, in run_task
    result = self._run_task(task, response)
  File "c:\python27\lib\site-packages\pyspider\libs\base_handler.py", line 167, in _run_task
    response.raise_for_status()
  File "c:\python27\lib\site-packages\pyspider\libs\response.py", line 190, in raise_for_status
    raise http_error
HTTPError: HTTP 599: Resolving timed out after 20000 milliseconds


浏览器访问网址正常,代码里边的网址改成ip数字也正常,看样子是dns解析失败的问题 不知道如何解决
阅读 4.5k
宣传栏