{"action":"created","issue":{"url":"https://api.github.com/repos/lilydjwg/nvchecker/issues/12","labels_url":"https://api.github.com/repos/lilydjwg/nvchecker/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/lilydjwg/nvchecker/issues/12/comments","events_url":"https://api.github.com/repos/lilydjwg/nvchecker/issues/12/events","html_url":"https://github.com/lilydjwg/nvchecker/issues/12","id":106263278,"number":12,"title":"AsyncHTTPClient get 599 error when runnning in cron","user":{"login":"amazingfate","id":5022901,"avatar_url":"https://avatars.githubusercontent.com/u/5022901?v=3","gravatar_id":"","url":"https://api.github.com/users/amazingfate","html_url":"https://github.com/amazingfate","followers_url":"https://api.github.com/users/amazingfate/followers","following_url":"https://api.github.com/users/amazingfate/following{/other_user}","gists_url":"https://api.github.com/users/amazingfate/gists{/gist_id}","starred_url":"https://api.github.com/users/amazingfate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amazingfate/subscriptions","organizations_url":"https://api.github.com/users/amazingfate/orgs","repos_url":"https://api.github.com/users/amazingfate/repos","events_url":"https://api.github.com/users/amazingfate/events{/privacy}","received_events_url":"https://api.github.com/users/amazingfate/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-14T03:12:01Z","updated_at":"2015-09-15T01:26:40Z","closed_at":"2015-09-15T01:26:39Z","body":"here is the cron command:\r\n```source $HOME/.bash_profile && /usr/local/bin/nvchecker $HOME/nvchecker/nvchecker.ini > $HOME/nvchecker/update.log 2>&1```\r\nonly in cron it runs with the following error:\r\n```\r\n[E 09-14 10:30:21.776 ioloop:612] Exception in callback functools.partial(<function wrap.<locals>.wrapped at 0x7f173141dae8>, HTTPResponse(_body=None,buffer=None,code=599,effective_url='https://www.archlinux.org/packages/search/json/?name=warsow',error=CurlError('HTTP 599: Operation timed out after 0 milliseconds with 0 out of 0 bytes received',),headers={},reason='Unknown',request=<tornado.httpclient.HTTPRequest object at 0x7f173141e390>,request_time=20.00719165802002,time_info={}))\r\n    Traceback (most recent call last):\r\n      File \"/usr/local/lib/python3.4/dist-packages/tornado/ioloop.py\", line 592, in _run_callback\r\n        ret = callback()\r\n      File \"/usr/local/lib/python3.4/dist-packages/tornado/stack_context.py\", line 343, in wrapped\r\n        raise_exc_info(exc)\r\n      File \"<string>\", line 3, in raise_exc_info\r\n      File \"/usr/local/lib/python3.4/dist-packages/tornado/stack_context.py\", line 355, in _handle_exception\r\n        if tail.exit(*exc):\r\n      File \"/usr/local/lib/python3.4/dist-packages/tornado/stack_context.py\", line 186, in exit\r\n        return self.exception_handler(type, value, traceback)\r\n      File \"/usr/local/lib/python3.4/dist-packages/nvchecker-0.4dev-py3.4.egg/nvchecker/core.py\", line 98, in _handle_exception\r\n        raise value.with_traceback(traceback)\r\n      File \"/usr/local/lib/python3.4/dist-packages/tornado/stack_context.py\", line 314, in wrapped\r\n        ret = fn(*args, **kwargs)\r\n      File \"/usr/local/lib/python3.4/dist-packages/nvchecker-0.4dev-py3.4.egg/nvchecker/source/archpkg.py\", line 17, in _pkg_done\r\n        raise res.error\r\n    tornado.curl_httpclient.CurlError: HTTP 599: Operation timed out after 0 milliseconds with 0 out of 0 bytes received\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/lilydjwg/nvchecker/issues/comments/140247549","html_url":"https://github.com/lilydjwg/nvchecker/issues/12#issuecomment-140247549","issue_url":"https://api.github.com/repos/lilydjwg/nvchecker/issues/12","id":140247549,"user":{"login":"amazingfate","id":5022901,"avatar_url":"https://avatars.githubusercontent.com/u/5022901?v=3","gravatar_id":"","url":"https://api.github.com/users/amazingfate","html_url":"https://github.com/amazingfate","followers_url":"https://api.github.com/users/amazingfate/followers","following_url":"https://api.github.com/users/amazingfate/following{/other_user}","gists_url":"https://api.github.com/users/amazingfate/gists{/gist_id}","starred_url":"https://api.github.com/users/amazingfate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amazingfate/subscriptions","organizations_url":"https://api.github.com/users/amazingfate/orgs","repos_url":"https://api.github.com/users/amazingfate/repos","events_url":"https://api.github.com/users/amazingfate/events{/privacy}","received_events_url":"https://api.github.com/users/amazingfate/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T01:26:39Z","updated_at":"2015-09-15T01:26:39Z","body":"It should be the problem of my poor network, this morning I used nvchecker outside the cron but still get 599 error."}}