{"action":"opened","issue":{"url":"https://api.github.com/repos/tulul/image_repost_bot/issues/2","repository_url":"https://api.github.com/repos/tulul/image_repost_bot","labels_url":"https://api.github.com/repos/tulul/image_repost_bot/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/tulul/image_repost_bot/issues/2/comments","events_url":"https://api.github.com/repos/tulul/image_repost_bot/issues/2/events","html_url":"https://github.com/tulul/image_repost_bot/issues/2","id":163964167,"number":2,"title":"ES Die Unexpectedly","user":{"login":"wazaundtechnik","id":14859957,"avatar_url":"https://avatars.githubusercontent.com/u/14859957?v=3","gravatar_id":"","url":"https://api.github.com/users/wazaundtechnik","html_url":"https://github.com/wazaundtechnik","followers_url":"https://api.github.com/users/wazaundtechnik/followers","following_url":"https://api.github.com/users/wazaundtechnik/following{/other_user}","gists_url":"https://api.github.com/users/wazaundtechnik/gists{/gist_id}","starred_url":"https://api.github.com/users/wazaundtechnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wazaundtechnik/subscriptions","organizations_url":"https://api.github.com/users/wazaundtechnik/orgs","repos_url":"https://api.github.com/users/wazaundtechnik/repos","events_url":"https://api.github.com/users/wazaundtechnik/events{/privacy}","received_events_url":"https://api.github.com/users/wazaundtechnik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-05T22:54:13Z","updated_at":"2016-07-05T22:54:13Z","closed_at":null,"body":"don't know why. This is the last log:\r\n\r\n```\r\n14:41:23 norm.1 | This is a photo. Retrieving each photo...\r\n14:41:25 norm.1 | Printing one max with OK:\r\n14:41:25 norm.1 | {\"ok\"=>true,\r\n14:41:25 norm.1 |  \"result\"=>\r\n14:41:25 norm.1 |   {\"file_id\"=>\"AgADBQADRLAxG0SgpgROiS0bPDIn_tSWvzIABOSC_0Uy7YnSlsUBAAEC\",\r\n14:41:25 norm.1 |    \"file_size\"=>21397,\r\n14:41:25 norm.1 |    \"file_path\"=>\"photo/file_2576.jpg\"}}\r\n14:41:37 norm.1 | Traceback (most recent call last):\r\n14:41:37 norm.1 |   File \"repost-check.py\", line 15, in <module>\r\n14:41:37 norm.1 |     print json.dumps(ses.search_image(target_url))\r\n14:41:37 norm.1 |   File \"/home/frontend/.local/lib/python2.7/site-packages/image_match/signature_database_base.py\", line 264, in search_image\r\n14:41:39 norm.1 |     l = self.search_single_record(transformed_record)\r\n14:41:39 norm.1 |   File \"/home/frontend/.local/lib/python2.7/site-packages/image_match/elasticsearch_driver.py\", line 68, in search_single_record\r\n14:41:40 norm.1 |     timeout=self.timeout)['hits']['hits']\r\n14:41:40 norm.1 |   File \"/home/frontend/.local/lib/python2.7/site-packages/elasticsearch/client/utils.py\", line 69, in _wrapped\r\n14:41:41 norm.1 |     return func(*args, params=params, **kwargs)\r\n14:41:41 norm.1 |   File \"/home/frontend/.local/lib/python2.7/site-packages/elasticsearch/client/__init__.py\", line 548, in search\r\n14:41:41 norm.1 |     doc_type, '_search'), params=params, body=body)\r\n14:41:41 norm.1 |   File \"/home/frontend/.local/lib/python2.7/site-packages/elasticsearch/transport.py\", line 329, in perform_request\r\n14:41:41 norm.1 |     status, headers, data = connection.perform_request(method, url, params, body, ignore=ignore, timeout=timeout)\r\n14:41:41 norm.1 |   File \"/home/frontend/.local/lib/python2.7/site-packages/elasticsearch/connection/http_urllib3.py\", line 102, in perform_request\r\n14:41:41 norm.1 |     raise ConnectionTimeout('TIMEOUT', str(e), e)\r\n14:41:41 norm.1 | elasticsearch.exceptions.ConnectionTimeout: ConnectionTimeout caused by - ReadTimeoutError(HTTPConnectionPool(host='localhost', port=9200): Read timed out. (read timeout=10))\r\n14:41:41 norm.1 | RES:\r\n14:41:41 norm.1 |\r\n14:41:41 norm.1 | Message id: 56404\r\n14:41:41 norm.1 | Source Object Id: 78028868\r\n14:41:42 norm.1 | 2016-07-05 14:41:42 +0000: PUT http://localhost:9200/telegram_repost_checker_-12126542_map [status:400, request:1.206s, query:N/A]\r\n14:41:42 norm.1 | 2016-07-05 14:41:42 +0000: > {\"mappings\":{\"map_doc\":{\"properties\":{\"object_target\":{\"type\":\"string\",\"index\":\"not_analyzed\"}}}}}\r\n14:41:42 norm.1 | 2016-07-05 14:41:42 +0000: < {\"error\":{\"root_cause\":[{\"type\":\"index_already_exists_exception\",\"reason\":\"already exists\",\"index\":\"telegram_repost_checker_-12126542_map\"}],\"type\":\"index_already_exists_exception\",\"reason\":\"already exists\",\"index\":\"telegram_repost_checker_-12126542_map\"},\"status\":400}\r\n14:41:42 norm.1 | 2016-07-05 14:41:42 +0000: [400] {\"error\":{\"root_cause\":[{\"type\":\"index_already_exists_exception\",\"reason\":\"already exists\",\"index\":\"telegram_repost_checker_-12126542_map\"}],\"type\":\"index_already_exists_exception\",\"reason\":\"already exists\",\"index\":\"telegram_repost_checker_-12126542_map\"},\"status\":400}\r\n14:41:42 norm.1 | index exist. Ignoring.\r\n14:41:42 norm.1 | FATAL: Unknown serialized response.\r\n14:41:42 norm.1 | /home/frontend/repo/repost/lib/image_repost_bot.rb:132:in `throw': uncaught throw ImageRepostBot::UnknownException (UncaughtThrowError)\r\n14:41:42 norm.1 |       from /home/frontend/repo/repost/lib/image_repost_bot.rb:132:in `block (2 levels) in run_standalone'\r\n14:41:42 norm.1 |       from /home/frontend/.rvm/gems/ruby-2.3.1/gems/telegram-bot-ruby-0.5.2/lib/telegram/bot/client.rb:40:in `block in fetch_updates'\r\n14:41:42 norm.1 |       from /home/frontend/.rvm/gems/ruby-2.3.1/gems/telegram-bot-ruby-0.5.2/lib/telegram/bot/client.rb:35:in `each'\r\n14:41:42 norm.1 |       from /home/frontend/.rvm/gems/ruby-2.3.1/gems/telegram-bot-ruby-0.5.2/lib/telegram/bot/client.rb:35:in `fetch_updates'\r\n14:41:42 norm.1 |       from /home/frontend/.rvm/gems/ruby-2.3.1/gems/telegram-bot-ruby-0.5.2/lib/telegram/bot/client.rb:27:in `listen'\r\n14:41:42 norm.1 |       from /home/frontend/repo/repost/lib/image_repost_bot.rb:87:in `block in run_standalone'\r\n14:41:42 norm.1 |       from /home/frontend/.rvm/gems/ruby-2.3.1/gems/telegram-bot-ruby-0.5.2/lib/telegram/bot/client.rb:20:in `run'\r\n14:41:42 norm.1 |       from /home/frontend/.rvm/gems/ruby-2.3.1/gems/telegram-bot-ruby-0.5.2/lib/telegram/bot/client.rb:8:in `run'\r\n14:41:43 norm.1 |       from /home/frontend/repo/repost/lib/image_repost_bot.rb:85:in `run_standalone'\r\n14:41:43 norm.1 |       from bin/image_repost_standalone:16:in `<main>'\r\n14:41:43 norm.1 | exited with code 1\r\n14:41:43 system | sending SIGTERM to all processes\r\n14:41:43 cute.1 | terminated by SIGTERM\r\n```"}}
{"actor":{"display_login":"wazaundtechnik"}}