google / upvote_py2

A multi-platform binary whitelisting solution
Apache License 2.0
451 stars 35 forks source link

clean full sync error #39

Open thehesiod opened 5 years ago

thehesiod commented 5 years ago

we just got this when attempting to do a clean full sync for the first time since one of our machines was not downloading all the rules:

BadRequestError: cursor position is outside the range of the original query
at check_rpc_success (/base/alloc/tmpfs/dynamic_runtimes/python27g/f612b68945952bd1/python27/python27_lib/versions/1/google/appengine/datastore/datastore_rpc.py:1379)
at __query_result_hook (/base/alloc/tmpfs/dynamic_runtimes/python27g/f612b68945952bd1/python27/python27_lib/versions/1/google/appengine/datastore/datastore_query.py:2910)
at get_result (/base/alloc/tmpfs/dynamic_runtimes/python27g/f612b68945952bd1/python27/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py:615)
at _on_rpc_completion (/base/alloc/tmpfs/dynamic_runtimes/python27g/f612b68945952bd1/python27/python27_lib/versions/1/google/appengine/ext/ndb/tasklets.py:513)
at run_to_queue (/base/alloc/tmpfs/dynamic_runtimes/python27g/f612b68945952bd1/python27/python27_lib/versions/1/google/appengine/ext/ndb/query.py:969)
at run_to_queue (/base/alloc/tmpfs/dynamic_runtimes/python27g/f612b68945952bd1/python27/python27_lib/versions/1/google/appengine/ext/ndb/query.py:1999)
at _help_tasklet_along (/base/alloc/tmpfs/dynamic_runtimes/python27g/f612b68945952bd1/python27/python27_lib/versions/1/google/appengine/ext/ndb/tasklets.py:427)
at run_to_queue (/base/alloc/tmpfs/dynamic_runtimes/python27g/f612b68945952bd1/python27/python27_lib/versions/1/google/appengine/ext/ndb/query.py:962)
at helper (/base/alloc/tmpfs/dynamic_runtimes/python27g/f612b68945952bd1/python27/python27_lib/versions/1/google/appengine/ext/ndb/context.py:890)
at has_next_async (/base/alloc/tmpfs/dynamic_runtimes/python27g/f612b68945952bd1/python27/python27_lib/versions/1/google/appengine/ext/ndb/query.py:1793)
at _help_tasklet_along (/base/alloc/tmpfs/dynamic_runtimes/python27g/f612b68945952bd1/python27/python27_lib/versions/1/google/appengine/ext/ndb/tasklets.py:427)
at _fetch_page_async (/base/alloc/tmpfs/dynamic_runtimes/python27g/f612b68945952bd1/python27/python27_lib/versions/1/google/appengine/ext/ndb/query.py:1380)
at _help_tasklet_along (/base/alloc/tmpfs/dynamic_runtimes/python27g/f612b68945952bd1/python27/python27_lib/versions/1/google/appengine/ext/ndb/tasklets.py:427)
at get_result (/base/alloc/tmpfs/dynamic_runtimes/python27g/f612b68945952bd1/python27/python27_lib/versions/1/google/appengine/ext/ndb/tasklets.py:383)
at fetch_page (/base/alloc/tmpfs/dynamic_runtimes/python27g/f612b68945952bd1/python27/python27_lib/versions/1/google/appengine/ext/ndb/query.py:1362)
at positional_wrapper (/base/alloc/tmpfs/dynamic_runtimes/python27g/f612b68945952bd1/python27/python27_lib/versions/1/google/appengine/ext/ndb/utils.py:160)
at post (/base/data/home/apps/m~[PROJ]/santa-api:20190204t133533.415891392575063416/upvote/gae/modules/santa_api/sync.py:923)
at _RecordRequest (/base/data/home/apps/m~[PROJ]/santa-api:20190204t133533.415891392575063416/upvote/gae/utils/handler_utils.py:105)
at dispatch (/base/alloc/tmpfs/dynamic_runtimes/python27g/f612b68945952bd1/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py:545)
thehesiod commented 5 years ago

seems like this doesn't always happen, so another transient issue perhaps