Skip to content

Instantly share code, notes, and snippets.

@tleyden
Created February 9, 2015 23:11
Show Gist options
  • Save tleyden/7dbbcfff4d0429333996 to your computer and use it in GitHub Desktop.
Save tleyden/7dbbcfff4d0429333996 to your computer and use it in GitHub Desktop.
Feb 09 23:05:45 ip-10-171-111-243.ec2.internal bash[1456]: 23:05:45.758898 ==== Couchbase Sync Gateway/master(deccbbb) ====
Feb 09 23:05:45 ip-10-171-111-243.ec2.internal bash[1456]: 23:05:45.759513 Opening db /todos as bucket "todos", pool "default", server <http://127.0.0.1:8091>
Feb 09 23:05:45 ip-10-171-111-243.ec2.internal bash[1456]: 23:05:45.760422 Opening Couchbase database todos on <http://127.0.0.1:8091>
Feb 09 23:05:46 ip-10-171-111-243.ec2.internal bash[1456]: 23:05:46.547653 Reset guest user to config
Feb 09 23:05:46 ip-10-171-111-243.ec2.internal bash[1456]: 23:05:46.547765 Starting admin server on 127.0.0.1:4985
Feb 09 23:05:46 ip-10-171-111-243.ec2.internal bash[1456]: 23:05:46.552597 Starting server on :4984 ...
Feb 09 23:05:48 ip-10-171-111-243.ec2.internal bash[1456]: 23:05:48.592014 HTTP: #001: GET /
Feb 09 23:05:48 ip-10-171-111-243.ec2.internal bash[1456]: 23:05:48.940150 HTTP: #002: GET /favicon.ico/
Feb 09 23:05:48 ip-10-171-111-243.ec2.internal bash[1456]: 23:05:48.940198 HTTP: #002: --> 400 invalid database name "favicon.ico" (0.1 ms)
Feb 09 23:07:53 ip-10-171-111-243.ec2.internal bash[1456]: 23:07:53.520529 HTTP: #003: GET /todos/_session
Feb 09 23:07:53 ip-10-171-111-243.ec2.internal bash[1456]: 23:07:53.531111 HTTP: #004: GET /todos/_session
Feb 09 23:07:53 ip-10-171-111-243.ec2.internal bash[1456]: 23:07:53.619021 HTTP: #005: POST /todos/_facebook
Feb 09 23:07:53 ip-10-171-111-243.ec2.internal bash[1456]: 23:07:53.632454 HTTP: #006: POST /todos/_facebook
Feb 09 23:07:55 ip-10-171-111-243.ec2.internal bash[1456]: 2015/02/09 23:07:55 go-couchbase: call to ViewCustom("sync_gateway", "access") in github.com/couchbaselabs/sync_gateway/db.(*DatabaseContext).ComputeChannelsForPrincipal took 1.5984736s
Feb 09 23:07:55 ip-10-171-111-243.ec2.internal bash[1456]: 23:07:55.322651 Access: Computed channels for "100001067719639": !:1
Feb 09 23:07:55 ip-10-171-111-243.ec2.internal bash[1456]: 2015/02/09 23:07:55 go-couchbase: call to ViewCustom("sync_gateway", "access") in github.com/couchbaselabs/sync_gateway/db.(*DatabaseContext).ComputeChannelsForPrincipal took 1.626520792s
Feb 09 23:07:55 ip-10-171-111-243.ec2.internal bash[1456]: 23:07:55.373060 Access: Computed channels for "100001067719639": !:1
Feb 09 23:07:55 ip-10-171-111-243.ec2.internal bash[1456]: 2015/02/09 23:07:55 go-couchbase: call to ViewCustom("sync_gateway", "role_access") in github.com/couchbaselabs/sync_gateway/db.(*DatabaseContext).ComputeRolesForUser took 283.530615ms
Feb 09 23:07:55 ip-10-171-111-243.ec2.internal bash[1456]: 23:07:55.606249 Access: Computed roles for "100001067719639":
Feb 09 23:07:55 ip-10-171-111-243.ec2.internal bash[1456]: 2015/02/09 23:07:55 go-couchbase: call to ViewCustom("sync_gateway", "role_access") in github.com/couchbaselabs/sync_gateway/db.(*DatabaseContext).ComputeRolesForUser took 301.858202ms
Feb 09 23:07:55 ip-10-171-111-243.ec2.internal bash[1456]: 23:07:55.675011 Access: Computed roles for "100001067719639":
Feb 09 23:07:56 ip-10-171-111-243.ec2.internal bash[1456]: 23:07:56.178900 HTTP: #007: GET /todos/_local/b504894962b83a35b0fd3f60d99e938b172c2aac (as 100001067719639)
Feb 09 23:07:56 ip-10-171-111-243.ec2.internal bash[1456]: 23:07:56.179850 HTTP: #007: --> 404 missing (3.1 ms)
Feb 09 23:07:56 ip-10-171-111-243.ec2.internal bash[1456]: 23:07:56.184762 HTTP: #008: GET /todos/_local/ef8f55f13294ab97a77abf500cb2adf00bef18b1 (as 100001067719639)
Feb 09 23:07:56 ip-10-171-111-243.ec2.internal bash[1456]: 23:07:56.184935 HTTP: #008: --> 404 missing (2.2 ms)
Feb 09 23:07:56 ip-10-171-111-243.ec2.internal bash[1456]: 23:07:56.279764 HTTP: #009: POST /todos/_revs_diff (as 100001067719639)
Feb 09 23:07:56 ip-10-171-111-243.ec2.internal bash[1456]: 23:07:56.379571 HTTP: #010: POST /todos/_bulk_docs (as 100001067719639)
Feb 09 23:07:56 ip-10-171-111-243.ec2.internal bash[1456]: 23:07:56.434756 HTTP: #011: POST /todos/_changes (as 100001067719639)
Feb 09 23:07:56 ip-10-171-111-243.ec2.internal bash[1456]: 23:07:56.528654 Sync fn rejected: new=map[type:profile _rev:1-f4ad61882b19e50fd94099de7ecc9c80 _revisions:map[ids:[f4ad61882b19e50fd94099de7ecc9c80] start:1] _id:p:traun.leyden@gmail.com user_id:traun.leyden@gmail.com name:Traun Leyden] old= --> 403 wrong user
Feb 09 23:07:56 ip-10-171-111-243.ec2.internal bash[1456]: 23:07:56.528763 BulkDocs: Doc "p:traun.leyden@gmail.com" --> 403 wrong user (403 wrong user)
Feb 09 23:07:56 ip-10-171-111-243.ec2.internal bash[1456]: 23:07:56.667470 HTTP: #012: POST /todos/_changes (as 100001067719639)
Feb 09 23:08:01 ip-10-171-111-243.ec2.internal bash[1456]: 23:08:01.632455 HTTP: #013: PUT /todos/_local/b504894962b83a35b0fd3f60d99e938b172c2aac (as 100001067719639)
Feb 09 23:10:14 ip-10-171-111-243.ec2.internal bash[1456]: 23:10:14.064725 HTTP: #014: POST /todos/_revs_diff (as 100001067719639)
Feb 09 23:10:14 ip-10-171-111-243.ec2.internal bash[1456]: 23:10:14.160928 HTTP: #015: POST /todos/_bulk_docs (as 100001067719639)
Feb 09 23:10:14 ip-10-171-111-243.ec2.internal bash[1456]: 23:10:14.162387 CRUD: Doc "827C2FED-5710-4ED4-BBC8-2AAE6BD0182E" in channels "{list-827C2FED-5710-4ED4-BBC8-2AAE6BD0182E}"
Feb 09 23:10:14 ip-10-171-111-243.ec2.internal bash[1456]: 23:10:14.162444 Access: Doc "827C2FED-5710-4ED4-BBC8-2AAE6BD0182E" grants channel access: map[traun.leyden@gmail.com:list-827C2FED-5710-4ED4-BBC8-2AAE6BD0182E:2]
Feb 09 23:10:14 ip-10-171-111-243.ec2.internal bash[1456]: 23:10:14.167099 CRUD: Stored doc "827C2FED-5710-4ED4-BBC8-2AAE6BD0182E" / "1-12cbe452e3e8ad96fb0c2648b0ced1df"
Feb 09 23:10:14 ip-10-171-111-243.ec2.internal bash[1456]: 23:10:14.167149 Access: Rev "827C2FED-5710-4ED4-BBC8-2AAE6BD0182E"/"1-12cbe452e3e8ad96fb0c2648b0ced1df" invalidates channels of [traun.leyden@gmail.com]
Feb 09 23:10:19 ip-10-171-111-243.ec2.internal bash[1456]: 23:10:19.265270 HTTP: #016: PUT /todos/_local/b504894962b83a35b0fd3f60d99e938b172c2aac (as 100001067719639)
Feb 09 23:11:09 ip-10-171-111-243.ec2.internal bash[1456]: 23:11:09.445846 HTTP: #017: GET /todos/_session
Feb 09 23:11:09 ip-10-171-111-243.ec2.internal bash[1456]: 23:11:09.451373 HTTP: #018: GET /todos/_session
Feb 09 23:11:09 ip-10-171-111-243.ec2.internal bash[1456]: 23:11:09.542013 HTTP: #019: POST /todos/_facebook
Feb 09 23:11:09 ip-10-171-111-243.ec2.internal bash[1456]: 23:11:09.547488 HTTP: #020: POST /todos/_facebook
Feb 09 23:11:09 ip-10-171-111-243.ec2.internal bash[1456]: 23:11:09.781020 HTTP: #021: GET /todos/_local/0816d60b0aefa321c28edab896be8c02cd355642 (as 100001067719639)
Feb 09 23:11:09 ip-10-171-111-243.ec2.internal bash[1456]: 23:11:09.781876 HTTP: #021: --> 404 missing (2.3 ms)
Feb 09 23:11:09 ip-10-171-111-243.ec2.internal bash[1456]: 23:11:09.785734 HTTP: #022: GET /todos/_local/e4c440ce659b7520dc1cb0555d030e947f92380e (as 100001067719639)
Feb 09 23:11:09 ip-10-171-111-243.ec2.internal bash[1456]: 23:11:09.786361 HTTP: #022: --> 404 missing (6.7 ms)
Feb 09 23:11:09 ip-10-171-111-243.ec2.internal bash[1456]: 23:11:09.877200 HTTP: #023: POST /todos/_revs_diff (as 100001067719639)
Feb 09 23:11:09 ip-10-171-111-243.ec2.internal bash[1456]: 23:11:09.975941 HTTP: #024: POST /todos/_bulk_docs (as 100001067719639)
Feb 09 23:11:09 ip-10-171-111-243.ec2.internal bash[1456]: 23:11:09.977631 Sync fn rejected: new=map[_revisions:map[ids:[f4ad61882b19e50fd94099de7ecc9c80] start:1] _id:p:traun.leyden@gmail.com user_id:traun.leyden@gmail.com name:Traun Leyden type:profile _rev:1-f4ad61882b19e50fd94099de7ecc9c80] old= --> 403 wrong user
Feb 09 23:11:09 ip-10-171-111-243.ec2.internal bash[1456]: 23:11:09.977806 BulkDocs: Doc "p:traun.leyden@gmail.com" --> 403 wrong user (403 wrong user)
Feb 09 23:11:09 ip-10-171-111-243.ec2.internal bash[1456]: 23:11:09.980710 HTTP: #025: POST /todos/_changes (as 100001067719639)
Feb 09 23:11:10 ip-10-171-111-243.ec2.internal bash[1456]: 23:11:10.181682 HTTP: #026: POST /todos/_changes (as 100001067719639)
Feb 09 23:11:15 ip-10-171-111-243.ec2.internal bash[1456]: 23:11:15.075351 HTTP: #027: PUT /todos/_local/0816d60b0aefa321c28edab896be8c02cd355642 (as 100001067719639)
Feb 09 23:11:16 ip-10-171-111-243.ec2.internal bash[1456]: 23:11:16.393302 WARNING: changeCache: Giving up, accepting #2 even though #1 is missing -- db.(*changeCache)._addPendingLogs() at change_cache.go:320
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment