Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Internal error (FOREIGN KEY when testing locally) when sending m.notice with html payload #9096

Closed
blakehawkins opened this issue Jan 13, 2021 · 13 comments
Labels
X-Needs-Info This issue is blocked awaiting information from the reporter

Comments

@blakehawkins
Copy link
Contributor

Description

When sending m.notice with html payload, encountering M_UNKNOWN Internal Server Error ~99% of the time.

Steps to reproduce

Send an m.notice with the following html payload: <a href=\"https://google.com\">My google link</a>. I am using https://github.com/blakehawkins/send_glitch like echo '{ "html": "<a href=\"https://google.com\">My google link</a>" }' | cargo run. This worked flawlessly in February 2020. I will provide a tcpdump of the entire auth + event flow below.

When running against matrix.org, this normally produces 500 Internal Error. When testing against local synapse instance, produces this stacktrace

Copy-pasted for posterity:

Jan 11 23:58:58 raspberrypi synapse[9690]: synapse.http.server: [PUT-52] Failed handle request via 'RoomSendEventRestServlet': <SynapseRequest at 0x73cb5330 method='PUT' uri='/_matrix/client/r0/rooms/!xQKhvxtEYkFEwTEjzZ:localhost/send/m.room.message/4b30b9ca-4138-4012-aa5d-12acc698549b?access_token=<redacted>' clientproto='HTTP/1.1' site=8008>
                                           Traceback (most recent call last):
                                             File "/usr/lib/python3/dist-packages/synapse/storage/persist_events.py", line 150, in handle_queue_loop
                                               ret = await per_item_callback(item)
                                             File "/usr/lib/python3/dist-packages/synapse/storage/persist_events.py", line 303, in persisting_queue
                                               item.events_and_contexts, backfilled=item.backfilled
                                             File "/usr/lib/python3/dist-packages/synapse/storage/persist_events.py", line 507, in _persist_events
                                               backfilled=backfilled,
                                             File "/usr/lib/python3/dist-packages/synapse/storage/databases/main/events.py", line 167, in _persist_events_and_state_updates
                                               new_forward_extremeties=new_forward_extremeties,
                                             File "/usr/lib/python3/dist-packages/synapse/storage/database.py", line 640, in runInteraction
                                               **kwargs,
                                             File "/usr/lib/python3/dist-packages/synapse/storage/database.py", line 713, in runWithConnection
                                               self._db_pool.runWithConnection(inner_func, *args, **kwargs)
                                             File "/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 250, in inContext
                                               result = inContext.theWork()
                                             File "/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 266, in <lambda>
                                               inContext.theWork = lambda: context.call(ctx, func, *args, **kw)
                                             File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 122, in callWithContext
                                               return self.currentContext().callWithContext(ctx, func, *args, **kw)
                                             File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 85, in callWithContext
                                               return func(*args,**kw)
                                             File "/usr/lib/python3/dist-packages/twisted/enterprise/adbapi.py", line 306, in _runWithConnection
                                               compat.reraise(excValue, excTraceback)
                                             File "/usr/lib/python3/dist-packages/twisted/python/compat.py", line 464, in reraise
                                               raise exception.with_traceback(traceback)
                                             File "/usr/lib/python3/dist-packages/twisted/enterprise/adbapi.py", line 297, in _runWithConnection
                                               result = func(conn, *args, **kw)
                                             File "/usr/lib/python3/dist-packages/synapse/storage/database.py", line 707, in inner_func
                                               return func(db_conn, *args, **kwargs)
                                             File "/usr/lib/python3/dist-packages/synapse/storage/database.py", line 510, in new_transaction
                                               r = func(cursor, *args, **kwargs)
                                             File "/usr/lib/python3/dist-packages/synapse/logging/utils.py", line 71, in wrapped
                                               return f(*args, **kwargs)
                                             File "/usr/lib/python3/dist-packages/synapse/storage/databases/main/events.py", line 364, in _persist_events_txn
                                               self._persist_transaction_ids_txn(txn, events_and_contexts)
                                             File "/usr/lib/python3/dist-packages/synapse/storage/databases/main/events.py", line 436, in _persist_transaction_ids_txn
                                               txn, table="event_txn_id", values=to_insert,
                                             File "/usr/lib/python3/dist-packages/synapse/storage/database.py", line 864, in simple_insert_many_txn
                                               txn.executemany(sql, vals)
                                             File "/usr/lib/python3/dist-packages/synapse/storage/database.py", line 274, in executemany
                                               self._do_execute(self.txn.executemany, sql, *args)
                                             File "/usr/lib/python3/dist-packages/synapse/storage/database.py", line 297, in _do_execute
                                               return func(sql, *args)
                                           sqlite3.IntegrityError: FOREIGN KEY constraint failed

Expected: synapse should never 500 internal error.

Version information

  • Version: matrix.org and also {"server_version":"1.24.0","python_version":"3.7.3"}

  • Install method:

backports

  • Platform:

ARM + sqlite


$ sudo tcpdump -nnvvXSs 1514 'tcp port 8008' -v > tcpdump
tcpdump: listening on wlan0, link-type EN10MB (Ethernet), capture size 1514 bytes
^C26 packets captured
26 packets received by filter
0 packets dropped by kernel

00:24:28.291221 IP (tos 0x0, ttl 63, id 42762, offset 0, flags [DF], proto TCP (6), length 60)
    192.168.0.20.50266 > 192.168.0.10.8008: Flags [S], cksum 0xe2b4 (correct), seq 2437838438, win 64240, options [mss 1460,sackOK,TS val 3208986190 ecr 0,nop,wscale 7], length 0
	0x0000:  4500 003c a70a 4000 3f06 1343 c0a8 0014  E..<..@.?..C....
	0x0010:  c0a8 000a c45a 1f48 914e 7666 0000 0000  .....Z.H.Nvf....
	0x0020:  a002 faf0 e2b4 0000 0204 05b4 0402 080a  ................
	0x0030:  bf45 3e4e 0000 0000 0103 0307            .E>N........
00:24:28.291479 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 60)
    192.168.0.10.8008 > 192.168.0.20.50266: Flags [S.], cksum 0x4576 (correct), seq 105134403, ack 2437838439, win 65160, options [mss 1460,sackOK,TS val 3273561839 ecr 3208986190,nop,wscale 7], length 0
	0x0000:  4500 003c 0000 4000 4006 b94d c0a8 000a  E..<..@.@..M....
	0x0010:  c0a8 0014 1f48 c45a 0644 3943 914e 7667  .....H.Z.D9C.Nvg
	0x0020:  a012 fe88 4576 0000 0204 05b4 0402 080a  ....Ev..........
	0x0030:  c31e 96ef bf45 3e4e 0103 0307            .....E>N....
00:24:28.357531 IP (tos 0x0, ttl 63, id 42763, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.0.20.50266 > 192.168.0.10.8008: Flags [.], cksum 0x7086 (correct), seq 2437838439, ack 105134404, win 502, options [nop,nop,TS val 3208986269 ecr 3273561839], length 0
	0x0000:  4500 0034 a70b 4000 3f06 134a c0a8 0014  E..4..@.?..J....
	0x0010:  c0a8 000a c45a 1f48 914e 7667 0644 3944  .....Z.H.Nvg.D9D
	0x0020:  8010 01f6 7086 0000 0101 080a bf45 3e9d  ....p........E>.
	0x0030:  c31e 96ef                                ....
00:24:28.357844 IP (tos 0x0, ttl 63, id 42764, offset 0, flags [DF], proto TCP (6), length 199)
    192.168.0.20.50266 > 192.168.0.10.8008: Flags [P.], cksum 0x479f (correct), seq 2437838439:2437838586, ack 105134404, win 502, options [nop,nop,TS val 3208986273 ecr 3273561839], length 147
	0x0000:  4500 00c7 a70c 4000 3f06 12b6 c0a8 0014  E.....@.?.......
	0x0010:  c0a8 000a c45a 1f48 914e 7667 0644 3944  .....Z.H.Nvg.D9D
	0x0020:  8018 01f6 479f 0000 0101 080a bf45 3ea1  ....G........E>.
	0x0030:  c31e 96ef 504f 5354 202f 5f6d 6174 7269  ....POST./_matri
	0x0040:  782f 636c 6965 6e74 2f72 302f 6c6f 6769  x/client/r0/logi
	0x0050:  6e20 4854 5450 2f31 2e31 0d0a 686f 7374  n.HTTP/1.1..host
	0x0060:  3a20 3139 322e 3136 382e 302e 3130 3a38  :.192.168.0.10:8
	0x0070:  3030 380d 0a63 6f6e 7465 6e74 2d6c 656e  008..content-len
	0x0080:  6774 683a 2036 300d 0a0d 0a7b 2270 6173  gth:.60....{"pas
	0x0090:  7377 6f72 6422 3a22 786c 6562 222c 2274  sword":"xleb","t
	0x00a0:  7970 6522 3a22 6d2e 6c6f 6769 6e2e 7061  ype":"m.login.pa
	0x00b0:  7373 776f 7264 222c 2275 7365 7222 3a22  ssword","user":"
	0x00c0:  646f 6272 6522 7d                        dobre"}
00:24:28.357929 IP (tos 0x0, ttl 64, id 36678, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.0.10.8008 > 192.168.0.20.50266: Flags [.], cksum 0x6fa6 (correct), seq 105134404, ack 2437838586, win 508, options [nop,nop,TS val 3273561906 ecr 3208986273], length 0
	0x0000:  4500 0034 8f46 4000 4006 2a0f c0a8 000a  E..4.F@.@.*.....
	0x0010:  c0a8 0014 1f48 c45a 0644 3944 914e 76fa  .....H.Z.D9D.Nv.
	0x0020:  8010 01fc 6fa6 0000 0101 080a c31e 9732  ....o..........2
	0x0030:  bf45 3ea1                                .E>.
00:24:44.771480 IP (tos 0x0, ttl 64, id 36679, offset 0, flags [DF], proto TCP (6), length 815)
    192.168.0.10.8008 > 192.168.0.20.50266: Flags [P.], cksum 0xa33e (correct), seq 105134404:105135167, ack 2437838586, win 508, options [nop,nop,TS val 3273578319 ecr 3208986273], length 763
	0x0000:  4500 032f 8f47 4000 4006 2713 c0a8 000a  E../.G@.@.'.....
	0x0010:  c0a8 0014 1f48 c45a 0644 3944 914e 76fa  .....H.Z.D9D.Nv.
	0x0020:  8018 01fc a33e 0000 0101 080a c31e d74f  .....>.........O
	0x0030:  bf45 3ea1 4854 5450 2f31 2e31 2032 3030  .E>.HTTP/1.1.200
	0x0040:  204f 4b0d 0a54 7261 6e73 6665 722d 456e  .OK..Transfer-En
	0x0050:  636f 6469 6e67 3a20 6368 756e 6b65 640d  coding:.chunked.
	0x0060:  0a53 6572 7665 723a 2053 796e 6170 7365  .Server:.Synapse
	0x0070:  2f31 2e32 342e 300d 0a44 6174 653a 2057  /1.24.0..Date:.W
	0x0080:  6564 2c20 3133 204a 616e 2032 3032 3120  ed,.13.Jan.2021.
	0x0090:  3030 3a32 343a 3238 2047 4d54 0d0a 436f  00:24:28.GMT..Co
	0x00a0:  6e74 656e 742d 5479 7065 3a20 6170 706c  ntent-Type:.appl
	0x00b0:  6963 6174 696f 6e2f 6a73 6f6e 0d0a 4361  ication/json..Ca
	0x00c0:  6368 652d 436f 6e74 726f 6c3a 206e 6f2d  che-Control:.no-
	0x00d0:  6361 6368 652c 206e 6f2d 7374 6f72 652c  cache,.no-store,
	0x00e0:  206d 7573 742d 7265 7661 6c69 6461 7465  .must-revalidate
	0x00f0:  0d0a 4163 6365 7373 2d43 6f6e 7472 6f6c  ..Access-Control
	0x0100:  2d41 6c6c 6f77 2d4f 7269 6769 6e3a 202a  -Allow-Origin:.*
	0x0110:  0d0a 4163 6365 7373 2d43 6f6e 7472 6f6c  ..Access-Control
	0x0120:  2d41 6c6c 6f77 2d4d 6574 686f 6473 3a20  -Allow-Methods:.
	0x0130:  4745 542c 2048 4541 442c 2050 4f53 542c  GET,.HEAD,.POST,
	0x0140:  2050 5554 2c20 4445 4c45 5445 2c20 4f50  .PUT,.DELETE,.OP
	0x0150:  5449 4f4e 530d 0a41 6363 6573 732d 436f  TIONS..Access-Co
	0x0160:  6e74 726f 6c2d 416c 6c6f 772d 4865 6164  ntrol-Allow-Head
	0x0170:  6572 733a 204f 7269 6769 6e2c 2058 2d52  ers:.Origin,.X-R
	0x0180:  6571 7565 7374 6564 2d57 6974 682c 2043  equested-With,.C
	0x0190:  6f6e 7465 6e74 2d54 7970 652c 2041 6363  ontent-Type,.Acc
	0x01a0:  6570 742c 2041 7574 686f 7269 7a61 7469  ept,.Authorizati
	0x01b0:  6f6e 2c20 4461 7465 0d0a 0d0a 3136 370d  on,.Date....167.
	0x01c0:  0a7b 2275 7365 725f 6964 223a 2240 646f  .{"user_id":"@do
	0x01d0:  6272 653a 6c6f 6361 6c68 6f73 7422 2c22  bre:localhost","
	0x01e0:  6163 6365 7373 5f74 6f6b 656e 223a 224d  access_token":"M
	0x01f0:  4441 784e 3278 7659 3246 3061 5739 7549  DAxN2xvY2F0aW9uI
	0x0200:  4778 7659 3246 7361 4739 7a64 416f 774d  GxvY2FsaG9zdAowM
	0x0210:  4445 7a61 5752 6c62 6e52 705a 6d6c 6c63  DEzaWRlbnRpZmllc
	0x0220:  6942 725a 586b 4b4d 4441 784d 474e 705a  iBrZXkKMDAxMGNpZ
	0x0230:  4342 6e5a 5734 6750 5341 7843 6a41 774d  CBnZW4gPSAxCjAwM
	0x0240:  6a4e 6a61 5751 6764 584e 6c63 6c39 705a  jNjaWQgdXNlcl9pZ
	0x0250:  4341 3949 4542 6b62 324a 795a 5470 7362  CA9IEBkb2JyZTpsb
	0x0260:  324e 6862 4768 7663 3351 4b4d 4441 784e  2NhbGhvc3QKMDAxN
	0x0270:  6d4e 705a 4342 3065 5842 6c49 4430 6759  mNpZCB0eXBlID0gY
	0x0280:  574e 6a5a 584e 7a43 6a41 774d 6a46 6a61  WNjZXNzCjAwMjFja
	0x0290:  5751 6762 6d39 7559 3255 6750 5341 7a58  WQgbm9uY2UgPSAzX
	0x02a0:  3268 724b 6c52 6b64 4646 3364 4556 6c4b  2hrKlRkdFF3dEVlK
	0x02b0:  3142 5a43 6a41 774d 6d5a 7a61 5764 7559  1BZCjAwMmZzaWduY
	0x02c0:  5852 3163 6d55 675f 4e57 6a64 7a5f 7379  XR1cmUg_NWjdz_sy
	0x02d0:  2d34 5f37 4563 3657 6754 7a72 3457 7a34  -4_7Ec6WgTzr4Wz4
	0x02e0:  7063 336c 594b 6647 7a4a 504f 4951 5741  pc3lYKfGzJPOIQWA
	0x02f0:  5767 4b22 2c22 686f 6d65 5f73 6572 7665  WgK","home_serve
	0x0300:  7222 3a22 6c6f 6361 6c68 6f73 7422 2c22  r":"localhost","
	0x0310:  6465 7669 6365 5f69 6422 3a22 414d 4c4d  device_id":"AMLM
	0x0320:  5447 4248 4b42 227d 0d0a 300d 0a0d 0a    TGBHKB"}..0....
00:24:44.785747 IP (tos 0x0, ttl 63, id 42765, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.0.20.50266 > 192.168.0.10.8008: Flags [.], cksum 0xec40 (correct), seq 2437838586, ack 105135167, win 501, options [nop,nop,TS val 3209002741 ecr 3273578319], length 0
	0x0000:  4500 0034 a70d 4000 3f06 1348 c0a8 0014  E..4..@.?..H....
	0x0010:  c0a8 000a c45a 1f48 914e 76fa 0644 3c3f  .....Z.H.Nv..D<?
	0x0020:  8010 01f5 ec40 0000 0101 080a bf45 7ef5  .....@.......E~.
	0x0030:  c31e d74f                                ...O
00:24:44.790006 IP (tos 0x0, ttl 63, id 42766, offset 0, flags [DF], proto TCP (6), length 445)
    192.168.0.20.50266 > 192.168.0.10.8008: Flags [P.], cksum 0x65a8 (correct), seq 2437838586:2437838979, ack 105135167, win 501, options [nop,nop,TS val 3209002748 ecr 3273578319], length 393
	0x0000:  4500 01bd a70e 4000 3f06 11be c0a8 0014  E.....@.?.......
	0x0010:  c0a8 000a c45a 1f48 914e 76fa 0644 3c3f  .....Z.H.Nv..D<?
	0x0020:  8018 01f5 65a8 0000 0101 080a bf45 7efc  ....e........E~.
	0x0030:  c31e d74f 4745 5420 2f5f 6d61 7472 6978  ...OGET./_matrix
	0x0040:  2f63 6c69 656e 742f 7230 2f64 6972 6563  /client/r0/direc
	0x0050:  746f 7279 2f72 6f6f 6d2f 2532 3374 6573  tory/room/%23tes
	0x0060:  7434 2533 416c 6f63 616c 686f 7374 3f61  t4%3Alocalhost?a
	0x0070:  6363 6573 735f 746f 6b65 6e3d 4d44 4178  ccess_token=MDAx
	0x0080:  4e32 7876 5932 4630 6157 3975 4947 7876  N2xvY2F0aW9uIGxv
	0x0090:  5932 4673 6147 397a 6441 6f77 4d44 457a  Y2FsaG9zdAowMDEz
	0x00a0:  6157 526c 626e 5270 5a6d 6c6c 6369 4272  aWRlbnRpZmllciBr
	0x00b0:  5a58 6b4b 4d44 4178 4d47 4e70 5a43 426e  ZXkKMDAxMGNpZCBn
	0x00c0:  5a57 3467 5053 4178 436a 4177 4d6a 4e6a  ZW4gPSAxCjAwMjNj
	0x00d0:  6157 5167 6458 4e6c 636c 3970 5a43 4139  aWQgdXNlcl9pZCA9
	0x00e0:  4945 426b 6232 4a79 5a54 7073 6232 4e68  IEBkb2JyZTpsb2Nh
	0x00f0:  6247 6876 6333 514b 4d44 4178 4e6d 4e70  bGhvc3QKMDAxNmNp
	0x0100:  5a43 4230 6558 426c 4944 3067 5957 4e6a  ZCB0eXBlID0gYWNj
	0x0110:  5a58 4e7a 436a 4177 4d6a 466a 6157 5167  ZXNzCjAwMjFjaWQg
	0x0120:  626d 3975 5932 5567 5053 417a 5832 6872  bm9uY2UgPSAzX2hr
	0x0130:  4b6c 526b 6446 4633 6445 566c 4b31 425a  KlRkdFF3dEVlK1BZ
	0x0140:  436a 4177 4d6d 5a7a 6157 6475 5958 5231  CjAwMmZzaWduYXR1
	0x0150:  636d 5567 5f4e 576a 647a 5f73 792d 345f  cmUg_NWjdz_sy-4_
	0x0160:  3745 6336 5767 547a 7234 577a 3470 6333  7Ec6WgTzr4Wz4pc3
	0x0170:  6c59 4b66 477a 4a50 4f49 5157 4157 674b  lYKfGzJPOIQWAWgK
	0x0180:  2048 5454 502f 312e 310d 0a68 6f73 743a  .HTTP/1.1..host:
	0x0190:  2031 3932 2e31 3638 2e30 2e31 303a 3830  .192.168.0.10:80
	0x01a0:  3038 0d0a 636f 6e74 656e 742d 6c65 6e67  08..content-leng
	0x01b0:  7468 3a20 340d 0a0d 0a6e 756c 6c         th:.4....null
00:24:44.790107 IP (tos 0x0, ttl 64, id 36680, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.0.10.8008 > 192.168.0.20.50266: Flags [.], cksum 0xea99 (correct), seq 105135167, ack 2437838979, win 505, options [nop,nop,TS val 3273578338 ecr 3209002748], length 0
	0x0000:  4500 0034 8f48 4000 4006 2a0d c0a8 000a  E..4.H@.@.*.....
	0x0010:  c0a8 0014 1f48 c45a 0644 3c3f 914e 7883  .....H.Z.D<?.Nx.
	0x0020:  8010 01f9 ea99 0000 0101 080a c31e d762  ...............b
	0x0030:  bf45 7efc                                .E~.
00:24:44.811363 IP (tos 0x0, ttl 64, id 36681, offset 0, flags [DF], proto TCP (6), length 522)
    192.168.0.10.8008 > 192.168.0.20.50266: Flags [P.], cksum 0x40b4 (correct), seq 105135167:105135637, ack 2437838979, win 505, options [nop,nop,TS val 3273578359 ecr 3209002748], length 470
	0x0000:  4500 020a 8f49 4000 4006 2836 c0a8 000a  E....I@.@.(6....
	0x0010:  c0a8 0014 1f48 c45a 0644 3c3f 914e 7883  .....H.Z.D<?.Nx.
	0x0020:  8018 01f9 40b4 0000 0101 080a c31e d777  ....@..........w
	0x0030:  bf45 7efc 4854 5450 2f31 2e31 2032 3030  .E~.HTTP/1.1.200
	0x0040:  204f 4b0d 0a54 7261 6e73 6665 722d 456e  .OK..Transfer-En
	0x0050:  636f 6469 6e67 3a20 6368 756e 6b65 640d  coding:.chunked.
	0x0060:  0a53 6572 7665 723a 2053 796e 6170 7365  .Server:.Synapse
	0x0070:  2f31 2e32 342e 300d 0a44 6174 653a 2057  /1.24.0..Date:.W
	0x0080:  6564 2c20 3133 204a 616e 2032 3032 3120  ed,.13.Jan.2021.
	0x0090:  3030 3a32 343a 3434 2047 4d54 0d0a 436f  00:24:44.GMT..Co
	0x00a0:  6e74 656e 742d 5479 7065 3a20 6170 706c  ntent-Type:.appl
	0x00b0:  6963 6174 696f 6e2f 6a73 6f6e 0d0a 4361  ication/json..Ca
	0x00c0:  6368 652d 436f 6e74 726f 6c3a 206e 6f2d  che-Control:.no-
	0x00d0:  6361 6368 652c 206e 6f2d 7374 6f72 652c  cache,.no-store,
	0x00e0:  206d 7573 742d 7265 7661 6c69 6461 7465  .must-revalidate
	0x00f0:  0d0a 4163 6365 7373 2d43 6f6e 7472 6f6c  ..Access-Control
	0x0100:  2d41 6c6c 6f77 2d4f 7269 6769 6e3a 202a  -Allow-Origin:.*
	0x0110:  0d0a 4163 6365 7373 2d43 6f6e 7472 6f6c  ..Access-Control
	0x0120:  2d41 6c6c 6f77 2d4d 6574 686f 6473 3a20  -Allow-Methods:.
	0x0130:  4745 542c 2048 4541 442c 2050 4f53 542c  GET,.HEAD,.POST,
	0x0140:  2050 5554 2c20 4445 4c45 5445 2c20 4f50  .PUT,.DELETE,.OP
	0x0150:  5449 4f4e 530d 0a41 6363 6573 732d 436f  TIONS..Access-Co
	0x0160:  6e74 726f 6c2d 416c 6c6f 772d 4865 6164  ntrol-Allow-Head
	0x0170:  6572 733a 204f 7269 6769 6e2c 2058 2d52  ers:.Origin,.X-R
	0x0180:  6571 7565 7374 6564 2d57 6974 682c 2043  equested-With,.C
	0x0190:  6f6e 7465 6e74 2d54 7970 652c 2041 6363  ontent-Type,.Acc
	0x01a0:  6570 742c 2041 7574 686f 7269 7a61 7469  ept,.Authorizati
	0x01b0:  6f6e 2c20 4461 7465 0d0a 0d0a 3433 0d0a  on,.Date....43..
	0x01c0:  7b22 726f 6f6d 5f69 6422 3a22 2178 514b  {"room_id":"!xQK
	0x01d0:  6876 7874 4559 6b46 4577 5445 6a7a 5a3a  hvxtEYkFEwTEjzZ:
	0x01e0:  6c6f 6361 6c68 6f73 7422 2c22 7365 7276  localhost","serv
	0x01f0:  6572 7322 3a5b 226c 6f63 616c 686f 7374  ers":["localhost
	0x0200:  225d 7d0d 0a30 0d0a 0d0a                 "]}..0....
00:24:44.818548 IP (tos 0x0, ttl 63, id 60097, offset 0, flags [DF], proto TCP (6), length 60)
    192.168.0.20.50268 > 192.168.0.10.8008: Flags [S], cksum 0x0eec (correct), seq 1403209485, win 64240, options [mss 1460,sackOK,TS val 3209002777 ecr 0,nop,wscale 7], length 0
	0x0000:  4500 003c eac1 4000 3f06 cf8b c0a8 0014  E..<..@.?.......
	0x0010:  c0a8 000a c45c 1f48 53a3 470d 0000 0000  .....\.HS.G.....
	0x0020:  a002 faf0 0eec 0000 0204 05b4 0402 080a  ................
	0x0030:  bf45 7f19 0000 0000 0103 0307            .E..........
00:24:44.818788 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 60)
    192.168.0.10.8008 > 192.168.0.20.50268: Flags [S.], cksum 0x9057 (correct), seq 1551336405, ack 1403209486, win 65160, options [mss 1460,sackOK,TS val 3273578367 ecr 3209002777,nop,wscale 7], length 0
	0x0000:  4500 003c 0000 4000 4006 b94d c0a8 000a  E..<..@.@..M....
	0x0010:  c0a8 0014 1f48 c45c 5c77 83d5 53a3 470e  .....H.\\w..S.G.
	0x0020:  a012 fe88 9057 0000 0204 05b4 0402 080a  .....W..........
	0x0030:  c31e d77f bf45 7f19 0103 0307            .....E......
00:24:44.820297 IP (tos 0x0, ttl 63, id 42767, offset 0, flags [DF], proto TCP (6), length 684)
    192.168.0.20.50266 > 192.168.0.10.8008: Flags [P.], cksum 0xa73c (correct), seq 2437838979:2437839611, ack 105135637, win 501, options [nop,nop,TS val 3209002777 ecr 3273578359], length 632
	0x0000:  4500 02ac a70f 4000 3f06 10ce c0a8 0014  E.....@.?.......
	0x0010:  c0a8 000a c45a 1f48 914e 7883 0644 3e15  .....Z.H.Nx..D>.
	0x0020:  8018 01f5 a73c 0000 0101 080a bf45 7f19  .....<.......E..
	0x0030:  c31e d777 5055 5420 2f5f 6d61 7472 6978  ...wPUT./_matrix
	0x0040:  2f63 6c69 656e 742f 7230 2f72 6f6f 6d73  /client/r0/rooms
	0x0050:  2f21 7851 4b68 7678 7445 596b 4645 7754  /!xQKhvxtEYkFEwT
	0x0060:  456a 7a5a 3a6c 6f63 616c 686f 7374 2f73  EjzZ:localhost/s
	0x0070:  656e 642f 6d2e 726f 6f6d 2e6d 6573 7361  end/m.room.messa
	0x0080:  6765 2f33 3036 6265 3335 332d 6231 3464  ge/306be353-b14d
	0x0090:  2d34 3262 642d 3866 6438 2d63 3631 6131  -42bd-8fd8-c61a1
	0x00a0:  6461 3334 3638 343f 6163 6365 7373 5f74  da34684?access_t
	0x00b0:  6f6b 656e 3d4d 4441 784e 3278 7659 3246  oken=MDAxN2xvY2F
	0x00c0:  3061 5739 7549 4778 7659 3246 7361 4739  0aW9uIGxvY2FsaG9
	0x00d0:  7a64 416f 774d 4445 7a61 5752 6c62 6e52  zdAowMDEzaWRlbnR
	0x00e0:  705a 6d6c 6c63 6942 725a 586b 4b4d 4441  pZmllciBrZXkKMDA
	0x00f0:  784d 474e 705a 4342 6e5a 5734 6750 5341  xMGNpZCBnZW4gPSA
	0x0100:  7843 6a41 774d 6a4e 6a61 5751 6764 584e  xCjAwMjNjaWQgdXN
	0x0110:  6c63 6c39 705a 4341 3949 4542 6b62 324a  lcl9pZCA9IEBkb2J
	0x0120:  795a 5470 7362 324e 6862 4768 7663 3351  yZTpsb2NhbGhvc3Q
	0x0130:  4b4d 4441 784e 6d4e 705a 4342 3065 5842  KMDAxNmNpZCB0eXB
	0x0140:  6c49 4430 6759 574e 6a5a 584e 7a43 6a41  lID0gYWNjZXNzCjA
	0x0150:  774d 6a46 6a61 5751 6762 6d39 7559 3255  wMjFjaWQgbm9uY2U
	0x0160:  6750 5341 7a58 3268 724b 6c52 6b64 4646  gPSAzX2hrKlRkdFF
	0x0170:  3364 4556 6c4b 3142 5a43 6a41 774d 6d5a  3dEVlK1BZCjAwMmZ
	0x0180:  7a61 5764 7559 5852 3163 6d55 675f 4e57  zaWduYXR1cmUg_NW
	0x0190:  6a64 7a5f 7379 2d34 5f37 4563 3657 6754  jdz_sy-4_7Ec6WgT
	0x01a0:  7a72 3457 7a34 7063 336c 594b 6647 7a4a  zr4Wz4pc3lYKfGzJ
	0x01b0:  504f 4951 5741 5767 4b20 4854 5450 2f31  POIQWAWgK.HTTP/1
	0x01c0:  2e31 0d0a 686f 7374 3a20 3139 322e 3136  .1..host:.192.16
	0x01d0:  382e 302e 3130 3a38 3030 380d 0a63 6f6e  8.0.10:8008..con
	0x01e0:  7465 6e74 2d6c 656e 6774 683a 2031 3834  tent-length:.184
	0x01f0:  0d0a 0d0a 7b22 6d73 6774 7970 6522 3a22  ....{"msgtype":"
	0x0200:  6d2e 6e6f 7469 6365 222c 2262 6f64 7922  m.notice","body"
	0x0210:  3a22 3c61 2068 7265 663d 5c22 6874 7470  :"<a.href=\"http
	0x0220:  733a 2f2f 676f 6f67 6c65 2e63 6f6d 5c22  s://google.com\"
	0x0230:  3e4d 7920 676f 6f67 6c65 206c 696e 6b3c  >My.google.link<
	0x0240:  2f61 3e22 2c22 666f 726d 6174 7465 645f  /a>","formatted_
	0x0250:  626f 6479 223a 223c 6120 6872 6566 3d5c  body":"<a.href=\
	0x0260:  2268 7474 7073 3a2f 2f67 6f6f 676c 652e  "https://google.
	0x0270:  636f 6d5c 223e 4d79 2067 6f6f 676c 6520  com\">My.google.
	0x0280:  6c69 6e6b 3c2f 613e 222c 2266 6f72 6d61  link</a>","forma
	0x0290:  7422 3a22 6f72 672e 6d61 7472 6978 2e63  t":"org.matrix.c
	0x02a0:  7573 746f 6d2e 6874 6d6c 227d            ustom.html"}
00:24:44.820398 IP (tos 0x0, ttl 64, id 36682, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.0.10.8008 > 192.168.0.20.50266: Flags [.], cksum 0xe614 (correct), seq 105135637, ack 2437839611, win 501, options [nop,nop,TS val 3273578368 ecr 3209002777], length 0
	0x0000:  4500 0034 8f4a 4000 4006 2a0b c0a8 000a  E..4.J@.@.*.....
	0x0010:  c0a8 0014 1f48 c45a 0644 3e15 914e 7afb  .....H.Z.D>..Nz.
	0x0020:  8010 01f5 e614 0000 0101 080a c31e d780  ................
	0x0030:  bf45 7f19                                .E..
00:24:44.838578 IP (tos 0x0, ttl 63, id 60098, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.0.20.50268 > 192.168.0.10.8008: Flags [.], cksum 0xbbad (correct), seq 1403209486, ack 1551336406, win 502, options [nop,nop,TS val 3209002786 ecr 3273578367], length 0
	0x0000:  4500 0034 eac2 4000 3f06 cf92 c0a8 0014  E..4..@.?.......
	0x0010:  c0a8 000a c45c 1f48 53a3 470e 5c77 83d6  .....\.HS.G.\w..
	0x0020:  8010 01f6 bbad 0000 0101 080a bf45 7f22  .............E."
	0x0030:  c31e d77f                                ....
00:24:44.840057 IP (tos 0x0, ttl 63, id 60099, offset 0, flags [DF], proto TCP (6), length 417)
    192.168.0.20.50268 > 192.168.0.10.8008: Flags [P.], cksum 0x1630 (correct), seq 1403209486:1403209851, ack 1551336406, win 502, options [nop,nop,TS val 3209002787 ecr 3273578367], length 365
	0x0000:  4500 01a1 eac3 4000 3f06 ce24 c0a8 0014  E.....@.?..$....
	0x0010:  c0a8 000a c45c 1f48 53a3 470e 5c77 83d6  .....\.HS.G.\w..
	0x0020:  8018 01f6 1630 0000 0101 080a bf45 7f23  .....0.......E.#
	0x0030:  c31e d77f 504f 5354 202f 5f6d 6174 7269  ....POST./_matri
	0x0040:  782f 636c 6965 6e74 2f72 302f 6c6f 676f  x/client/r0/logo
	0x0050:  7574 3f61 6363 6573 735f 746f 6b65 6e3d  ut?access_token=
	0x0060:  4d44 4178 4e32 7876 5932 4630 6157 3975  MDAxN2xvY2F0aW9u
	0x0070:  4947 7876 5932 4673 6147 397a 6441 6f77  IGxvY2FsaG9zdAow
	0x0080:  4d44 457a 6157 526c 626e 5270 5a6d 6c6c  MDEzaWRlbnRpZmll
	0x0090:  6369 4272 5a58 6b4b 4d44 4178 4d47 4e70  ciBrZXkKMDAxMGNp
	0x00a0:  5a43 426e 5a57 3467 5053 4178 436a 4177  ZCBnZW4gPSAxCjAw
	0x00b0:  4d6a 4e6a 6157 5167 6458 4e6c 636c 3970  MjNjaWQgdXNlcl9p
	0x00c0:  5a43 4139 4945 426b 6232 4a79 5a54 7073  ZCA9IEBkb2JyZTps
	0x00d0:  6232 4e68 6247 6876 6333 514b 4d44 4178  b2NhbGhvc3QKMDAx
	0x00e0:  4e6d 4e70 5a43 4230 6558 426c 4944 3067  NmNpZCB0eXBlID0g
	0x00f0:  5957 4e6a 5a58 4e7a 436a 4177 4d6a 466a  YWNjZXNzCjAwMjFj
	0x0100:  6157 5167 626d 3975 5932 5567 5053 417a  aWQgbm9uY2UgPSAz
	0x0110:  5832 6872 4b6c 526b 6446 4633 6445 566c  X2hrKlRkdFF3dEVl
	0x0120:  4b31 425a 436a 4177 4d6d 5a7a 6157 6475  K1BZCjAwMmZzaWdu
	0x0130:  5958 5231 636d 5567 5f4e 576a 647a 5f73  YXR1cmUg_NWjdz_s
	0x0140:  792d 345f 3745 6336 5767 547a 7234 577a  y-4_7Ec6WgTzr4Wz
	0x0150:  3470 6333 6c59 4b66 477a 4a50 4f49 5157  4pc3lYKfGzJPOIQW
	0x0160:  4157 674b 2048 5454 502f 312e 310d 0a68  AWgK.HTTP/1.1..h
	0x0170:  6f73 743a 2031 3932 2e31 3638 2e30 2e31  ost:.192.168.0.1
	0x0180:  303a 3830 3038 0d0a 636f 6e74 656e 742d  0:8008..content-
	0x0190:  6c65 6e67 7468 3a20 340d 0a0d 0a6e 756c  length:.4....nul
	0x01a0:  6c                                       l
00:24:44.840228 IP (tos 0x0, ttl 64, id 15681, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.0.10.8008 > 192.168.0.20.50268: Flags [.], cksum 0xba25 (correct), seq 1551336406, ack 1403209851, win 507, options [nop,nop,TS val 3273578388 ecr 3209002787], length 0
	0x0000:  4500 0034 3d41 4000 4006 7c14 c0a8 000a  E..4=A@.@.|.....
	0x0010:  c0a8 0014 1f48 c45c 5c77 83d6 53a3 487b  .....H.\\w..S.H{
	0x0020:  8010 01fb ba25 0000 0101 080a c31e d794  .....%..........
	0x0030:  bf45 7f23                                .E.#
00:24:52.165318 IP (tos 0x0, ttl 64, id 15682, offset 0, flags [DF], proto TCP (6), length 456)
    192.168.0.10.8008 > 192.168.0.20.50268: Flags [P.], cksum 0xec55 (correct), seq 1551336406:1551336810, ack 1403209851, win 507, options [nop,nop,TS val 3273585713 ecr 3209002787], length 404
	0x0000:  4500 01c8 3d42 4000 4006 7a7f c0a8 000a  E...=B@.@.z.....
	0x0010:  c0a8 0014 1f48 c45c 5c77 83d6 53a3 487b  .....H.\\w..S.H{
	0x0020:  8018 01fb ec55 0000 0101 080a c31e f431  .....U.........1
	0x0030:  bf45 7f23 4854 5450 2f31 2e31 2032 3030  .E.#HTTP/1.1.200
	0x0040:  204f 4b0d 0a54 7261 6e73 6665 722d 456e  .OK..Transfer-En
	0x0050:  636f 6469 6e67 3a20 6368 756e 6b65 640d  coding:.chunked.
	0x0060:  0a53 6572 7665 723a 2053 796e 6170 7365  .Server:.Synapse
	0x0070:  2f31 2e32 342e 300d 0a44 6174 653a 2057  /1.24.0..Date:.W
	0x0080:  6564 2c20 3133 204a 616e 2032 3032 3120  ed,.13.Jan.2021.
	0x0090:  3030 3a32 343a 3434 2047 4d54 0d0a 436f  00:24:44.GMT..Co
	0x00a0:  6e74 656e 742d 5479 7065 3a20 6170 706c  ntent-Type:.appl
	0x00b0:  6963 6174 696f 6e2f 6a73 6f6e 0d0a 4361  ication/json..Ca
	0x00c0:  6368 652d 436f 6e74 726f 6c3a 206e 6f2d  che-Control:.no-
	0x00d0:  6361 6368 652c 206e 6f2d 7374 6f72 652c  cache,.no-store,
	0x00e0:  206d 7573 742d 7265 7661 6c69 6461 7465  .must-revalidate
	0x00f0:  0d0a 4163 6365 7373 2d43 6f6e 7472 6f6c  ..Access-Control
	0x0100:  2d41 6c6c 6f77 2d4f 7269 6769 6e3a 202a  -Allow-Origin:.*
	0x0110:  0d0a 4163 6365 7373 2d43 6f6e 7472 6f6c  ..Access-Control
	0x0120:  2d41 6c6c 6f77 2d4d 6574 686f 6473 3a20  -Allow-Methods:.
	0x0130:  4745 542c 2048 4541 442c 2050 4f53 542c  GET,.HEAD,.POST,
	0x0140:  2050 5554 2c20 4445 4c45 5445 2c20 4f50  .PUT,.DELETE,.OP
	0x0150:  5449 4f4e 530d 0a41 6363 6573 732d 436f  TIONS..Access-Co
	0x0160:  6e74 726f 6c2d 416c 6c6f 772d 4865 6164  ntrol-Allow-Head
	0x0170:  6572 733a 204f 7269 6769 6e2c 2058 2d52  ers:.Origin,.X-R
	0x0180:  6571 7565 7374 6564 2d57 6974 682c 2043  equested-With,.C
	0x0190:  6f6e 7465 6e74 2d54 7970 652c 2041 6363  ontent-Type,.Acc
	0x01a0:  6570 742c 2041 7574 686f 7269 7a61 7469  ept,.Authorizati
	0x01b0:  6f6e 2c20 4461 7465 0d0a 0d0a 320d 0a7b  on,.Date....2..{
	0x01c0:  7d0d 0a30 0d0a 0d0a                      }..0....
00:24:52.174198 IP (tos 0x0, ttl 63, id 60100, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.0.20.50268 > 192.168.0.10.8008: Flags [.], cksum 0x7f49 (correct), seq 1403209851, ack 1551336810, win 501, options [nop,nop,TS val 3209010132 ecr 3273585713], length 0
	0x0000:  4500 0034 eac4 4000 3f06 cf90 c0a8 0014  E..4..@.?.......
	0x0010:  c0a8 000a c45c 1f48 53a3 487b 5c77 856a  .....\.HS.H{\w.j
	0x0020:  8010 01f5 7f49 0000 0101 080a bf45 9bd4  .....I.......E..
	0x0030:  c31e f431                                ...1
00:24:52.182938 IP (tos 0x0, ttl 64, id 36683, offset 0, flags [DF], proto TCP (6), length 529)
    192.168.0.10.8008 > 192.168.0.20.50266: Flags [P.], cksum 0x6bf1 (correct), seq 105135637:105136114, ack 2437839611, win 501, options [nop,nop,TS val 3273585731 ecr 3209002777], length 477
	0x0000:  4500 0211 8f4b 4000 4006 282d c0a8 000a  E....K@.@.(-....
	0x0010:  c0a8 0014 1f48 c45a 0644 3e15 914e 7afb  .....H.Z.D>..Nz.
	0x0020:  8018 01f5 6bf1 0000 0101 080a c31e f443  ....k..........C
	0x0030:  bf45 7f19 4854 5450 2f31 2e31 2035 3030  .E..HTTP/1.1.500
	0x0040:  2049 6e74 6572 6e61 6c20 5365 7276 6572  .Internal.Server
	0x0050:  2045 7272 6f72 0d0a 5472 616e 7366 6572  .Error..Transfer
	0x0060:  2d45 6e63 6f64 696e 673a 2063 6875 6e6b  -Encoding:.chunk
	0x0070:  6564 0d0a 5365 7276 6572 3a20 5379 6e61  ed..Server:.Syna
	0x0080:  7073 652f 312e 3234 2e30 0d0a 4461 7465  pse/1.24.0..Date
	0x0090:  3a20 5765 642c 2031 3320 4a61 6e20 3230  :.Wed,.13.Jan.20
	0x00a0:  3231 2030 303a 3234 3a34 3420 474d 540d  21.00:24:44.GMT.
	0x00b0:  0a43 6f6e 7465 6e74 2d54 7970 653a 2061  .Content-Type:.a
	0x00c0:  7070 6c69 6361 7469 6f6e 2f6a 736f 6e0d  pplication/json.
	0x00d0:  0a43 6163 6865 2d43 6f6e 7472 6f6c 3a20  .Cache-Control:.
	0x00e0:  6e6f 2d63 6163 6865 2c20 6e6f 2d73 746f  no-cache,.no-sto
	0x00f0:  7265 2c20 6d75 7374 2d72 6576 616c 6964  re,.must-revalid
	0x0100:  6174 650d 0a41 6363 6573 732d 436f 6e74  ate..Access-Cont
	0x0110:  726f 6c2d 416c 6c6f 772d 4f72 6967 696e  rol-Allow-Origin
	0x0120:  3a20 2a0d 0a41 6363 6573 732d 436f 6e74  :.*..Access-Cont
	0x0130:  726f 6c2d 416c 6c6f 772d 4d65 7468 6f64  rol-Allow-Method
	0x0140:  733a 2047 4554 2c20 4845 4144 2c20 504f  s:.GET,.HEAD,.PO
	0x0150:  5354 2c20 5055 542c 2044 454c 4554 452c  ST,.PUT,.DELETE,
	0x0160:  204f 5054 494f 4e53 0d0a 4163 6365 7373  .OPTIONS..Access
	0x0170:  2d43 6f6e 7472 6f6c 2d41 6c6c 6f77 2d48  -Control-Allow-H
	0x0180:  6561 6465 7273 3a20 4f72 6967 696e 2c20  eaders:.Origin,.
	0x0190:  582d 5265 7175 6573 7465 642d 5769 7468  X-Requested-With
	0x01a0:  2c20 436f 6e74 656e 742d 5479 7065 2c20  ,.Content-Type,.
	0x01b0:  4163 6365 7074 2c20 4175 7468 6f72 697a  Accept,.Authoriz
	0x01c0:  6174 696f 6e2c 2044 6174 650d 0a0d 0a33  ation,.Date....3
	0x01d0:  370d 0a7b 2265 7272 636f 6465 223a 224d  7..{"errcode":"M
	0x01e0:  5f55 4e4b 4e4f 574e 222c 2265 7272 6f72  _UNKNOWN","error
	0x01f0:  223a 2249 6e74 6572 6e61 6c20 7365 7276  ":"Internal.serv
	0x0200:  6572 2065 7272 6f72 227d 0d0a 300d 0a0d  er.error"}..0...
	0x0210:  0a                                       .
00:24:52.188987 IP (tos 0x0, ttl 63, id 60101, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.0.20.50268 > 192.168.0.10.8008: Flags [F.], cksum 0x7f39 (correct), seq 1403209851, ack 1551336810, win 501, options [nop,nop,TS val 3209010147 ecr 3273585713], length 0
	0x0000:  4500 0034 eac5 4000 3f06 cf8f c0a8 0014  E..4..@.?.......
	0x0010:  c0a8 000a c45c 1f48 53a3 487b 5c77 856a  .....\.HS.H{\w.j
	0x0020:  8011 01f5 7f39 0000 0101 080a bf45 9be3  .....9.......E..
	0x0030:  c31e f431                                ...1
00:24:52.189243 IP (tos 0x0, ttl 63, id 42768, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.0.20.50266 > 192.168.0.10.8008: Flags [F.], cksum 0xaaa9 (correct), seq 2437839611, ack 105136114, win 501, options [nop,nop,TS val 3209010147 ecr 3273585731], length 0
	0x0000:  4500 0034 a710 4000 3f06 1345 c0a8 0014  E..4..@.?..E....
	0x0010:  c0a8 000a c45a 1f48 914e 7afb 0644 3ff2  .....Z.H.Nz..D?.
	0x0020:  8011 01f5 aaa9 0000 0101 080a bf45 9be3  .............E..
	0x0030:  c31e f443                                ...C
00:24:52.190060 IP (tos 0x0, ttl 64, id 15683, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.0.10.8008 > 192.168.0.20.50268: Flags [F.], cksum 0x7f19 (correct), seq 1551336810, ack 1403209852, win 507, options [nop,nop,TS val 3273585738 ecr 3209010147], length 0
	0x0000:  4500 0034 3d43 4000 4006 7c12 c0a8 000a  E..4=C@.@.|.....
	0x0010:  c0a8 0014 1f48 c45c 5c77 856a 53a3 487c  .....H.\\w.jS.H|
	0x0020:  8011 01fb 7f19 0000 0101 080a c31e f44a  ...............J
	0x0030:  bf45 9be3                                .E..
00:24:52.191445 IP (tos 0x0, ttl 64, id 36684, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.0.10.8008 > 192.168.0.20.50266: Flags [F.], cksum 0xaaa0 (correct), seq 105136114, ack 2437839612, win 501, options [nop,nop,TS val 3273585739 ecr 3209010147], length 0
	0x0000:  4500 0034 8f4c 4000 4006 2a09 c0a8 000a  E..4.L@.@.*.....
	0x0010:  c0a8 0014 1f48 c45a 0644 3ff2 914e 7afc  .....H.Z.D?..Nz.
	0x0020:  8011 01f5 aaa0 0000 0101 080a c31e f44b  ...............K
	0x0030:  bf45 9be3                                .E..
00:24:52.207069 IP (tos 0x0, ttl 63, id 60102, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.0.20.50268 > 192.168.0.10.8008: Flags [.], cksum 0x7f0d (correct), seq 1403209852, ack 1551336811, win 501, options [nop,nop,TS val 3209010165 ecr 3273585738], length 0
	0x0000:  4500 0034 eac6 4000 3f06 cf8e c0a8 0014  E..4..@.?.......
	0x0010:  c0a8 000a c45c 1f48 53a3 487c 5c77 856b  .....\.HS.H|\w.k
	0x0020:  8010 01f5 7f0d 0000 0101 080a bf45 9bf5  .............E..
	0x0030:  c31e f44a                                ...J
00:24:52.207350 IP (tos 0x0, ttl 63, id 42769, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.0.20.50266 > 192.168.0.10.8008: Flags [.], cksum 0xaa8e (correct), seq 2437839612, ack 105136115, win 501, options [nop,nop,TS val 3209010165 ecr 3273585739], length 0
	0x0000:  4500 0034 a711 4000 3f06 1344 c0a8 0014  E..4..@.?..D....
	0x0010:  c0a8 000a c45a 1f48 914e 7afc 0644 3ff3  .....Z.H.Nz..D?.
	0x0020:  8010 01f5 aa8e 0000 0101 080a bf45 9bf5  .............E..
	0x0030:  c31e f44b                                ...K
@blakehawkins
Copy link
Contributor Author

I used a differnet client (matrixcli with some local modifications) to send the same notice, and it does not cause the 500. So it seems that something in send_glitch is causing the internal error.

Here is a tcpdump from matrixcli:

00:55:30.853902 IP (tos 0x0, ttl 63, id 60304, offset 0, flags [DF], proto TCP (6), length 60)
    192.168.0.20.50314 > 192.168.0.10.8008: Flags [S], cksum 0x989e (correct), seq 3104177625, win 64240, options [mss 1460,sackOK,TS val 3227768811 ecr 0,nop,wscale 7], length 0
	0x0000:  4500 003c eb90 4000 3f06 cebc c0a8 0014  E..<..@.?.......
	0x0010:  c0a8 000a c48a 1f48 b905 fdd9 0000 0000  .......H........
	0x0020:  a002 faf0 989e 0000 0204 05b4 0402 080a  ................
	0x0030:  c063 d7eb 0000 0000 0103 0307            .c..........
00:55:30.854161 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 60)
    192.168.0.10.8008 > 192.168.0.20.50314: Flags [S.], cksum 0xe44f (correct), seq 4278946469, ack 3104177626, win 65160, options [mss 1460,sackOK,TS val 3361824402 ecr 3227768811,nop,wscale 7], length 0
	0x0000:  4500 003c 0000 4000 4006 b94d c0a8 000a  E..<..@.@..M....
	0x0010:  c0a8 0014 1f48 c48a ff0b 8aa5 b905 fdda  .....H..........
	0x0020:  a012 fe88 e44f 0000 0204 05b4 0402 080a  .....O..........
	0x0030:  c861 5e92 c063 d7eb 0103 0307            .a^..c......
00:55:30.874145 IP (tos 0x0, ttl 63, id 60305, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.0.20.50314 > 192.168.0.10.8008: Flags [.], cksum 0x0f8c (correct), seq 3104177626, ack 4278946470, win 502, options [nop,nop,TS val 3227768846 ecr 3361824402], length 0
	0x0000:  4500 0034 eb91 4000 3f06 cec3 c0a8 0014  E..4..@.?.......
	0x0010:  c0a8 000a c48a 1f48 b905 fdda ff0b 8aa6  .......H........
	0x0020:  8010 01f6 0f8c 0000 0101 080a c063 d80e  .............c..
	0x0030:  c861 5e92                                .a^.
00:55:30.875722 IP (tos 0x0, ttl 63, id 60306, offset 0, flags [DF], proto TCP (6), length 309)
    192.168.0.20.50314 > 192.168.0.10.8008: Flags [P.], cksum 0x3818 (correct), seq 3104177626:3104177883, ack 4278946470, win 502, options [nop,nop,TS val 3227768846 ecr 3361824402], length 257
	0x0000:  4500 0135 eb92 4000 3f06 cdc1 c0a8 0014  E..5..@.?.......
	0x0010:  c0a8 000a c48a 1f48 b905 fdda ff0b 8aa6  .......H........
	0x0020:  8018 01f6 3818 0000 0101 080a c063 d80e  ....8........c..
	0x0030:  c861 5e92 504f 5354 202f 5f6d 6174 7269  .a^.POST./_matri
	0x0040:  782f 636c 6965 6e74 2f72 302f 6c6f 6769  x/client/r0/logi
	0x0050:  6e20 4854 5450 2f31 2e31 0d0a 486f 7374  n.HTTP/1.1..Host
	0x0060:  3a20 3139 322e 3136 382e 302e 3130 3a38  :.192.168.0.10:8
	0x0070:  3030 380d 0a55 7365 722d 4167 656e 743a  008..User-Agent:
	0x0080:  206d 6174 7269 782d 7079 7468 6f6e 2d73  .matrix-python-s
	0x0090:  646b 2f30 2e34 2e30 2d64 6576 0d0a 4163  dk/0.4.0-dev..Ac
	0x00a0:  6365 7074 2d45 6e63 6f64 696e 673a 2067  cept-Encoding:.g
	0x00b0:  7a69 702c 2064 6566 6c61 7465 0d0a 4163  zip,.deflate..Ac
	0x00c0:  6365 7074 3a20 2a2f 2a0d 0a43 6f6e 6e65  cept:.*/*..Conne
	0x00d0:  6374 696f 6e3a 206b 6565 702d 616c 6976  ction:.keep-aliv
	0x00e0:  650d 0a43 6f6e 7465 6e74 2d54 7970 653a  e..Content-Type:
	0x00f0:  2061 7070 6c69 6361 7469 6f6e 2f6a 736f  .application/jso
	0x0100:  6e0d 0a41 7574 686f 7269 7a61 7469 6f6e  n..Authorization
	0x0110:  3a20 4265 6172 6572 204e 6f6e 650d 0a43  :.Bearer.None..C
	0x0120:  6f6e 7465 6e74 2d4c 656e 6774 683a 2036  ontent-Length:.6
	0x0130:  350d 0a0d 0a                             5....
00:55:30.875906 IP (tos 0x0, ttl 64, id 50816, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.0.10.8008 > 192.168.0.20.50314: Flags [.], cksum 0x0e6f (correct), seq 4278946470, ack 3104177883, win 508, options [nop,nop,TS val 3361824424 ecr 3227768846], length 0
	0x0000:  4500 0034 c680 4000 4006 f2d4 c0a8 000a  E..4..@.@.......
	0x0010:  c0a8 0014 1f48 c48a ff0b 8aa6 b905 fedb  .....H..........
	0x0020:  8010 01fc 0e6f 0000 0101 080a c861 5ea8  .....o.......a^.
	0x0030:  c063 d80e                                .c..
00:55:30.876069 IP (tos 0x0, ttl 63, id 60307, offset 0, flags [DF], proto TCP (6), length 117)
    192.168.0.20.50314 > 192.168.0.10.8008: Flags [P.], cksum 0xc440 (correct), seq 3104177883:3104177948, ack 4278946470, win 502, options [nop,nop,TS val 3227768846 ecr 3361824402], length 65
	0x0000:  4500 0075 eb93 4000 3f06 ce80 c0a8 0014  E..u..@.?.......
	0x0010:  c0a8 000a c48a 1f48 b905 fedb ff0b 8aa6  .......H........
	0x0020:  8018 01f6 c440 0000 0101 080a c063 d80e  .....@.......c..
	0x0030:  c861 5e92 7b22 7479 7065 223a 2022 6d2e  .a^.{"type":."m.
	0x0040:  6c6f 6769 6e2e 7061 7373 776f 7264 222c  login.password",
	0x0050:  2022 7573 6572 223a 2022 646f 6272 6522  ."user":."dobre"
	0x0060:  2c20 2270 6173 7377 6f72 6422 3a20 2278  ,."password":."x
	0x0070:  6c65 6222 7d                             leb"}
00:55:30.876135 IP (tos 0x0, ttl 64, id 50817, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.0.10.8008 > 192.168.0.20.50314: Flags [.], cksum 0x0e2e (correct), seq 4278946470, ack 3104177948, win 508, options [nop,nop,TS val 3361824424 ecr 3227768846], length 0
	0x0000:  4500 0034 c681 4000 4006 f2d3 c0a8 000a  E..4..@.@.......
	0x0010:  c0a8 0014 1f48 c48a ff0b 8aa6 b905 ff1c  .....H..........
	0x0020:  8010 01fc 0e2e 0000 0101 080a c861 5ea8  .............a^.
	0x0030:  c063 d80e                                .c..
00:55:40.066779 IP (tos 0x0, ttl 64, id 50818, offset 0, flags [DF], proto TCP (6), length 790)
    192.168.0.10.8008 > 192.168.0.20.50314: Flags [P.], cksum 0xb0bd (correct), seq 4278946470:4278947208, ack 3104177948, win 508, options [nop,nop,TS val 3361833615 ecr 3227768846], length 738
	0x0000:  4500 0316 c682 4000 4006 eff0 c0a8 000a  E.....@.@.......
	0x0010:  c0a8 0014 1f48 c48a ff0b 8aa6 b905 ff1c  .....H..........
	0x0020:  8018 01fc b0bd 0000 0101 080a c861 828f  .............a..
	0x0030:  c063 d80e 4854 5450 2f31 2e31 2032 3030  .c..HTTP/1.1.200
	0x0040:  204f 4b0d 0a54 7261 6e73 6665 722d 456e  .OK..Transfer-En
	0x0050:  636f 6469 6e67 3a20 6368 756e 6b65 640d  coding:.chunked.
	0x0060:  0a53 6572 7665 723a 2053 796e 6170 7365  .Server:.Synapse
	0x0070:  2f31 2e32 342e 300d 0a44 6174 653a 2054  /1.24.0..Date:.T
	0x0080:  6875 2c20 3134 204a 616e 2032 3032 3120  hu,.14.Jan.2021.
	0x0090:  3030 3a35 353a 3330 2047 4d54 0d0a 436f  00:55:30.GMT..Co
	0x00a0:  6e74 656e 742d 456e 636f 6469 6e67 3a20  ntent-Encoding:.
	0x00b0:  677a 6970 0d0a 436f 6e74 656e 742d 5479  gzip..Content-Ty
	0x00c0:  7065 3a20 6170 706c 6963 6174 696f 6e2f  pe:.application/
	0x00d0:  6a73 6f6e 0d0a 4361 6368 652d 436f 6e74  json..Cache-Cont
	0x00e0:  726f 6c3a 206e 6f2d 6361 6368 652c 206e  rol:.no-cache,.n
	0x00f0:  6f2d 7374 6f72 652c 206d 7573 742d 7265  o-store,.must-re
	0x0100:  7661 6c69 6461 7465 0d0a 4163 6365 7373  validate..Access
	0x0110:  2d43 6f6e 7472 6f6c 2d41 6c6c 6f77 2d4f  -Control-Allow-O
	0x0120:  7269 6769 6e3a 202a 0d0a 4163 6365 7373  rigin:.*..Access
	0x0130:  2d43 6f6e 7472 6f6c 2d41 6c6c 6f77 2d4d  -Control-Allow-M
	0x0140:  6574 686f 6473 3a20 4745 542c 2048 4541  ethods:.GET,.HEA
	0x0150:  442c 2050 4f53 542c 2050 5554 2c20 4445  D,.POST,.PUT,.DE
	0x0160:  4c45 5445 2c20 4f50 5449 4f4e 530d 0a41  LETE,.OPTIONS..A
	0x0170:  6363 6573 732d 436f 6e74 726f 6c2d 416c  ccess-Control-Al
	0x0180:  6c6f 772d 4865 6164 6572 733a 204f 7269  low-Headers:.Ori
	0x0190:  6769 6e2c 2058 2d52 6571 7565 7374 6564  gin,.X-Requested
	0x01a0:  2d57 6974 682c 2043 6f6e 7465 6e74 2d54  -With,.Content-T
	0x01b0:  7970 652c 2041 6363 6570 742c 2041 7574  ype,.Accept,.Aut
	0x01c0:  686f 7269 7a61 7469 6f6e 2c20 4461 7465  horization,.Date
	0x01d0:  0d0a 0d0a 610d 0a1f 8b08 0000 0000 0002  ....a...........
	0x01e0:  030d 0a31 3237 0d0a 4d90 cb6e 8330 1045  ...127..M..n.0.E
	0x01f0:  ff85 752b 11da 4875 5635 e111 48b0 4220  ..u+..HuV5..H.B.
	0x0200:  35b0 4160 5bbc 6c88 7885 50f5 df4b c9a6  5.A`[.l.x.P..K..
	0x0210:  bb91 e6de 33a3 f32d 0d1d 6be3 824a 3be9  ....3..-..k..J;.
	0x0220:  9336 69cb 76bc 2109 cf9b ae97 5ea4 8410  .6i.v.!.....^...
	0x0230:  d675 71df 54ac 5e12 8e06 27a4 4c63 a818  .uq.T.^...'.Lc..
	0x0240:  7282 c160 99eb dc25 2698 296c ee8e a6cf  r..`...%&.)l....
	0x0250:  09be f0b4 bedc 22c1 3929 d436 0aaa e35f  ......".9).6..._
	0x0260:  cf31 d12d daab 7584 dfb3 b307 a77d 09ef  .1.-..u......}..
	0x0270:  4e89 ca04 bb19 0d10 271c 2c7b 082c 5dad  N.......'.,{.,].
	0x0280:  52c5 7e44 fead 4b15 94a7 663e 9237 7765  R.~D..K...f>.7we
	0x0290:  20b1 3264 16a8 dcd2 e42c c4a8 8c02 343f  ..2d.....,....4?
	0x02a0:  59c6 ca4a 0518 42e5 badc 50b7 ae08 dba0  Y..J..B...P.....
	0x02b0:  9467 cf44 af18 a3c4 926d 7dcd 8a68 f993  .g.D.....m}..h..
	0x02c0:  0e61 70d9 1071 cd54 ff30 8309 d70f fbd4  .ap..q.T.0......
	0x02d0:  57d4 eea9 30dc 0cde bfbc 8229 76e5 bb06  W...0......)v...
	0x02e0:  d86e 3e04 39db b175 5cac e48d 60f1 a26d  .n>.9..u\...`..m
	0x02f0:  64ed 22e5 bf2f cac6 82b0 a74e 151e aebe  d."../.....N....
	0x0300:  e36b de49 faf9 056f e36d 6967 0100 000d  .k.I...o.mig....
	0x0310:  0a30 0d0a 0d0a                           .0....
00:55:40.074520 IP (tos 0x0, ttl 63, id 60308, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.0.20.50314 > 192.168.0.10.8008: Flags [.], cksum 0xc378 (correct), seq 3104177948, ack 4278947208, win 501, options [nop,nop,TS val 3227778049 ecr 3361833615], length 0
	0x0000:  4500 0034 eb94 4000 3f06 cec0 c0a8 0014  E..4..@.?.......
	0x0010:  c0a8 000a c48a 1f48 b905 ff1c ff0b 8d88  .......H........
	0x0020:  8010 01f5 c378 0000 0101 080a c063 fc01  .....x.......c..
	0x0030:  c861 828f                                .a..
00:55:40.076499 IP (tos 0x0, ttl 63, id 60309, offset 0, flags [DF], proto TCP (6), length 640)
    192.168.0.20.50314 > 192.168.0.10.8008: Flags [P.], cksum 0xcce5 (correct), seq 3104177948:3104178536, ack 4278947208, win 501, options [nop,nop,TS val 3227778050 ecr 3361833615], length 588
	0x0000:  4500 0280 eb95 4000 3f06 cc73 c0a8 0014  E.....@.?..s....
	0x0010:  c0a8 000a c48a 1f48 b905 ff1c ff0b 8d88  .......H........
	0x0020:  8018 01f5 cce5 0000 0101 080a c063 fc02  .............c..
	0x0030:  c861 828f 4745 5420 2f5f 6d61 7472 6978  .a..GET./_matrix
	0x0040:  2f63 6c69 656e 742f 7230 2f73 796e 633f  /client/r0/sync?
	0x0050:  7469 6d65 6f75 743d 3330 3030 3026 6669  timeout=30000&fi
	0x0060:  6c74 6572 3d25 3742 2b25 3232 726f 6f6d  lter=%7B+%22room
	0x0070:  2532 3225 3341 2b25 3742 2b25 3232 7469  %22%3A+%7B+%22ti
	0x0080:  6d65 6c69 6e65 2532 322b 2533 412b 2537  meline%22+%3A+%7
	0x0090:  422b 2532 326c 696d 6974 2532 322b 2533  B+%22limit%22+%3
	0x00a0:  412b 3130 2b25 3744 2b25 3744 2b25 3744  A+10+%7D+%7D+%7D
	0x00b0:  2048 5454 502f 312e 310d 0a48 6f73 743a  .HTTP/1.1..Host:
	0x00c0:  2031 3932 2e31 3638 2e30 2e31 303a 3830  .192.168.0.10:80
	0x00d0:  3038 0d0a 5573 6572 2d41 6765 6e74 3a20  08..User-Agent:.
	0x00e0:  6d61 7472 6978 2d70 7974 686f 6e2d 7364  matrix-python-sd
	0x00f0:  6b2f 302e 342e 302d 6465 760d 0a41 6363  k/0.4.0-dev..Acc
	0x0100:  6570 742d 456e 636f 6469 6e67 3a20 677a  ept-Encoding:.gz
	0x0110:  6970 2c20 6465 666c 6174 650d 0a41 6363  ip,.deflate..Acc
	0x0120:  6570 743a 202a 2f2a 0d0a 436f 6e6e 6563  ept:.*/*..Connec
	0x0130:  7469 6f6e 3a20 6b65 6570 2d61 6c69 7665  tion:.keep-alive
	0x0140:  0d0a 436f 6e74 656e 742d 5479 7065 3a20  ..Content-Type:.
	0x0150:  6170 706c 6963 6174 696f 6e2f 6a73 6f6e  application/json
	0x0160:  0d0a 4175 7468 6f72 697a 6174 696f 6e3a  ..Authorization:
	0x0170:  2042 6561 7265 7220 4d44 4178 4e32 7876  .Bearer.MDAxN2xv
	0x0180:  5932 4630 6157 3975 4947 7876 5932 4673  Y2F0aW9uIGxvY2Fs
	0x0190:  6147 397a 6441 6f77 4d44 457a 6157 526c  aG9zdAowMDEzaWRl
	0x01a0:  626e 5270 5a6d 6c6c 6369 4272 5a58 6b4b  bnRpZmllciBrZXkK
	0x01b0:  4d44 4178 4d47 4e70 5a43 426e 5a57 3467  MDAxMGNpZCBnZW4g
	0x01c0:  5053 4178 436a 4177 4d6a 4e6a 6157 5167  PSAxCjAwMjNjaWQg
	0x01d0:  6458 4e6c 636c 3970 5a43 4139 4945 426b  dXNlcl9pZCA9IEBk
	0x01e0:  6232 4a79 5a54 7073 6232 4e68 6247 6876  b2JyZTpsb2NhbGhv
	0x01f0:  6333 514b 4d44 4178 4e6d 4e70 5a43 4230  c3QKMDAxNmNpZCB0
	0x0200:  6558 426c 4944 3067 5957 4e6a 5a58 4e7a  eXBlID0gYWNjZXNz
	0x0210:  436a 4177 4d6a 466a 6157 5167 626d 3975  CjAwMjFjaWQgbm9u
	0x0220:  5932 5567 5053 4235 516d 5972 586a 307a  Y2UgPSB5QmYrXj0z
	0x0230:  5347 4e2d 5757 4e61 4930 4a45 436a 4177  SGN-WWNaI0JECjAw
	0x0240:  4d6d 5a7a 6157 6475 5958 5231 636d 5567  MmZzaWduYXR1cmUg
	0x0250:  4254 487a 3978 576e 794a 4c74 6b64 4a74  BTHz9xWnyJLtkdJt
	0x0260:  646d 4651 6741 7756 5369 6532 4a6b 5451  dmFQgAwVSie2JkTQ
	0x0270:  4639 3531 386d 6350 4a5f 494b 0d0a 0d0a  F9518mcPJ_IK....
00:55:40.076594 IP (tos 0x0, ttl 64, id 50819, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.0.10.8008 > 192.168.0.20.50314: Flags [.], cksum 0xc11f (correct), seq 4278947208, ack 3104178536, win 504, options [nop,nop,TS val 3361833624 ecr 3227778050], length 0
	0x0000:  4500 0034 c683 4000 4006 f2d1 c0a8 000a  E..4..@.@.......
	0x0010:  c0a8 0014 1f48 c48a ff0b 8d88 b906 0168  .....H.........h
	0x0020:  8010 01f8 c11f 0000 0101 080a c861 8298  .............a..
	0x0030:  c063 fc02                                .c..
00:55:40.291383 IP (tos 0x0, ttl 64, id 50820, offset 0, flags [DF], proto TCP (6), length 1500)
    192.168.0.10.8008 > 192.168.0.20.50314: Flags [.], cksum 0xf783 (correct), seq 4278947208:4278948656, ack 3104178536, win 504, options [nop,nop,TS val 3361833839 ecr 3227778050], length 1448
	0x0000:  4500 05dc c684 4000 4006 ed28 c0a8 000a  E.....@.@..(....
	0x0010:  c0a8 0014 1f48 c48a ff0b 8d88 b906 0168  .....H.........h
	0x0020:  8010 01f8 f783 0000 0101 080a c861 836f  .............a.o
	0x0030:  c063 fc02 4854 5450 2f31 2e31 2032 3030  .c..HTTP/1.1.200
	0x0040:  204f 4b0d 0a54 7261 6e73 6665 722d 456e  .OK..Transfer-En
	0x0050:  636f 6469 6e67 3a20 6368 756e 6b65 640d  coding:.chunked.
	0x0060:  0a53 6572 7665 723a 2053 796e 6170 7365  .Server:.Synapse
	0x0070:  2f31 2e32 342e 300d 0a44 6174 653a 2054  /1.24.0..Date:.T
	0x0080:  6875 2c20 3134 204a 616e 2032 3032 3120  hu,.14.Jan.2021.
	0x0090:  3030 3a35 353a 3430 2047 4d54 0d0a 436f  00:55:40.GMT..Co
	0x00a0:  6e74 656e 742d 456e 636f 6469 6e67 3a20  ntent-Encoding:.
	0x00b0:  677a 6970 0d0a 436f 6e74 656e 742d 5479  gzip..Content-Ty
	0x00c0:  7065 3a20 6170 706c 6963 6174 696f 6e2f  pe:.application/
	0x00d0:  6a73 6f6e 0d0a 4361 6368 652d 436f 6e74  json..Cache-Cont
	0x00e0:  726f 6c3a 206e 6f2d 6361 6368 652c 206e  rol:.no-cache,.n
	0x00f0:  6f2d 7374 6f72 652c 206d 7573 742d 7265  o-store,.must-re
	0x0100:  7661 6c69 6461 7465 0d0a 4163 6365 7373  validate..Access
	0x0110:  2d43 6f6e 7472 6f6c 2d41 6c6c 6f77 2d4f  -Control-Allow-O
	0x0120:  7269 6769 6e3a 202a 0d0a 4163 6365 7373  rigin:.*..Access
	0x0130:  2d43 6f6e 7472 6f6c 2d41 6c6c 6f77 2d4d  -Control-Allow-M
	0x0140:  6574 686f 6473 3a20 4745 542c 2048 4541  ethods:.GET,.HEA
	0x0150:  442c 2050 4f53 542c 2050 5554 2c20 4445  D,.POST,.PUT,.DE
	0x0160:  4c45 5445 2c20 4f50 5449 4f4e 530d 0a41  LETE,.OPTIONS..A
	0x0170:  6363 6573 732d 436f 6e74 726f 6c2d 416c  ccess-Control-Al
	0x0180:  6c6f 772d 4865 6164 6572 733a 204f 7269  low-Headers:.Ori
	0x0190:  6769 6e2c 2058 2d52 6571 7565 7374 6564  gin,.X-Requested
	0x01a0:  2d57 6974 682c 2043 6f6e 7465 6e74 2d54  -With,.Content-T
	0x01b0:  7970 652c 2041 6363 6570 742c 2041 7574  ype,.Accept,.Aut
	0x01c0:  686f 7269 7a61 7469 6f6e 2c20 4461 7465  horization,.Date
	0x01d0:  0d0a 0d0a 610d 0a1f 8b08 0000 0000 0002  ....a...........
	0x01e0:  030d 0a61 3032 0d0a ed5a f973 a338 16fe  ...a02...Z.s.8..
	0x01f0:  5766 bcfb d356 9c16 37a4 66a7 d607 3ee3  Wf...V..7.f...>.
	0x0200:  fb8a bdb3 45c9 2003 e6b2 41f8 4857 fef7  ....E.....A.HW..
	0x0210:  95c0 7162 b799 4e32 9d9e 74cd 5492 3206  ..qb..N2..t.T.2.
	0x0220:  e9e9 7d4f eff8 f4c8 e71c d4f5 20f6 b166  ..}O...........f
	0x0230:  400c 7337 9f73 6883 7c1c e56e fefb 3987  @.s7.sh.|..n..9.
	0x0240:  f72b 94bb c979 d7ab 38b2 b430 7651 94bb  .+...y..8..0vQ..
	0x0250:  cae9 818f c910 3ad6 7483 3974 e955 ec1b  ......:.t.9t.U..
	0x0260:  280c 6d03 2513 c910 c3c6 76e0 a772 1cdb  (.m.%.....v..r..
	0x0270:  3788 9c44 b2e6 41ac 5b44 8c83 f6e4 5eb2  7..D..A.[D....^.
	0x0280:  c455 6e05 3146 a19f 2ca6 43d7 bdb6 fd8d  .Un.1F..,.C.....
	0x0290:  8d51 eee1 7f57 44c1 4749 393f c0f6 629f  .Q...WD.GI9?..b.
	0x02a0:  bbfa 9c8b 10d6 f016 4187 4c89 88fe 0611  ........A.L.....
	0x02b0:  b281 6e4c f50d 6ddf cc3d 9c0d b26c d372  ..nL..m..=...l.r
	0x02c0:  c91f 7e1a b880 6e84 e80a 1499 6653 15af  ..~...n.....fS..
	0x02d0:  bd6b fa25 d181 0c34 d002 c62e 818a c318  .k.%...4........
	0x02e0:  5de5 900f e72e 32d2 af74 81cb 38c3 20f0  ].....2..t..8...
	0x02f0:  340f 7973 146a 896d 8924 9b8c c8b1 8956  4.ys.j.m.$.....V
	0x0300:  afb3 0615 76ed a128 82e6 1bcd f108 e28f  ....v..(........
	0x0310:  5924 0115 f848 c301 fdf8 40c6 41be 1eee  Y$...H....@.A...
	0x0320:  5798 2cfd 279a e7a8 84f6 ad0c f56e fef1  W.,.'........n..
	0x0330:  3a60 8fa2 bf07 8c57 eee4 1b77 e87d a1d8  :`.....W...w.}..
	0x0340:  def5 06e9 3808 afbd c088 5d18 5e6f 6dc3  ....8.....].^om.
	0x0350:  4424 a37e c5bd 0f69 f5fa 0b89 4b1b 47f6  D$.~...i....K.G.
	0x0360:  d766 4718 62a4 d1eb e753 fff5 4d0d f904  .fG.b....S..M...
	0x0370:  2d55 e92b 7624 9323 44cb 0259 980a 223b  -U.+v$.#D..Y..";
	0x0380:  9c5e 1d0b 0831 ed3b 842b 5df8 c904 4630  .^...1.;.+]...F0
	0x0390:  0fa9 3d2f e478 a206 b4fd 488b 2392 8b7c  ..=/.x....H.#..|
	0x03a0:  e8a1 1720 0a36 5965 eed4 d006 11ae 1d10  .....6Ye........
	0x03b0:  5d8e 2b18 110d 7f67 c574 075e e58c 8f2e  ].+....g.t.^....
	0x03c0:  e445 e685 10a3 dae8 5fe4 88af 2a1a c5ab  .E......_...*...
	0x03d0:  5548 9280 96ce 8fbe 5342 a305 e2a5 2193  UH......SB....!.
	0x03e0:  8e8e 2c7b 751a 8a07 0ef1 96c8 f94f e237  ..,{u........O.7
	0x03f0:  376e 4098 8015 44f8 cfac 2d29 0e6d 1184  7n@...D...-).m..
	0x0400:  9a87 beab f95f ebd3 6959 4f56 7ab3 9ec7  ....._..iYOVz...
	0x0410:  b034 ec68 e5c2 7d1a 99ef 64fe 0cf6 7751  .4.h..}...d...wQ
	0x0420:  856f 69f8 47cf 9d07 c699 df25 69f2 99cb  .oi.G......%i...
	0x0430:  a629 3435 bbad 432a 5d5b a1d0 b3a3 885c  .)45..C*][.....\
	0x0440:  1e05 a6d3 de98 ec1f 93db 65d6 9788 f92e  ..........e.....
	0x0450:  6e87 036f 1e61 4a9a de14 b3ef 80ff 49a3  n..o.aJ.......I.
	0x0460:  f7c6 8f52 c55f 1d73 c789 5fab 5d0f 74c0  ...R._.s.._.].t.
	0x0470:  8656 809b cf0f 0fc9 77c2 508f b79e ce7d  .V......w.P....}
	0x0480:  4f23 35d7 8ee8 2d82 cd82 be49 65d1 32e7  O#5...-....Ie.2.
	0x0490:  a205 3e8c a395 8110 2b94 7970 7c7c fec4  ..>.....+.yp||..
	0x04a0:  05be 4cad 2747 ca27 89b9 c077 edc4 f22e  ..L.'G.'...w....
	0x04b0:  a995 1a85 b941 1a34 83dc 0dc3 0a64 521c  .....A.4.....dR.
	0x04c0:  8664 92bb 3f3c 3a00 4d90 5177 4a14 5f06  .d..?<:.M.QwJ._.
	0x04d0:  b64f 3f7f 2e0f 51a3 b432 3b51 771e 9607  .O?...Q..2;Qw...
	0x04e0:  e559 efb9 0664 00b6 3d94 2c97 8124 7150  .Y...d..=.,..$qP
	0x04f0:  9d58 1bbf 024c 7216 208c 2109 d59b 9c48  .X...Lr...!....H
	0x0500:  9f52 11c1 c5a9 44ef 27c7 26ee 4cd8 4668  .R....D.'.&.L.Fh
	0x0510:  9bb6 af11 7e42 8468 5425 4664 000f 2499  ....~B.hT%Fd..$.
	0x0520:  9779 4ebc 22c7 eec8 367d ba31 844a 1196  .yN."...6}.1.J..
	0x0530:  7ec3 4892 ac30 9222 1161 a9eb 25de f2cf  ~.H..0.".a..%...
	0x0540:  ba79 db32 0bfd 5aff bea0 8875 bc2b 336d  .y.2..Z....u.+3m
	0x0550:  ad1c d84a 0f2d f37e 49ee abf6 a616 6cdb  ...J.-.~I.....l.
	0x0560:  ab41 0124 c177 8afb 500f 5e8c fb59 41be  .A.$.w..P.^..YA.
	0x0570:  49b7 80b8 549a 4b93 54fa 48cb ce10 5f10  I...T.K.T.H..._.
	0x0580:  9a6d 0111 c832 9b61 0149 e104 e6cc 02d5  .m...2.a.I......
	0x0590:  5d9d 591a 4516 ec45 b6d4 b807 8548 d49b  ].Y.E..E.....H..
	0x05a0:  a1d0 0441 a979 c728 f25a dd54 ed35 078b  ...A.y.(.Z.T.5..
	0x05b0:  4eeb 8205 56c1 96ac ef12 816e f472 3b50  N...V......n.r;P
	0x05c0:  6699 b8e1 17c3 6e18 0088 82c9 00ed 18b8  f.....n.........
	0x05d0:  e0ea e87b 9f1f 574e 0d26 9047            ...{..WN.&.G
00:55:40.291446 IP (tos 0x0, ttl 64, id 50821, offset 0, flags [DF], proto TCP (6), length 1500)
    192.168.0.10.8008 > 192.168.0.20.50314: Flags [P.], cksum 0x798b (correct), seq 4278948656:4278950104, ack 3104178536, win 504, options [nop,nop,TS val 3361833839 ecr 3227778050], length 1448
	0x0000:  4500 05dc c685 4000 4006 ed27 c0a8 000a  E.....@.@..'....
	0x0010:  c0a8 0014 1f48 c48a ff0b 9330 b906 0168  .....H.....0...h
	0x0020:  8018 01f8 798b 0000 0101 080a c861 836f  ....y........a.o
	0x0030:  c063 fc02 9754 a172 8e4f 2c12 ae41 b8d7  .c...T.r.O,..A..
	0x0040:  3676 64cf 6dd7 c6fb d3e7 3af4 039f 1411  6vd.m.....:.....
	0x0050:  5783 ae0d a313 a970 0331 0c4f 6e3d 25bf  W......p.1.On=%.
	0x0060:  1329 87bd 80ba 7b7a ff70 c04a 5c3d 4597  .)....{z.p.J\=E.
	0x0070:  6239 8197 6ef7 f10e 5d6d 0efd f4c2 b175  b9..n...]m.....u
	0x0080:  27bd 0a91 4162 3abd 3eb0 b81b f09a f090  '...Ab:.>.......
	0x0090:  584e 1632 9c43 a4d1 73e6 1cb5 68b8 8ed8  XN.2.C..s...h...
	0x00a0:  9254 34d5 0e5b 1ec3 a556 adad e391 65f8  .T4..[...V....e.
	0x00b0:  77cb fd68 293a c25c 9ef7 60bf 2b8e 2e38  w..h):.\..`.+..8
	0x00c0:  c7b9 5d5f ec1f 876d c8fd 03a3 0873 6f4c  ..]_...m.....soL
	0x00d0:  0532 a748 5c06 5641 6445 7086 156c 9bd2  .2.H\.VAdEp..l..
	0x00e0:  6414 77b8 6279 d017 f2bb 7abb db5d 57a1  d.w.by....z..]W.
	0x00f0:  da52 39a5 3db7 8652 7522 578c 68bf 9ff4  .R9.=..Ru"W.h...
	0x0100:  2e60 a5d1 7c6c 05be 10e6 71ce 7352 fe72  .`..|l....q.sR.r
	0x0110:  800a af08 59b9 8e17 58e9 3cd7 6d6d 7b36  ....Y...X.<.mm{6
	0x0120:  2a8a abd5 e01e aa91 8eca fda5 e54d 46d3  *............MF.
	0x0130:  5613 f784 adda c043 70ef b2bd 69bb 105c  V......Cp...i..\
	0x0140:  0078 2188 5e0c f452 00e6 220b 86b4 a5f1  .x!.^..R..".....
	0x0150:  72c4 0a20 80b3 1073 4014 cf11 3302 aace  r......s@...3...
	0x0160:  27a1 00e4 a66f ed41 295f 5d87 bd6a 2889  '....o.A)_]..j(.
	0x0170:  9d3e 2c57 8af9 2e53 cf87 8ab2 e02b 9772  .>,W...S.....+.r
	0x0180:  9b19 a3a4 be92 c3dd 2b36 f564 1661 b4d0  ........+6.d.a..
	0x0190:  d792 4cff 1a9c 2c27 b159 3819 5100 e738  ..L...,'.Y8.Q..8
	0x01a0:  f5c6 54ba bb33 b1c8 747d 7955 35f3 15b3  ..T..3..t}yU5...
	0x01b0:  69d6 e771 4932 4695 16b3 615a aa8d ba8b  i..qI2F...aZ....
	0x01c0:  3c1c aa69 1b20 441b 6d9e 702f b20f 1cd0  <..i..D.m.p/....
	0x01d0:  785e 031a 73f8 e114 8da1 ecc2 f66c fcec  x^..s........l..
	0x01e0:  c49d aaff 0525 caec 93d3 8768 6521 0f85  .....%.....he!..
	0x01f0:  692f fce4 49ec 9382 6f9c f0f7 24bb 9f10  i/..I...o...$...
	0x0200:  fab4 114a f3e3 919d 1eef 5185 62cf 83e1  ...J......Q.b...
	0x0210:  9e12 376a 4df3 9ad0 c9d0 de91 73be ce8a  ..7jM.......s...
	0x0220:  027f 7d58 e3d9 8c9f 77bd a6b5 d961 75ea  ..}X....w....au.
	0x0230:  54d4 ed50 5dde cf7e 60ba 23b3 22cf 0919  T..P]..~`.#."...
	0x0240:  f99c 9704 593a cfe7 8d8e caf4 146f a7ac  ....Y:.......o..
	0x0250:  6a6c c3ed 8362 c019 6265 c5df e9a3 ca56  jl...b..be.....V
	0x0260:  ad4e 4bee 6ca2 b995 dbf1 4cfd 21e8 8ecc  .NK.l.....L.!...
	0x0270:  ca80 11f9 0c0b 8800 88ca 9905 c642 e84f  .............B.O
	0x0280:  a56a 596e eeb7 96be ec6f c462 b5d8 af4a  .jYn.....o.b...J
	0x0290:  7ed9 0d67 5e59 e6d9 b1e0 31ea a274 3ffa  ~..g^Y....1..t?.
	0x02a0:  9bee fcd8 7447 6615 8ed0 9a0c e7e0 459e  ....tGf.......E.
	0x02b0:  3fcf a3eb e9d2 34b1 d3c3 fe64 678f 5534  ?.....4....dg.U4
	0x02c0:  e8b7 f108 7723 b938 8306 3297 c0de 7667  ....w#.8..2...vg
	0x02d0:  437f 325e 07ef 4677 f8b7 a502 52fe 045e  C.2^..Fw....R..^
	0x02e0:  cac0 ca71 a22c 9e61 75fa b78b 0992 c120  ...q.,.au.......
	0x02f0:  3fea 3476 e5a2 e5f6 c77d 6c69 93de 14d8  ?.4v.....}li....
	0x0300:  caa4 5009 f692 a3cc 1b03 d6f9 0874 47e6  ..P..........tG.
	0x0310:  1845 9140 0640 16b0 2277 0650 9e38 aa5e  .E.@.@.."w.P.8.^
	0x0320:  d07d cfec afba eba9 bf6f 7611 8fab 82e3  .}.......ov.....
	0x0330:  63a7 bc96 ab56 a70a a241 d46d cd9d 0f49  c....V...A.m...I
	0x0340:  7764 8e23 f93d e328 4758 82a0 9c1f e518  wd.#.=.(GX......
	0x0350:  c0ca c6a6 d25d d626 5677 d6ab cd27 425b  .....].&Vw...'B[
	0x0360:  bd6b 72c6 ae67 c85d af15 93ec 5e96 80c5  .kr..g.]....^...
	0x0370:  3746 1f88 eec8 1c2f 0321 0327 a7b0 8c7c  7F...../.!.'...|
	0x0380:  8ed3 2f4b 9e33 e80c 6175 c876 f89a b29b  ../K.3..au.v....
	0x0390:  02bd a575 9bec b438 ba2f ce40 194e 769c  ...u...8./.@.Nv.
	0x03a0:  1aeb a592 79b1 8a3d beb9 7b69 193b bc36  ....y..=..{i.;.6
	0x03b0:  a012 30da d1a7 497f f226 6721 d7a5 9920  ..0...I..&g!....
	0x03c0:  0b9b c2b1 12c7 8bf2 056c 0acb 13be 2a0a  .........l....*.
	0x03d0:  67d0 606c 96a5 c2dd aada 529d 065f 980a  g.`l......R.._..
	0x03e0:  8361 c98b c72a eceb 9ddb 59cf af09 311c  .a...*....Y...1.
	0x03f0:  82c6 bc54 af7f 6b68 87f7 2047 70bf c09f  ...T..kh...Gp...
	0x0400:  ac10 2dfe fd5b cec2 7815 dd7c fa64 0681  ..-..[..x..|.d..
	0x0410:  99b4 81bd 4fbf e57e 6ded 7f4a 6ffc 4408  ....O..~m..Jo.D.
	0x0420:  93f3 cb27 f82b 99bb 0842 8fb6 ef0c ed8f  ...'.+...B......
	0x0430:  4ba1 adae 2752 a7c7 24a8 485c 62cf cdb6  K...'R..$.H\b...
	0x0440:  b840 4e76 8a22 7397 2cce 034e 3937 b73c  .@Nv."s.,..N97.<
	0x0450:  75c7 3b6b 3998 deea 685c ac37 a6ee 04d4  u.;k9...h\.7....
	0x0460:  eace ed5e d3c3 bc50 1b45 424b 6215 b7af  ...^...P.EBKb...
	0x0470:  f6cc bf3a 710e 9035 ad45 c371 67b7 b496  ...:q..5.E.qg...
	0x0480:  b7d5 4ded 47ee 1312 3f51 c0e5 9423 3302  ..M.G...?Q...#3.
	0x0490:  a997 e729 871c b5cd 5217 2e38 aee4 78c3  ...)....R..8..x.
	0x04a0:  deb4 df1f c8eb 8a3a 8128 c0d5 e92e 9ccc  .......:.(......
	0x04b0:  4a68 c2a2 d5ed ccf9 31fa 8422 6019 c065  Jh......1.."`..e
	0x04c0:  5880 23bf e7ed 9135 6287 4ed7 f5fb a36e  X.#....5b.N....n
	0x04d0:  b104 1682 da41 1bb1 6d96 9653 7e5c 9dde  .....A..m..S~\..
	0x04e0:  df55 37b0 735f ed95 cb93 c2df c4f9 07ef  .U7.s_..........
	0x04f0:  138a 40e1 1531 cb39 80c4 9d13 e731 40a8  ..@..1.9.....1@.
	0x0500:  d498 0e8b b7fa a66a 28f5 4ac8 f734 3b76  .......j(.J..4;v
	0x0510:  c27d 5cf2 664e a7c2 37b7 23a9 c6e2 2e78  .}\.fN..7.#....x
	0x0520:  37e2 ccbe 2d15 88ac 24cb 4c06 5686 e504  7...-...$.L.V...
	0x0530:  f60c ebdd 621c d8b5 bb16 d38c c26d 715b  ....b........mq[
	0x0540:  9c37 65c1 edf2 c5b1 1ab4 ab62 3f2f b5fb  .7e........b?/..
	0x0550:  7d6b 210f 87d5 d187 e813 120e c967 d02b  }k!..........g.+
	0x0560:  1928 b4a3 7406 30ef 573a 8559 882b 1cb7  .(..t.0.W:.Y.+..
	0x0570:  994a 3370 6bf9 d674 de56 02ab a032 9c01  .J3pk..t.V...2..
	0x0580:  8d72 1d0b 5b7b adf6 5b1f b34f 280a 0297  .r..[{..[..O(...
	0x0590:  d13f 9381 cc2b 5ff4 cf8c fb70 604f f87c  .?...+_....p`O.|
	0x05a0:  bfeb 757b 4164 368a edb1 526a b96a cbba  ..u{Ad6...Rj.j..
	0x05b0:  8bd6 2391 8b07 86a2 5833 de01 1fa9 4f28  ..#.....X3....O(
	0x05c0:  4a80 9794 0c9c a222 09fc 194e cfeb e9a5  J......"...N....
	0x05d0:  8e17 3622 7b66 5680 3c2a e40b            ..6"{fV.<*..
00:55:40.295061 IP (tos 0x0, ttl 64, id 50822, offset 0, flags [DF], proto TCP (6), length 161)
    192.168.0.10.8008 > 192.168.0.20.50314: Flags [P.], cksum 0xe90b (correct), seq 4278950104:4278950213, ack 3104178536, win 504, options [nop,nop,TS val 3361833843 ecr 3227778050], length 109
	0x0000:  4500 00a1 c686 4000 4006 f261 c0a8 000a  E.....@.@..a....
	0x0010:  c0a8 0014 1f48 c48a ff0b 98d8 b906 0168  .....H.........h
	0x0020:  8018 01f8 e90b 0000 0101 080a c861 8373  .............a.s
	0x0030:  c063 fc02 e4bc d7be ef98 8351 3d56 9b3b  .c.........Q=V.;
	0x0040:  dbab 2d8b 9883 dbbf 32dd 7978 ca9a 7486  ..-.....2.yx..t.
	0x0050:  8be0 267d 3b7c 9533 c320 5e3d 7f83 fa3b  ..&};|.3..^=...;
	0x0060:  630f 2f8b 93ff 7924 ec88 6e68 f4b8 c805  c./...y$..nh....
	0x0070:  4d24 8ebd 3e4c 897d 52d8 0c8d 18d4 9d43  M$..>L.}R......C
	0x0080:  dda1 3335 ea73 87ff a7f2 c921 e42b dbf2  ..35.s.....!.+..
	0x0090:  f07f 2bbc e8bc c12c 0000 0d0a 300d 0a0d  ..+....,....0...
	0x00a0:  0a                                       .
00:55:40.340371 IP (tos 0x0, ttl 63, id 60310, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.0.20.50314 > 192.168.0.10.8008: Flags [.], cksum 0xb3fc (correct), seq 3104178536, ack 4278950104, win 501, options [nop,nop,TS val 3227778305 ecr 3361833839], length 0
	0x0000:  4500 0034 eb96 4000 3f06 cebe c0a8 0014  E..4..@.?.......
	0x0010:  c0a8 000a c48a 1f48 b906 0168 ff0b 98d8  .......H...h....
	0x0020:  8010 01f5 b3fc 0000 0101 080a c063 fd01  .............c..
	0x0030:  c861 836f                                .a.o
00:55:40.341651 IP (tos 0x0, ttl 63, id 7334, offset 0, flags [DF], proto TCP (6), length 60)
    192.168.0.20.50316 > 192.168.0.10.8008: Flags [S], cksum 0x71b6 (correct), seq 539203723, win 64240, options [mss 1460,sackOK,TS val 3227778306 ecr 0,nop,wscale 7], length 0
	0x0000:  4500 003c 1ca6 4000 3f06 9da7 c0a8 0014  E..<..@.?.......
	0x0010:  c0a8 000a c48c 1f48 2023 988b 0000 0000  .......H.#......
	0x0020:  a002 faf0 71b6 0000 0204 05b4 0402 080a  ....q...........
	0x0030:  c063 fd02 0000 0000 0103 0307            .c..........
00:55:40.341825 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 60)
    192.168.0.10.8008 > 192.168.0.20.50316: Flags [S.], cksum 0x1259 (correct), seq 3657577901, ack 539203724, win 65160, options [mss 1460,sackOK,TS val 3361833890 ecr 3227778306,nop,wscale 7], length 0
	0x0000:  4500 003c 0000 4000 4006 b94d c0a8 000a  E..<..@.@..M....
	0x0010:  c0a8 0014 1f48 c48c da02 35ad 2023 988c  .....H....5..#..
	0x0020:  a012 fe88 1259 0000 0204 05b4 0402 080a  .....Y..........
	0x0030:  c861 83a2 c063 fd02 0103 0307            .a...c......
00:55:40.363753 IP (tos 0x0, ttl 63, id 7335, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.0.20.50316 > 192.168.0.10.8008: Flags [.], cksum 0x3d99 (correct), seq 539203724, ack 3657577902, win 502, options [nop,nop,TS val 3227778337 ecr 3361833890], length 0
	0x0000:  4500 0034 1ca7 4000 3f06 9dae c0a8 0014  E..4..@.?.......
	0x0010:  c0a8 000a c48c 1f48 2023 988c da02 35ae  .......H.#....5.
	0x0020:  8010 01f6 3d99 0000 0101 080a c063 fd21  ....=........c.!
	0x0030:  c861 83a2                                .a..
00:55:40.364210 IP (tos 0x0, ttl 63, id 7336, offset 0, flags [DF], proto TCP (6), length 574)
    192.168.0.20.50316 > 192.168.0.10.8008: Flags [P.], cksum 0xce44 (correct), seq 539203724:539204246, ack 3657577902, win 502, options [nop,nop,TS val 3227778337 ecr 3361833890], length 522
	0x0000:  4500 023e 1ca8 4000 3f06 9ba3 c0a8 0014  E..>..@.?.......
	0x0010:  c0a8 000a c48c 1f48 2023 988c da02 35ae  .......H.#....5.
	0x0020:  8018 01f6 ce44 0000 0101 080a c063 fd21  .....D.......c.!
	0x0030:  c861 83a2 4745 5420 2f5f 6d61 7472 6978  .a..GET./_matrix
	0x0040:  2f63 6c69 656e 742f 7230 2f64 6972 6563  /client/r0/direc
	0x0050:  746f 7279 2f72 6f6f 6d2f 2532 3374 6573  tory/room/%23tes
	0x0060:  7434 2533 416c 6f63 616c 686f 7374 2048  t4%3Alocalhost.H
	0x0070:  5454 502f 312e 310d 0a48 6f73 743a 2031  TTP/1.1..Host:.1
	0x0080:  3932 2e31 3638 2e30 2e31 303a 3830 3038  92.168.0.10:8008
	0x0090:  0d0a 5573 6572 2d41 6765 6e74 3a20 6d61  ..User-Agent:.ma
	0x00a0:  7472 6978 2d70 7974 686f 6e2d 7364 6b2f  trix-python-sdk/
	0x00b0:  302e 342e 302d 6465 760d 0a41 6363 6570  0.4.0-dev..Accep
	0x00c0:  742d 456e 636f 6469 6e67 3a20 677a 6970  t-Encoding:.gzip
	0x00d0:  2c20 6465 666c 6174 650d 0a41 6363 6570  ,.deflate..Accep
	0x00e0:  743a 202a 2f2a 0d0a 436f 6e6e 6563 7469  t:.*/*..Connecti
	0x00f0:  6f6e 3a20 6b65 6570 2d61 6c69 7665 0d0a  on:.keep-alive..
	0x0100:  436f 6e74 656e 742d 5479 7065 3a20 6170  Content-Type:.ap
	0x0110:  706c 6963 6174 696f 6e2f 6a73 6f6e 0d0a  plication/json..
	0x0120:  4175 7468 6f72 697a 6174 696f 6e3a 2042  Authorization:.B
	0x0130:  6561 7265 7220 4d44 4178 4e32 7876 5932  earer.MDAxN2xvY2
	0x0140:  4630 6157 3975 4947 7876 5932 4673 6147  F0aW9uIGxvY2FsaG
	0x0150:  397a 6441 6f77 4d44 457a 6157 526c 626e  9zdAowMDEzaWRlbn
	0x0160:  5270 5a6d 6c6c 6369 4272 5a58 6b4b 4d44  RpZmllciBrZXkKMD
	0x0170:  4178 4d47 4e70 5a43 426e 5a57 3467 5053  AxMGNpZCBnZW4gPS
	0x0180:  4178 436a 4177 4d6a 4e6a 6157 5167 6458  AxCjAwMjNjaWQgdX
	0x0190:  4e6c 636c 3970 5a43 4139 4945 426b 6232  Nlcl9pZCA9IEBkb2
	0x01a0:  4a79 5a54 7073 6232 4e68 6247 6876 6333  JyZTpsb2NhbGhvc3
	0x01b0:  514b 4d44 4178 4e6d 4e70 5a43 4230 6558  QKMDAxNmNpZCB0eX
	0x01c0:  426c 4944 3067 5957 4e6a 5a58 4e7a 436a  BlID0gYWNjZXNzCj
	0x01d0:  4177 4d6a 466a 6157 5167 626d 3975 5932  AwMjFjaWQgbm9uY2
	0x01e0:  5567 5053 4235 516d 5972 586a 307a 5347  UgPSB5QmYrXj0zSG
	0x01f0:  4e2d 5757 4e61 4930 4a45 436a 4177 4d6d  N-WWNaI0JECjAwMm
	0x0200:  5a7a 6157 6475 5958 5231 636d 5567 4254  ZzaWduYXR1cmUgBT
	0x0210:  487a 3978 576e 794a 4c74 6b64 4a74 646d  Hz9xWnyJLtkdJtdm
	0x0220:  4651 6741 7756 5369 6532 4a6b 5451 4639  FQgAwVSie2JkTQF9
	0x0230:  3531 386d 6350 4a5f 494b 0d0a 0d0a       518mcPJ_IK....
00:55:40.364328 IP (tos 0x0, ttl 64, id 46353, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.0.10.8008 > 192.168.0.20.50316: Flags [.], cksum 0x3b76 (correct), seq 3657577902, ack 539204246, win 505, options [nop,nop,TS val 3361833912 ecr 3227778337], length 0
	0x0000:  4500 0034 b511 4000 4006 0444 c0a8 000a  E..4..@.@..D....
	0x0010:  c0a8 0014 1f48 c48c da02 35ae 2023 9a96  .....H....5..#..
	0x0020:  8010 01f9 3b76 0000 0101 080a c861 83b8  ....;v.......a..
	0x0030:  c063 fd21                                .c.!
00:55:40.375308 IP (tos 0x0, ttl 63, id 60311, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.0.20.50314 > 192.168.0.10.8008: Flags [.], cksum 0xb360 (correct), seq 3104178536, ack 4278950213, win 501, options [nop,nop,TS val 3227778348 ecr 3361833843], length 0
	0x0000:  4500 0034 eb97 4000 3f06 cebd c0a8 0014  E..4..@.?.......
	0x0010:  c0a8 000a c48a 1f48 b906 0168 ff0b 9945  .......H...h...E
	0x0020:  8010 01f5 b360 0000 0101 080a c063 fd2c  .....`.......c.,
	0x0030:  c861 8373                                .a.s
00:55:40.389338 IP (tos 0x0, ttl 64, id 46354, offset 0, flags [DF], proto TCP (6), length 563)
    192.168.0.10.8008 > 192.168.0.20.50316: Flags [P.], cksum 0x8db0 (correct), seq 3657577902:3657578413, ack 539204246, win 505, options [nop,nop,TS val 3361833937 ecr 3227778337], length 511
	0x0000:  4500 0233 b512 4000 4006 0244 c0a8 000a  E..3..@.@..D....
	0x0010:  c0a8 0014 1f48 c48c da02 35ae 2023 9a96  .....H....5..#..
	0x0020:  8018 01f9 8db0 0000 0101 080a c861 83d1  .............a..
	0x0030:  c063 fd21 4854 5450 2f31 2e31 2032 3030  .c.!HTTP/1.1.200
	0x0040:  204f 4b0d 0a54 7261 6e73 6665 722d 456e  .OK..Transfer-En
	0x0050:  636f 6469 6e67 3a20 6368 756e 6b65 640d  coding:.chunked.
	0x0060:  0a53 6572 7665 723a 2053 796e 6170 7365  .Server:.Synapse
	0x0070:  2f31 2e32 342e 300d 0a44 6174 653a 2054  /1.24.0..Date:.T
	0x0080:  6875 2c20 3134 204a 616e 2032 3032 3120  hu,.14.Jan.2021.
	0x0090:  3030 3a35 353a 3430 2047 4d54 0d0a 436f  00:55:40.GMT..Co
	0x00a0:  6e74 656e 742d 456e 636f 6469 6e67 3a20  ntent-Encoding:.
	0x00b0:  677a 6970 0d0a 436f 6e74 656e 742d 5479  gzip..Content-Ty
	0x00c0:  7065 3a20 6170 706c 6963 6174 696f 6e2f  pe:.application/
	0x00d0:  6a73 6f6e 0d0a 4361 6368 652d 436f 6e74  json..Cache-Cont
	0x00e0:  726f 6c3a 206e 6f2d 6361 6368 652c 206e  rol:.no-cache,.n
	0x00f0:  6f2d 7374 6f72 652c 206d 7573 742d 7265  o-store,.must-re
	0x0100:  7661 6c69 6461 7465 0d0a 4163 6365 7373  validate..Access
	0x0110:  2d43 6f6e 7472 6f6c 2d41 6c6c 6f77 2d4f  -Control-Allow-O
	0x0120:  7269 6769 6e3a 202a 0d0a 4163 6365 7373  rigin:.*..Access
	0x0130:  2d43 6f6e 7472 6f6c 2d41 6c6c 6f77 2d4d  -Control-Allow-M
	0x0140:  6574 686f 6473 3a20 4745 542c 2048 4541  ethods:.GET,.HEA
	0x0150:  442c 2050 4f53 542c 2050 5554 2c20 4445  D,.POST,.PUT,.DE
	0x0160:  4c45 5445 2c20 4f50 5449 4f4e 530d 0a41  LETE,.OPTIONS..A
	0x0170:  6363 6573 732d 436f 6e74 726f 6c2d 416c  ccess-Control-Al
	0x0180:  6c6f 772d 4865 6164 6572 733a 204f 7269  low-Headers:.Ori
	0x0190:  6769 6e2c 2058 2d52 6571 7565 7374 6564  gin,.X-Requested
	0x01a0:  2d57 6974 682c 2043 6f6e 7465 6e74 2d54  -With,.Content-T
	0x01b0:  7970 652c 2041 6363 6570 742c 2041 7574  ype,.Accept,.Aut
	0x01c0:  686f 7269 7a61 7469 6f6e 2c20 4461 7465  horization,.Date
	0x01d0:  0d0a 0d0a 610d 0a1f 8b08 0000 0000 0002  ....a...........
	0x01e0:  030d 0a34 350d 0aab 562a cacf cf8d cf4c  ...45...V*.....L
	0x01f0:  51b2 5252 ac08 f4ce 28ab 2871 8dcc 7673  Q.RR....(.(q..vs
	0x0200:  2d0f 71cd aa8a b2ca c94f 4ecc c9c8 2f2e  -.q......ON.../.
	0x0210:  51d2 512a 4e2d 2a4b 2d2a 56b2 8a56 4208  Q.Q*N-*K-*V..VB.
	0x0220:  c7d6 0200 c54a 7d1e 4300 0000 0d0a 300d  .....J}.C.....0.
	0x0230:  0a0d 0a                                  ...
00:55:40.401145 IP (tos 0x0, ttl 63, id 7337, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.0.20.50316 > 192.168.0.10.8008: Flags [.], cksum 0x393c (correct), seq 539204246, ack 3657578413, win 501, options [nop,nop,TS val 3227778375 ecr 3361833937], length 0
	0x0000:  4500 0034 1ca9 4000 3f06 9dac c0a8 0014  E..4..@.?.......
	0x0010:  c0a8 000a c48c 1f48 2023 9a96 da02 37ad  .......H.#....7.
	0x0020:  8010 01f5 393c 0000 0101 080a c063 fd47  ....9<.......c.G
	0x0030:  c861 83d1                                .a..
00:55:40.403193 IP (tos 0x0, ttl 63, id 60312, offset 0, flags [DF], proto TCP (6), length 634)
    192.168.0.20.50314 > 192.168.0.10.8008: Flags [P.], cksum 0x7434 (correct), seq 3104178536:3104179118, ack 4278950213, win 501, options [nop,nop,TS val 3227778377 ecr 3361833843], length 582
	0x0000:  4500 027a eb98 4000 3f06 cc76 c0a8 0014  E..z..@.?..v....
	0x0010:  c0a8 000a c48a 1f48 b906 0168 ff0b 9945  .......H...h...E
	0x0020:  8018 01f5 7434 0000 0101 080a c063 fd49  ....t4.......c.I
	0x0030:  c861 8373 5055 5420 2f5f 6d61 7472 6978  .a.sPUT./_matrix
	0x0040:  2f63 6c69 656e 742f 7230 2f72 6f6f 6d73  /client/r0/rooms
	0x0050:  2f25 3231 7851 4b68 7678 7445 596b 4645  /%21xQKhvxtEYkFE
	0x0060:  7754 456a 7a5a 2533 416c 6f63 616c 686f  wTEjzZ%3Alocalho
	0x0070:  7374 2f73 656e 642f 6d2e 726f 6f6d 2e6d  st/send/m.room.m
	0x0080:  6573 7361 6765 2f30 3136 3130 3538 3537  essage/016105857
	0x0090:  3430 3632 3320 4854 5450 2f31 2e31 0d0a  40623.HTTP/1.1..
	0x00a0:  486f 7374 3a20 3139 322e 3136 382e 302e  Host:.192.168.0.
	0x00b0:  3130 3a38 3030 380d 0a55 7365 722d 4167  10:8008..User-Ag
	0x00c0:  656e 743a 206d 6174 7269 782d 7079 7468  ent:.matrix-pyth
	0x00d0:  6f6e 2d73 646b 2f30 2e34 2e30 2d64 6576  on-sdk/0.4.0-dev
	0x00e0:  0d0a 4163 6365 7074 2d45 6e63 6f64 696e  ..Accept-Encodin
	0x00f0:  673a 2067 7a69 702c 2064 6566 6c61 7465  g:.gzip,.deflate
	0x0100:  0d0a 4163 6365 7074 3a20 2a2f 2a0d 0a43  ..Accept:.*/*..C
	0x0110:  6f6e 6e65 6374 696f 6e3a 206b 6565 702d  onnection:.keep-
	0x0120:  616c 6976 650d 0a43 6f6e 7465 6e74 2d54  alive..Content-T
	0x0130:  7970 653a 2061 7070 6c69 6361 7469 6f6e  ype:.application
	0x0140:  2f6a 736f 6e0d 0a41 7574 686f 7269 7a61  /json..Authoriza
	0x0150:  7469 6f6e 3a20 4265 6172 6572 204d 4441  tion:.Bearer.MDA
	0x0160:  784e 3278 7659 3246 3061 5739 7549 4778  xN2xvY2F0aW9uIGx
	0x0170:  7659 3246 7361 4739 7a64 416f 774d 4445  vY2FsaG9zdAowMDE
	0x0180:  7a61 5752 6c62 6e52 705a 6d6c 6c63 6942  zaWRlbnRpZmllciB
	0x0190:  725a 586b 4b4d 4441 784d 474e 705a 4342  rZXkKMDAxMGNpZCB
	0x01a0:  6e5a 5734 6750 5341 7843 6a41 774d 6a4e  nZW4gPSAxCjAwMjN
	0x01b0:  6a61 5751 6764 584e 6c63 6c39 705a 4341  jaWQgdXNlcl9pZCA
	0x01c0:  3949 4542 6b62 324a 795a 5470 7362 324e  9IEBkb2JyZTpsb2N
	0x01d0:  6862 4768 7663 3351 4b4d 4441 784e 6d4e  hbGhvc3QKMDAxNmN
	0x01e0:  705a 4342 3065 5842 6c49 4430 6759 574e  pZCB0eXBlID0gYWN
	0x01f0:  6a5a 584e 7a43 6a41 774d 6a46 6a61 5751  jZXNzCjAwMjFjaWQ
	0x0200:  6762 6d39 7559 3255 6750 5342 3551 6d59  gbm9uY2UgPSB5QmY
	0x0210:  7258 6a30 7a53 474e 2d57 574e 6149 304a  rXj0zSGN-WWNaI0J
	0x0220:  4543 6a41 774d 6d5a 7a61 5764 7559 5852  ECjAwMmZzaWduYXR
	0x0230:  3163 6d55 6742 5448 7a39 7857 6e79 4a4c  1cmUgBTHz9xWnyJL
	0x0240:  746b 644a 7464 6d46 5167 4177 5653 6965  tkdJtdmFQgAwVSie
	0x0250:  324a 6b54 5146 3935 3138 6d63 504a 5f49  2JkTQF9518mcPJ_I
	0x0260:  4b0d 0a43 6f6e 7465 6e74 2d4c 656e 6774  K..Content-Lengt
	0x0270:  683a 2031 3933 0d0a 0d0a                 h:.193....
00:55:40.403279 IP (tos 0x0, ttl 64, id 50823, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.0.10.8008 > 192.168.0.20.50314: Flags [.], cksum 0xb091 (correct), seq 4278950213, ack 3104179118, win 501, options [nop,nop,TS val 3361833951 ecr 3227778377], length 0
	0x0000:  4500 0034 c687 4000 4006 f2cd c0a8 000a  E..4..@.@.......
	0x0010:  c0a8 0014 1f48 c48a ff0b 9945 b906 03ae  .....H.....E....
	0x0020:  8010 01f5 b091 0000 0101 080a c861 83df  .............a..
	0x0030:  c063 fd49                                .c.I
00:55:40.412513 IP (tos 0x0, ttl 63, id 60313, offset 0, flags [DF], proto TCP (6), length 245)
    192.168.0.20.50314 > 192.168.0.10.8008: Flags [P.], cksum 0x79ef (correct), seq 3104179118:3104179311, ack 4278950213, win 501, options [nop,nop,TS val 3227778377 ecr 3361833843], length 193
	0x0000:  4500 00f5 eb99 4000 3f06 cdfa c0a8 0014  E.....@.?.......
	0x0010:  c0a8 000a c48a 1f48 b906 03ae ff0b 9945  .......H.......E
	0x0020:  8018 01f5 79ef 0000 0101 080a c063 fd49  ....y........c.I
	0x0030:  c861 8373 7b22 6d73 6774 7970 6522 3a20  .a.s{"msgtype":.
	0x0040:  226d 2e6e 6f74 6963 6522 2c20 2262 6f64  "m.notice",."bod
	0x0050:  7922 3a20 223c 6120 6872 6566 3d5c 2268  y":."<a.href=\"h
	0x0060:  7474 7073 3a2f 2f67 6f6f 676c 652e 636f  ttps://google.co
	0x0070:  6d2f 5c22 3e4d 7920 676f 6f67 6c65 206c  m/\">My.google.l
	0x0080:  696e 6b3c 2f61 3e22 2c20 2266 6f72 6d61  ink</a>",."forma
	0x0090:  7474 6564 5f62 6f64 7922 3a20 223c 6120  tted_body":."<a.
	0x00a0:  6872 6566 3d5c 2268 7474 7073 3a2f 2f67  href=\"https://g
	0x00b0:  6f6f 676c 652e 636f 6d2f 5c22 3e4d 7920  oogle.com/\">My.
	0x00c0:  676f 6f67 6c65 206c 696e 6b3c 2f61 3e22  google.link</a>"
	0x00d0:  2c20 2266 6f72 6d61 7422 3a20 226f 7267  ,."format":."org
	0x00e0:  2e6d 6174 7269 782e 6375 7374 6f6d 2e68  .matrix.custom.h
	0x00f0:  746d 6c22 7d                             tml"}
00:55:40.412633 IP (tos 0x0, ttl 64, id 50824, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.0.10.8008 > 192.168.0.20.50314: Flags [.], cksum 0xafc7 (correct), seq 4278950213, ack 3104179311, win 501, options [nop,nop,TS val 3361833960 ecr 3227778377], length 0
	0x0000:  4500 0034 c688 4000 4006 f2cc c0a8 000a  E..4..@.@.......
	0x0010:  c0a8 0014 1f48 c48a ff0b 9945 b906 046f  .....H.....E...o
	0x0020:  8010 01f5 afc7 0000 0101 080a c861 83e8  .............a..
	0x0030:  c063 fd49                                .c.I
00:55:43.194686 IP (tos 0x0, ttl 64, id 50825, offset 0, flags [DF], proto TCP (6), length 563)
    192.168.0.10.8008 > 192.168.0.20.50314: Flags [P.], cksum 0x016c (correct), seq 4278950213:4278950724, ack 3104179311, win 501, options [nop,nop,TS val 3361836742 ecr 3227778377], length 511
	0x0000:  4500 0233 c689 4000 4006 f0cc c0a8 000a  E..3..@.@.......
	0x0010:  c0a8 0014 1f48 c48a ff0b 9945 b906 046f  .....H.....E...o
	0x0020:  8018 01f5 016c 0000 0101 080a c861 8ec6  .....l.......a..
	0x0030:  c063 fd49 4854 5450 2f31 2e31 2032 3030  .c.IHTTP/1.1.200
	0x0040:  204f 4b0d 0a54 7261 6e73 6665 722d 456e  .OK..Transfer-En
	0x0050:  636f 6469 6e67 3a20 6368 756e 6b65 640d  coding:.chunked.
	0x0060:  0a53 6572 7665 723a 2053 796e 6170 7365  .Server:.Synapse
	0x0070:  2f31 2e32 342e 300d 0a44 6174 653a 2054  /1.24.0..Date:.T
	0x0080:  6875 2c20 3134 204a 616e 2032 3032 3120  hu,.14.Jan.2021.
	0x0090:  3030 3a35 353a 3430 2047 4d54 0d0a 436f  00:55:40.GMT..Co
	0x00a0:  6e74 656e 742d 456e 636f 6469 6e67 3a20  ntent-Encoding:.
	0x00b0:  677a 6970 0d0a 436f 6e74 656e 742d 5479  gzip..Content-Ty
	0x00c0:  7065 3a20 6170 706c 6963 6174 696f 6e2f  pe:.application/
	0x00d0:  6a73 6f6e 0d0a 4361 6368 652d 436f 6e74  json..Cache-Cont
	0x00e0:  726f 6c3a 206e 6f2d 6361 6368 652c 206e  rol:.no-cache,.n
	0x00f0:  6f2d 7374 6f72 652c 206d 7573 742d 7265  o-store,.must-re
	0x0100:  7661 6c69 6461 7465 0d0a 4163 6365 7373  validate..Access
	0x0110:  2d43 6f6e 7472 6f6c 2d41 6c6c 6f77 2d4f  -Control-Allow-O
	0x0120:  7269 6769 6e3a 202a 0d0a 4163 6365 7373  rigin:.*..Access
	0x0130:  2d43 6f6e 7472 6f6c 2d41 6c6c 6f77 2d4d  -Control-Allow-M
	0x0140:  6574 686f 6473 3a20 4745 542c 2048 4541  ethods:.GET,.HEA
	0x0150:  442c 2050 4f53 542c 2050 5554 2c20 4445  D,.POST,.PUT,.DE
	0x0160:  4c45 5445 2c20 4f50 5449 4f4e 530d 0a41  LETE,.OPTIONS..A
	0x0170:  6363 6573 732d 436f 6e74 726f 6c2d 416c  ccess-Control-Al
	0x0180:  6c6f 772d 4865 6164 6572 733a 204f 7269  low-Headers:.Ori
	0x0190:  6769 6e2c 2058 2d52 6571 7565 7374 6564  gin,.X-Requested
	0x01a0:  2d57 6974 682c 2043 6f6e 7465 6e74 2d54  -With,.Content-T
	0x01b0:  7970 652c 2041 6363 6570 742c 2041 7574  ype,.Accept,.Aut
	0x01c0:  686f 7269 7a61 7469 6f6e 2c20 4461 7465  horization,.Date
	0x01d0:  0d0a 0d0a 610d 0a1f 8b08 0000 0000 0002  ....a...........
	0x01e0:  030d 0a34 350d 0aab 564a 2d4b cd2b 89cf  ...45...VJ-K.+..
	0x01f0:  4c51 b252 52c9 aa30 f649 35ac f275 b7ac  LQ.RR..0.I5..u..
	0x0200:  48b7 b0c8 f408 4a2c 3172 4949 2e4d 37f1  H.....J,1rII.M7.
	0x0210:  a9f4 4cb3 4cb6 acb4 48f4 0e33 a90a 4d77  ..L.L...H..3..Mw
	0x0220:  54aa 0500 a84f d866 3b00 0000 0d0a 300d  T....O.f;.....0.
	0x0230:  0a0d 0a                                  ...
00:55:43.256262 IP (tos 0x0, ttl 63, id 60314, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.0.20.50314 > 192.168.0.10.8008: Flags [.], cksum 0x97c8 (correct), seq 3104179311, ack 4278950724, win 501, options [nop,nop,TS val 3227781227 ecr 3361836742], length 0
	0x0000:  4500 0034 eb9a 4000 3f06 ceba c0a8 0014  E..4..@.?.......
	0x0010:  c0a8 000a c48a 1f48 b906 046f ff0b 9b44  .......H...o...D
	0x0020:  8010 01f5 97c8 0000 0101 080a c064 086b  .............d.k
	0x0030:  c861 8ec6                                .a..
00:55:43.381950 IP (tos 0x0, ttl 63, id 60315, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.0.20.50314 > 192.168.0.10.8008: Flags [F.], cksum 0x97be (correct), seq 3104179311, ack 4278950724, win 501, options [nop,nop,TS val 3227781236 ecr 3361836742], length 0
	0x0000:  4500 0034 eb9b 4000 3f06 ceb9 c0a8 0014  E..4..@.?.......
	0x0010:  c0a8 000a c48a 1f48 b906 046f ff0b 9b44  .......H...o...D
	0x0020:  8011 01f5 97be 0000 0101 080a c064 0874  .............d.t
	0x0030:  c861 8ec6                                .a..
00:55:43.382207 IP (tos 0x0, ttl 63, id 7338, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.0.20.50316 > 192.168.0.10.8008: Flags [F.], cksum 0x2e0e (correct), seq 539204246, ack 3657578413, win 501, options [nop,nop,TS val 3227781236 ecr 3361833937], length 0
	0x0000:  4500 0034 1caa 4000 3f06 9dab c0a8 0014  E..4..@.?.......
	0x0010:  c0a8 000a c48c 1f48 2023 9a96 da02 37ad  .......H.#....7.
	0x0020:  8011 01f5 2e0e 0000 0101 080a c064 0874  .............d.t
	0x0030:  c861 83d1                                .a..
00:55:43.383126 IP (tos 0x0, ttl 64, id 50826, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.0.10.8008 > 192.168.0.20.50314: Flags [F.], cksum 0x9700 (correct), seq 4278950724, ack 3104179312, win 501, options [nop,nop,TS val 3361836931 ecr 3227781236], length 0
	0x0000:  4500 0034 c68a 4000 4006 f2ca c0a8 000a  E..4..@.@.......
	0x0010:  c0a8 0014 1f48 c48a ff0b 9b44 b906 0470  .....H.....D...p
	0x0020:  8011 01f5 9700 0000 0101 080a c861 8f83  .............a..
	0x0030:  c064 0874                                .d.t
00:55:43.384325 IP (tos 0x0, ttl 64, id 46355, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.0.10.8008 > 192.168.0.20.50316: Flags [F.], cksum 0x2256 (correct), seq 3657578413, ack 539204247, win 505, options [nop,nop,TS val 3361836932 ecr 3227781236], length 0
	0x0000:  4500 0034 b513 4000 4006 0442 c0a8 000a  E..4..@.@..B....
	0x0010:  c0a8 0014 1f48 c48c da02 37ad 2023 9a97  .....H....7..#..
	0x0020:  8011 01f9 2256 0000 0101 080a c861 8f84  ...."V.......a..
	0x0030:  c064 0874                                .d.t
00:55:43.415724 IP (tos 0x0, ttl 63, id 7339, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.0.20.50316 > 192.168.0.10.8008: Flags [.], cksum 0x21c0 (correct), seq 539204247, ack 3657578414, win 501, options [nop,nop,TS val 3227781390 ecr 3361836932], length 0
	0x0000:  4500 0034 1cab 4000 3f06 9daa c0a8 0014  E..4..@.?.......
	0x0010:  c0a8 000a c48c 1f48 2023 9a97 da02 37ae  .......H.#....7.
	0x0020:  8010 01f5 21c0 0000 0101 080a c064 090e  ....!........d..
	0x0030:  c861 8f84                                .a..
00:55:43.417090 IP (tos 0x0, ttl 63, id 60316, offset 0, flags [DF], proto TCP (6), length 52)
    192.168.0.20.50314 > 192.168.0.10.8008: Flags [.], cksum 0x9666 (correct), seq 3104179312, ack 4278950725, win 501, options [nop,nop,TS val 3227781390 ecr 3361836931], length 0
	0x0000:  4500 0034 eb9c 4000 3f06 ceb8 c0a8 0014  E..4..@.?.......
	0x0010:  c0a8 000a c48a 1f48 b906 0470 ff0b 9b45  .......H...p...E
	0x0020:  8010 01f5 9666 0000 0101 080a c064 090e  .....f.......d..
	0x0030:  c861 8f83                                .a..

@blakehawkins
Copy link
Contributor Author

One difference that stands out is that matrixcli is producing a User-Agent and glitch-in-the-matrix is not. I will investigate more tomorrow

@clokep
Copy link
Member

clokep commented Jan 14, 2021

It seems like that table has foreign keys to events.event_id and access_tokens.id, I'm not sure if there's a way to get sqlite. Turning up the logging for the synapse.storage.SQL logger (from INFO -> DEBUG) might show some useful information, although this will cause potentially private data to be included in the logs.

For your local Synapse -- I assume it is running in monolith since you're running SQLite? This somewhat sounds like a race, but I would be surprised by that without workers being used. Does that send_glitch client do any retries or something fancy?

@blakehawkins
Copy link
Contributor Author

Hi @clokep

Thanks for the response. I managed to find the logger config in /etc/matrix-synapse/log.yaml and turned the handler up to DEBUG as recommended.

Regarding private information: I stood up this home server and user account specifically for purposes of investigating this bug, so not to worry.

For your local Synapse -- I assume it is running in monolith since you're running SQLite?

I don't know. I am using mostly default configuration and I don't see the phrase monolith anywhere in homeserver.yaml.

Does that send_glitch client do any retries or something fancy?

HTTP itself has retries due to TCP, but there are no application-level retries, no. If you take a look at the tcpdump above, you can see that the body ("google") is only written once, so I don't think that's the issue here.

One thing that may not be fully clear from my diags above: this does work sometimes and fails other times. This time while testing with DEBUG-level diags, it succeeded the first time and failed the second time.

Here are logs:

Jan 16 12:44:38 raspberrypi synapse[7534]: synapse.storage.SQL: [prune_old_user_ips-38] [SQL] {_prune_old_user_ips-9d} DELETE FROM user_ips WHERE last_seen <= ( SELECT COALESCE(MAX(last_seen), -1) FROM ( SELECT last_seen FROM user_ips WHERE last_seen <= ? ORDER BY last_seen ASC LIMIT 5000 ) AS u )
Jan 16 12:44:38 raspberrypi synapse[7534]: synapse.storage.SQL: [prune_old_user_ips-38] [SQL values] {_prune_old_user_ips-9d} (1608381878681,)
Jan 16 12:44:38 raspberrypi synapse[7534]: synapse.storage.SQL: [prune_old_user_ips-38] [SQL time] {_prune_old_user_ips-9d} 0.000301 sec
Jan 16 12:44:42 raspberrypi synapse[7534]: synapse.rest.client.v1.login: [POST-4] Got login request with identifier: None, medium: None, address: None, user: 'dobre'
Jan 16 12:44:42 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-4] [SQL] {get_users_by_id_case_insensitive-9f} SELECT name, password_hash FROM users WHERE lower(name) = lower(?)
Jan 16 12:44:42 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-4] [SQL values] {get_users_by_id_case_insensitive-9f} ('@dobre:localhost',)
Jan 16 12:44:42 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-4] [SQL time] {get_users_by_id_case_insensitive-9f} 0.000347 sec
Jan 16 12:44:43 raspberrypi synapse[7534]: synapse.storage.SQL: [prune_old_user_ips-39] [SQL] {_prune_old_user_ips-a0} DELETE FROM user_ips WHERE last_seen <= ( SELECT COALESCE(MAX(last_seen), -1) FROM ( SELECT last_seen FROM user_ips WHERE last_seen <= ? ORDER BY last_seen ASC LIMIT 5000 ) AS u )
Jan 16 12:44:43 raspberrypi synapse[7534]: synapse.storage.SQL: [prune_old_user_ips-39] [SQL values] {_prune_old_user_ips-a0} (1608381883681,)
Jan 16 12:44:43 raspberrypi synapse[7534]: synapse.storage.SQL: [prune_old_user_ips-39] [SQL time] {_prune_old_user_ips-a0} 0.000297 sec
Jan 16 12:44:44 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-4] [SQL] {store_device-a2} INSERT INTO devices (user_id, device_id, display_name, hidden) VALUES(?, ?, ?, ?)
Jan 16 12:44:44 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-4] [SQL values] {store_device-a2} ('@dobre:localhost', 'SQQKJWEKOH', None, False)
Jan 16 12:44:44 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-4] [SQL time] {store_device-a2} 0.000960 sec
Jan 16 12:44:45 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-4] [SQL] {add_device_change_to_stream-a3} DELETE FROM device_lists_stream WHERE user_id = ? AND device_id = ? AND stream_id < ?
Jan 16 12:44:45 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-4] [SQL values] {add_device_change_to_stream-a3} [('@dobre:localhost', 'SQQKJWEKOH', 42)]
Jan 16 12:44:45 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-4] [SQL time] {add_device_change_to_stream-a3} 0.000304 sec
Jan 16 12:44:45 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-4] [SQL] {add_device_change_to_stream-a3} INSERT INTO device_lists_stream (device_id, stream_id, user_id) VALUES(?, ?, ?)
Jan 16 12:44:45 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-4] [SQL values] {add_device_change_to_stream-a3} (('SQQKJWEKOH', 42, '@dobre:localhost'),)
Jan 16 12:44:45 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-4] [SQL time] {add_device_change_to_stream-a3} 0.000821 sec
Jan 16 12:44:46 raspberrypi synapse[7534]: synapse.handlers.auth: [POST-4] Logging in user @dobre:localhost on device SQQKJWEKOH
Jan 16 12:44:46 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-4] [SQL] {add_access_token_to_user-a4} INSERT INTO access_tokens (id, user_id, token, device_id, valid_until_ms, puppets_user_id) VALUES(?, ?, ?, ?, ?, ?)
Jan 16 12:44:46 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-4] [SQL values] {add_access_token_to_user-a4} (35, '@dobre:localhost', 'MDAxN2xvY2F0aW9uIGxvY2FsaG9zdAowMDEzaWRlbnRpZmllciBrZXkKMDAxMGNpZCBnZW4gPSAxCjAwMjNjaWQgdXNlcl9pZCA9IEBkb2JyZTpsb2NhbGhvc3QKMDAxNmNpZCB0eXBlID0gYWNjZXNzCjAwMjFjaWQgbm9uY2UgPSBPZkNCLWh5OkdxQS5KRGg0CjAwMmZzaWduYXR1cmUgPspdkB3Rr3N4YNiqEJrzVE8ddFVe9oZ0YoROROMuya8K', 'SQQKJWEKOH', None, None)
Jan 16 12:44:46 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-4] [SQL time] {add_access_token_to_user-a4} 0.001363 sec
Jan 16 12:44:47 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-4] [SQL] {get_device-a5} SELECT user_id, device_id, display_name FROM devices WHERE user_id = ? AND device_id = ? AND hidden = ?
Jan 16 12:44:47 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-4] [SQL values] {get_device-a5} ['@dobre:localhost', 'SQQKJWEKOH', False]
Jan 16 12:44:47 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-4] [SQL time] {get_device-a5} 0.000344 sec
Jan 16 12:44:47 raspberrypi synapse[7534]: synapse.access.http.8008: [POST-4] 192.168.0.12 - 8008 - {None} Processed request: 5.210sec/-0.000sec (1.893sec, 0.019sec) (0.008sec/3.309sec/5) 359B 200 "POST /_matrix/client/r0/login HTTP/1.1" "-" [0 dbevts]
Jan 16 12:44:47 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-5] [SQL] {get_association_from_room_alias-a6} SELECT room_id FROM room_aliases WHERE room_alias = ?
Jan 16 12:44:47 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-5] [SQL values] {get_association_from_room_alias-a6} ['#test4:localhost']
Jan 16 12:44:47 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-5] [SQL time] {get_association_from_room_alias-a6} 0.000263 sec
Jan 16 12:44:47 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-5] [SQL] {get_association_from_room_alias-a7} SELECT server FROM room_alias_servers WHERE room_alias = ?
Jan 16 12:44:47 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-5] [SQL values] {get_association_from_room_alias-a7} ['#test4:localhost']
Jan 16 12:44:47 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-5] [SQL time] {get_association_from_room_alias-a7} 0.000262 sec
Jan 16 12:44:47 raspberrypi synapse[7534]: synapse.access.http.8008: [GET-5] 192.168.0.12 - 8008 - {None} Processed request: 0.034sec/-0.000sec (0.012sec, 0.007sec) (0.003sec/0.022sec/2) 67B 200 "GET /_matrix/client/r0/directory/room/%23test4%3Alocalhost?access_token=<redacted> HTTP/1.1" "-" [0 dbevts]
Jan 16 12:44:48 raspberrypi synapse[7534]: synapse.storage.SQL: [PUT-6] [SQL] {get_user_by_access_token-a8} SELECT users.name as user_id, users.is_guest, users.shadow_banned, access_tokens.id as token_id, access_tokens.device_id, access_tokens.valid_until_ms, access_tokens.user_id as token_owner FROM users INNER JOIN access_tokens on users.name = COALESCE(puppets_user_id, access_tokens.user_id) WHERE token = ?
Jan 16 12:44:48 raspberrypi synapse[7534]: synapse.storage.SQL: [PUT-6] [SQL values] {get_user_by_access_token-a8} ('MDAxN2xvY2F0aW9uIGxvY2FsaG9zdAowMDEzaWRlbnRpZmllciBrZXkKMDAxMGNpZCBnZW4gPSAxCjAwMjNjaWQgdXNlcl9pZCA9IEBkb2JyZTpsb2NhbGhvc3QKMDAxNmNpZCB0eXBlID0gYWNjZXNzCjAwMjFjaWQgbm9uY2UgPSBPZkNCLWh5OkdxQS5KRGg0CjAwMmZzaWduYXR1cmUgPspdkB3Rr3N4YNiqEJrzVE8ddFVe9oZ0YoROROMuya8K',)
Jan 16 12:44:48 raspberrypi synapse[7534]: synapse.storage.SQL: [PUT-6] [SQL time] {get_user_by_access_token-a8} 0.000361 sec
Jan 16 12:44:48 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-7] [SQL] {delete_device-a9} DELETE FROM devices WHERE user_id = ? AND device_id = ? AND hidden = ?
Jan 16 12:44:48 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-7] [SQL values] {delete_device-a9} ['@dobre:localhost', 'SQQKJWEKOH', False]
Jan 16 12:44:48 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-7] [SQL time] {delete_device-a9} 0.000938 sec
Jan 16 12:44:49 raspberrypi synapse[7534]: synapse.storage.SQL: [PUT-6] [SQL] {get_event_id_from_transaction_id-aa} SELECT event_id FROM event_txn_id WHERE room_id = ? AND user_id = ? AND token_id = ? AND txn_id = ?
Jan 16 12:44:49 raspberrypi synapse[7534]: synapse.storage.SQL: [PUT-6] [SQL values] {get_event_id_from_transaction_id-aa} ['!xQKhvxtEYkFEwTEjzZ:localhost', '@dobre:localhost', 35, '4bb6dad2-98c3-44d7-babd-c22b3126852e']
Jan 16 12:44:49 raspberrypi synapse[7534]: synapse.storage.SQL: [PUT-6] [SQL time] {get_event_id_from_transaction_id-aa} 0.000265 sec
Jan 16 12:44:49 raspberrypi synapse[7534]: synapse.storage.SQL: [prune_old_user_ips-40] [SQL] {_prune_old_user_ips-ab} DELETE FROM user_ips WHERE last_seen <= ( SELECT COALESCE(MAX(last_seen), -1) FROM ( SELECT last_seen FROM user_ips WHERE last_seen <= ? ORDER BY last_seen ASC LIMIT 5000 ) AS u )
Jan 16 12:44:49 raspberrypi synapse[7534]: synapse.storage.SQL: [prune_old_user_ips-40] [SQL values] {_prune_old_user_ips-ab} (1608381888682,)
Jan 16 12:44:49 raspberrypi synapse[7534]: synapse.storage.SQL: [prune_old_user_ips-40] [SQL time] {_prune_old_user_ips-ab} 0.000299 sec
Jan 16 12:44:49 raspberrypi synapse[7534]: synapse.storage.SQL: [update_client_ips-39] [SQL] {_update_client_ips_batch-ac} INSERT INTO user_ips (user_id, access_token, ip, user_agent, device_id, last_seen) VALUES (?, ?, ?, ?, ?, ?) ON CONFLICT (user_id, access_token, ip) DO UPDATE SET user_agent=EXCLUDED.user_agent, device_id=EXCLUDED.device_id, last_seen=EXCLUDED.last_seen
Jan 16 12:44:49 raspberrypi synapse[7534]: synapse.storage.SQL: [update_client_ips-39] [SQL values] {_update_client_ips_batch-ac} ['@dobre:localhost', 'MDAxN2xvY2F0aW9uIGxvY2FsaG9zdAowMDEzaWRlbnRpZmllciBrZXkKMDAxMGNpZCBnZW4gPSAxCjAwMjNjaWQgdXNlcl9pZCA9IEBkb2JyZTpsb2NhbGhvc3QKMDAxNmNpZCB0eXBlID0gYWNjZXNzCjAwMjFjaWQgbm9uY2UgPSBPZkNCLWh5OkdxQS5KRGg0CjAwMmZzaWduYXR1cmUgPspdkB3Rr3N4YNiqEJrzVE8ddFVe9oZ0YoROROMuya8K', '192.168.0.12', '', 'SQQKJWEKOH', 1610801088027]
Jan 16 12:44:49 raspberrypi synapse[7534]: synapse.storage.SQL: [update_client_ips-39] [SQL time] {_update_client_ips_batch-ac} 0.001263 sec
Jan 16 12:44:49 raspberrypi synapse[7534]: synapse.storage.SQL: [update_client_ips-39] [SQL] {_update_client_ips_batch-ac} UPDATE devices SET user_agent = ?, last_seen = ?, ip = ? WHERE user_id = ? AND device_id = ?
Jan 16 12:44:49 raspberrypi synapse[7534]: synapse.storage.SQL: [update_client_ips-39] [SQL values] {_update_client_ips_batch-ac} ['', 1610801088027, '192.168.0.12', '@dobre:localhost', 'SQQKJWEKOH']
Jan 16 12:44:49 raspberrypi synapse[7534]: synapse.storage.SQL: [update_client_ips-39] [SQL time] {_update_client_ips_batch-ac} 0.000235 sec
Jan 16 12:44:50 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-7] [SQL] {user_delete_access_tokens-ad} SELECT token, id, device_id FROM access_tokens WHERE user_id = ? AND device_id = ?
Jan 16 12:44:50 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-7] [SQL values] {user_delete_access_tokens-ad} ['@dobre:localhost', 'SQQKJWEKOH']
Jan 16 12:44:50 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-7] [SQL time] {user_delete_access_tokens-ad} 0.000536 sec
Jan 16 12:44:50 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-7] [SQL] {user_delete_access_tokens-ad} DELETE FROM access_tokens WHERE user_id = ? AND device_id = ?
Jan 16 12:44:50 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-7] [SQL values] {user_delete_access_tokens-ad} ['@dobre:localhost', 'SQQKJWEKOH']
Jan 16 12:44:50 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-7] [SQL time] {user_delete_access_tokens-ad} 0.001595 sec
Jan 16 12:44:52 raspberrypi synapse[7534]: synapse.storage.SQL: [PUT-6] [SQL] {get_prev_events_for_room-ae} SELECT e.event_id FROM event_forward_extremities AS f INNER JOIN events AS e USING (event_id) WHERE f.room_id = ? ORDER BY e.depth DESC LIMIT 10
Jan 16 12:44:52 raspberrypi synapse[7534]: synapse.storage.SQL: [PUT-6] [SQL values] {get_prev_events_for_room-ae} ('!xQKhvxtEYkFEwTEjzZ:localhost',)
Jan 16 12:44:52 raspberrypi synapse[7534]: synapse.storage.SQL: [PUT-6] [SQL time] {get_prev_events_for_room-ae} 0.000588 sec
Jan 16 12:44:52 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-7] [SQL] {get_pushers_by-af} SELECT id, user_name, access_token, profile_tag, kind, app_id, app_display_name, device_display_name, pushkey, ts, lang, data, last_stream_ordering, last_success, failing_since FROM pushers WHERE user_name = ?
Jan 16 12:44:52 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-7] [SQL values] {get_pushers_by-af} ['@dobre:localhost']
Jan 16 12:44:52 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-7] [SQL time] {get_pushers_by-af} 0.000297 sec
Jan 16 12:44:52 raspberrypi synapse[7534]: synapse.storage.SQL: [PUT-6] [SQL] {get_max_depth_of-b0} SELECT depth FROM events WHERE event_id IN (?)
Jan 16 12:44:52 raspberrypi synapse[7534]: synapse.storage.SQL: [PUT-6] [SQL values] {get_max_depth_of-b0} ['$CsPfXMCgs8COaApPULPOCoofju0l0E_nZJC2eSxTMgE']
Jan 16 12:44:52 raspberrypi synapse[7534]: synapse.storage.SQL: [PUT-6] [SQL time] {get_max_depth_of-b0} 0.000254 sec
Jan 16 12:44:52 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-7] [SQL] {delete_e2e_keys_by_device-b1} DELETE FROM e2e_device_keys_json WHERE user_id = ? AND device_id = ?
Jan 16 12:44:52 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-7] [SQL values] {delete_e2e_keys_by_device-b1} ['@dobre:localhost', 'SQQKJWEKOH']
Jan 16 12:44:52 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-7] [SQL time] {delete_e2e_keys_by_device-b1} 0.007971 sec
Jan 16 12:44:52 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-7] [SQL] {delete_e2e_keys_by_device-b1} DELETE FROM e2e_one_time_keys_json WHERE user_id = ? AND device_id = ?
Jan 16 12:44:52 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-7] [SQL values] {delete_e2e_keys_by_device-b1} ['@dobre:localhost', 'SQQKJWEKOH']
Jan 16 12:44:52 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-7] [SQL time] {delete_e2e_keys_by_device-b1} 0.000132 sec
Jan 16 12:44:52 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-7] [SQL] {delete_e2e_keys_by_device-b1} DELETE FROM dehydrated_devices WHERE user_id = ? AND device_id = ?
Jan 16 12:44:52 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-7] [SQL values] {delete_e2e_keys_by_device-b1} ['@dobre:localhost', 'SQQKJWEKOH']
Jan 16 12:44:52 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-7] [SQL time] {delete_e2e_keys_by_device-b1} 0.000130 sec
Jan 16 12:44:52 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-7] [SQL] {delete_e2e_keys_by_device-b1} DELETE FROM e2e_fallback_keys_json WHERE user_id = ? AND device_id = ?
Jan 16 12:44:52 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-7] [SQL values] {delete_e2e_keys_by_device-b1} ['@dobre:localhost', 'SQQKJWEKOH']
Jan 16 12:44:52 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-7] [SQL time] {delete_e2e_keys_by_device-b1} 0.000132 sec
Jan 16 12:44:52 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-1] [SQL] {get_event_id_from_transaction_id-b2} SELECT event_id FROM event_txn_id WHERE room_id = ? AND user_id = ? AND token_id = ? AND txn_id = ?
Jan 16 12:44:52 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-1] [SQL values] {get_event_id_from_transaction_id-b2} ['!xQKhvxtEYkFEwTEjzZ:localhost', '@dobre:localhost', 35, '4bb6dad2-98c3-44d7-babd-c22b3126852e']
Jan 16 12:44:52 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-1] [SQL time] {get_event_id_from_transaction_id-b2} 0.000267 sec
Jan 16 12:44:52 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-7] [SQL] {add_device_change_to_stream-b3} DELETE FROM device_lists_stream WHERE user_id = ? AND device_id = ? AND stream_id < ?
Jan 16 12:44:52 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-7] [SQL values] {add_device_change_to_stream-b3} [('@dobre:localhost', 'SQQKJWEKOH', 43)]
Jan 16 12:44:52 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-7] [SQL time] {add_device_change_to_stream-b3} 0.000998 sec
Jan 16 12:44:52 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-7] [SQL] {add_device_change_to_stream-b3} INSERT INTO device_lists_stream (device_id, stream_id, user_id) VALUES(?, ?, ?)
Jan 16 12:44:52 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-7] [SQL values] {add_device_change_to_stream-b3} (('SQQKJWEKOH', 43, '@dobre:localhost'),)
Jan 16 12:44:52 raspberrypi synapse[7534]: synapse.storage.SQL: [POST-7] [SQL time] {add_device_change_to_stream-b3} 0.000177 sec
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-1] [SQL] {_get_events_which_are_prevs-b4} SELECT prev_event_id, internal_metadata FROM event_edges INNER JOIN events USING (event_id) LEFT JOIN rejections USING (event_id) LEFT JOIN event_json USING (event_id) WHERE NOT events.outlier AND rejections.event_id IS NULL AND prev_event_id IN (?)
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.access.http.8008: [POST-7] 192.168.0.12 - 8008 - {@dobre:localhost} Processed request: 5.261sec/-0.000sec (0.075sec, 0.011sec) (0.990sec/4.243sec/5) 2B 200 "POST /_matrix/client/r0/logout?access_token=<redacted> HTTP/1.1" "-" [0 dbevts]
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-1] [SQL values] {_get_events_which_are_prevs-b4} ['$-HzwJvruk_NtpI84GIYNOTzWBUb7Fxfs1xXKeoX8rQY']
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-1] [SQL time] {_get_events_which_are_prevs-b4} 0.000285 sec
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-1] [SQL] {_get_prevs_before_rejected-b5} SELECT event_id, prev_event_id, internal_metadata, rejections.event_id IS NOT NULL FROM event_edges INNER JOIN events USING (event_id) LEFT JOIN rejections USING (event_id) LEFT JOIN event_json USING (event_id) WHERE NOT events.outlier AND event_id IN (?)
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-1] [SQL values] {_get_prevs_before_rejected-b5} ['$CsPfXMCgs8COaApPULPOCoofju0l0E_nZJC2eSxTMgE']
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-1] [SQL time] {_get_prevs_before_rejected-b5} 0.000322 sec
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-1] [SQL] {persist_events-b6} DELETE FROM event_forward_extremities WHERE room_id = ?
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-1] [SQL values] {persist_events-b6} ['!xQKhvxtEYkFEwTEjzZ:localhost']
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-1] [SQL time] {persist_events-b6} 0.001107 sec
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-1] [SQL] {persist_events-b6} INSERT INTO event_forward_extremities (event_id, room_id) VALUES(?, ?)
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-1] [SQL values] {persist_events-b6} (('$-HzwJvruk_NtpI84GIYNOTzWBUb7Fxfs1xXKeoX8rQY', '!xQKhvxtEYkFEwTEjzZ:localhost'),)
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-1] [SQL time] {persist_events-b6} 0.000177 sec
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-1] [SQL] {persist_events-b6} INSERT INTO stream_ordering_to_exterm (event_id, room_id, stream_ordering) VALUES(?, ?, ?)
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-1] [SQL values] {persist_events-b6} (('$-HzwJvruk_NtpI84GIYNOTzWBUb7Fxfs1xXKeoX8rQY', '!xQKhvxtEYkFEwTEjzZ:localhost', 33),)
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-1] [SQL time] {persist_events-b6} 0.000563 sec
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-1] [SQL] {persist_events-b6} SELECT min_depth FROM room_depth WHERE room_id = ?
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-1] [SQL values] {persist_events-b6} ['!xQKhvxtEYkFEwTEjzZ:localhost']
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-1] [SQL time] {persist_events-b6} 0.000143 sec
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-1] [SQL] {persist_events-b6} SELECT event_id, outlier FROM events WHERE event_id in (?)
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-1] [SQL values] {persist_events-b6} ['$-HzwJvruk_NtpI84GIYNOTzWBUb7Fxfs1xXKeoX8rQY']
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-1] [SQL time] {persist_events-b6} 0.000163 sec
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-1] [SQL] {persist_events-b6} INSERT INTO event_json (event_id, format_version, internal_metadata, json, room_id) VALUES(?, ?, ?, ?, ?)
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-1] [SQL values] {persist_events-b6} (('$-HzwJvruk_NtpI84GIYNOTzWBUb7Fxfs1xXKeoX8rQY', 3, '{"token_id":35,"txn_id":"4bb6dad2-98c3-44d7-babd-c22b3126852e"}', '{"auth_events":["$qYjggtkQtnWxiVEeSRNtUtPs8BZadegj0iwPZTnWVqo","$V5rnY7GD8KywhcjRv6BGBRG7nDlrZmD842V5m1EfCzU","$JOE1Q9mx9pH2JlR0Bo3d6Fp4XcUFwEGYClZW_lFLVZE"],"prev_events":["$CsPfXMCgs8COaApPULPOCoofju0l0E_nZJC2eSxTMgE"],"type":"m.room.message","room_id":"!xQKhvxtEYkFEwTEjzZ:localhost","sender":"@dobre:localhost","content":{"msgtype":"m.notice","body":"<a href=\\"https://google.com\\">Google</a>","formatted_body":"<a href=\\"https://google.com\\">Google</a>","format":"org.matrix.custom.html"},"depth":12,"prev_state":[],"origin":"localhost","origin_server_ts":1610801092288,"hashes":{"sha256":"sUYMKmGmu1rRdWTdb8F3Xn5d4nwZxUkaC2xhhg1GhOc"},"signatures":{"localhost":{"ed25519:a_QAuD":"C7ExCh4PMGP+kmYlfoLvtwDp5swAcDe8uagrYig/xV+jx9vKzA+s9Wt6XZOTdtsJ5tZ0IsqSF91O0/CutKI2AA"}},"unsigned":{"age_ts":1610801092288}}', '!xQKhvxtEYkFEwTEjzZ:localhost'),)
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-1] [SQL time] {persist_events-b6} 0.000489 sec
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-1] [SQL] {persist_events-b6} INSERT INTO events (contains_url, depth, event_id, instance_name, origin_server_ts, outlier, processed, received_ts, room_id, sender, stream_ordering, topological_ordering, type) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-1] [SQL values] {persist_events-b6} ((False, 12, '$-HzwJvruk_NtpI84GIYNOTzWBUb7Fxfs1xXKeoX8rQY', 'master', 1610801092288, False, True, 1610801093351, '!xQKhvxtEYkFEwTEjzZ:localhost', '@dobre:localhost', 33, 12, 'm.room.message'),)
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-1] [SQL time] {persist_events-b6} 0.001044 sec
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-1] [SQL] {persist_events-b6} UPDATE redactions SET have_censored = ? WHERE redacts = ?
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-1] [SQL values] {persist_events-b6} [False, '$-HzwJvruk_NtpI84GIYNOTzWBUb7Fxfs1xXKeoX8rQY']
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-1] [SQL time] {persist_events-b6} 0.000208 sec
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-1] [SQL] {persist_events-b6} INSERT INTO event_txn_id (event_id, inserted_ts, room_id, token_id, txn_id, user_id) VALUES(?, ?, ?, ?, ?, ?)
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-1] [SQL values] {persist_events-b6} (('$-HzwJvruk_NtpI84GIYNOTzWBUb7Fxfs1xXKeoX8rQY', 1610801093366, '!xQKhvxtEYkFEwTEjzZ:localhost', 35, '4bb6dad2-98c3-44d7-babd-c22b3126852e', '@dobre:localhost'),)
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-1] [SQL FAIL] {persist_events-b6} FOREIGN KEY constraint failed
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-1] [SQL time] {persist_events-b6} 0.002715 sec
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [PUT-6] [SQL] {remove_push_actions_from_staging-b7} DELETE FROM event_push_actions_staging WHERE event_id = ?
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [PUT-6] [SQL values] {remove_push_actions_from_staging-b7} ['$-HzwJvruk_NtpI84GIYNOTzWBUb7Fxfs1xXKeoX8rQY']
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [PUT-6] [SQL time] {remove_push_actions_from_staging-b7} 0.000635 sec
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.http.server: [PUT-6] Failed handle request via 'RoomSendEventRestServlet': <SynapseRequest at 0x73cbe510 method='PUT' uri='/_matrix/client/r0/rooms/!xQKhvxtEYkFEwTEjzZ:localhost/send/m.room.message/4bb6dad2-98c3-44d7-babd-c22b3126852e?access_token=<redacted>' clientproto='HTTP/1.1' site=8008>
                                           Traceback (most recent call last):
                                             File "/usr/lib/python3/dist-packages/synapse/storage/persist_events.py", line 150, in handle_queue_loop
                                               ret = await per_item_callback(item)
                                             File "/usr/lib/python3/dist-packages/synapse/storage/persist_events.py", line 303, in persisting_queue
                                               item.events_and_contexts, backfilled=item.backfilled
                                             File "/usr/lib/python3/dist-packages/synapse/storage/persist_events.py", line 507, in _persist_events
                                               backfilled=backfilled,
                                             File "/usr/lib/python3/dist-packages/synapse/storage/databases/main/events.py", line 167, in _persist_events_and_state_updates
                                               new_forward_extremeties=new_forward_extremeties,
                                             File "/usr/lib/python3/dist-packages/synapse/storage/database.py", line 640, in runInteraction
                                               **kwargs,
                                             File "/usr/lib/python3/dist-packages/synapse/storage/database.py", line 713, in runWithConnection
                                               self._db_pool.runWithConnection(inner_func, *args, **kwargs)
                                             File "/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 250, in inContext
                                               result = inContext.theWork()
                                             File "/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 266, in <lambda>
                                               inContext.theWork = lambda: context.call(ctx, func, *args, **kw)
                                             File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 122, in callWithContext
                                               return self.currentContext().callWithContext(ctx, func, *args, **kw)
                                             File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 85, in callWithContext
                                               return func(*args,**kw)
                                             File "/usr/lib/python3/dist-packages/twisted/enterprise/adbapi.py", line 306, in _runWithConnection
                                               compat.reraise(excValue, excTraceback)
                                             File "/usr/lib/python3/dist-packages/twisted/python/compat.py", line 464, in reraise
                                               raise exception.with_traceback(traceback)
                                             File "/usr/lib/python3/dist-packages/twisted/enterprise/adbapi.py", line 297, in _runWithConnection
                                               result = func(conn, *args, **kw)
                                             File "/usr/lib/python3/dist-packages/synapse/storage/database.py", line 707, in inner_func
                                               return func(db_conn, *args, **kwargs)
                                             File "/usr/lib/python3/dist-packages/synapse/storage/database.py", line 510, in new_transaction
                                               r = func(cursor, *args, **kwargs)
                                             File "/usr/lib/python3/dist-packages/synapse/logging/utils.py", line 71, in wrapped
                                               return f(*args, **kwargs)
                                             File "/usr/lib/python3/dist-packages/synapse/storage/databases/main/events.py", line 364, in _persist_events_txn
                                               self._persist_transaction_ids_txn(txn, events_and_contexts)
                                             File "/usr/lib/python3/dist-packages/synapse/storage/databases/main/events.py", line 436, in _persist_transaction_ids_txn
                                               txn, table="event_txn_id", values=to_insert,
                                             File "/usr/lib/python3/dist-packages/synapse/storage/database.py", line 864, in simple_insert_many_txn
                                               txn.executemany(sql, vals)
                                             File "/usr/lib/python3/dist-packages/synapse/storage/database.py", line 274, in executemany
                                               self._do_execute(self.txn.executemany, sql, *args)
                                             File "/usr/lib/python3/dist-packages/synapse/storage/database.py", line 297, in _do_execute
                                               return func(sql, *args)
                                           sqlite3.IntegrityError: FOREIGN KEY constraint failed
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.access.http.8008: [PUT-6] 192.168.0.12 - 8008 - {@dobre:localhost} Processed request: 5.432sec/-0.000sec (0.068sec, 0.005sec) (4.227sec/0.043sec/5) 55B 500 "PUT /_matrix/client/r0/rooms/!xQKhvxtEYkFEwTEjzZ:localhost/send/m.room.message/4bb6dad2-98c3-44d7-babd-c22b3126852e?access_token=<redacted> HTTP/1.1" "-" [0 dbevts]
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [prune_old_user_ips-41] [SQL] {_prune_old_user_ips-b8} DELETE FROM user_ips WHERE last_seen <= ( SELECT COALESCE(MAX(last_seen), -1) FROM ( SELECT last_seen FROM user_ips WHERE last_seen <= ? ORDER BY last_seen ASC LIMIT 5000 ) AS u )
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [prune_old_user_ips-41] [SQL values] {_prune_old_user_ips-b8} (1608381893681,)
Jan 16 12:44:53 raspberrypi synapse[7534]: synapse.storage.SQL: [prune_old_user_ips-41] [SQL time] {_prune_old_user_ips-b8} 0.000301 sec
Jan 16 12:44:54 raspberrypi synapse[7534]: synapse.storage.SQL: [_maybe_retry_device_resync-6] [SQL] {get_user_ids_requiring_device_list_resync-ba} SELECT user_id FROM device_lists_remote_resync
Jan 16 12:44:54 raspberrypi synapse[7534]: synapse.storage.SQL: [_maybe_retry_device_resync-6] [SQL time] {get_user_ids_requiring_device_list_resync-ba} 0.000233 sec

@clokep
Copy link
Member

clokep commented Jan 18, 2021

Huh it seems that the request is only received once and failed in PUT-6 -- I don't see a successful request though in those logs though?

@blakehawkins
Copy link
Contributor Author

Hey @clokep I haven't managed to reproduce a successful send using send_glitch, but here is the logs for a successful send from matrixcli:

Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23023} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23023} [21, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23023} 0.000335 sec
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23023} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23023} [21]
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23023} 0.000278 sec
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23023} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23023} [20, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23023} 0.000321 sec
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23023} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23023} [20]
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23023} 0.000246 sec
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23023} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23023} [19, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23023} 0.000298 sec
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23023} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23023} [19]
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23023} 0.000241 sec
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23023} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23023} [18, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23023} 0.000300 sec
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23023} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23023} [18]
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23023} 0.000242 sec
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23023} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23023} [17, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23023} 0.000359 sec
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23023} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23023} [17]
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23023} 0.000254 sec
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23023} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23023} [22, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23023} 0.000299 sec
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23023} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23023} [22]
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23023} 0.000246 sec
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23023} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23023} [21, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23023} 0.000310 sec
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23023} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23023} [21]
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23023} 0.000244 sec
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23023} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23023} [20, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23023} 0.000304 sec
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23023} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23023} [20]
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23023} 0.000244 sec
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23023} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23023} [19, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23023} 0.000291 sec
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23023} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23023} [19]
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23023} 0.000233 sec
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23023} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23023} [18, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23023} 0.000311 sec
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23023} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23023} [18]
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23023} 0.000240 sec
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23023} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23023} [17, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23023} 0.000283 sec
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23023} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23023} [17]
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23023} 0.000256 sec
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23023} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23023} [23, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23023} 0.000308 sec
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23023} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23023} [23]
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23023} 0.000245 sec
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23023} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23023} [22, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23023} 0.000304 sec
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23023} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23023} [22]
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23023} 0.000235 sec
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23023} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23023} [21, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23023} 0.000307 sec
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23023} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23023} [21]
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23023} 0.000236 sec
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23023} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23023} [20, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23023} 0.000300 sec
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23023} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23023} [20]
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23023} 0.000240 sec
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23023} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23023} [19, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23023} 0.000297 sec
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [2, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000319 sec
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [2]
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000238 sec
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [1, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000418 sec
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [1]
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000300 sec
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [3, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000827 sec
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [3]
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000240 sec
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [2, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000310 sec
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [2]
Jan 19 22:40:01 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000242 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [1, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000283 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [1]
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000249 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [4, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000310 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [4]
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000241 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [3, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000288 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [3]
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000243 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [2, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000305 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [2]
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000236 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [1, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000283 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [1]
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000252 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [5, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000304 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [5]
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000242 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [4, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000295 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [4]
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000241 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [3, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000297 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [3]
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000234 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [2, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000371 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [2]
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000949 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [1, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000275 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [1]
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000328 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [6, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000299 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [6]
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000239 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [5, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000304 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [5]
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000234 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [4, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000309 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [4]
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000240 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [3, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000295 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [3]
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000240 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [2, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000300 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [2]
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000242 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [1, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000279 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [1]
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000248 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [7, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000319 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [7]
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000789 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [6, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000887 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [6]
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000756 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [5, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000300 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [5]
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000239 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [4, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000297 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [4]
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000235 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-23024} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?  AND ((type = ? AND state_key = ?) OR (type = ? AND state_key = ?))
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-23024} [3, 'm.room.history_visibility', '', 'm.room.member', '@dobre:localhost']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-23024} 0.000290 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {are_users_erased-23025} SELECT user_id FROM erased_users WHERE user_id IN (?)
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {are_users_erased-23025} ['@dobre:localhost']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {are_users_erased-23025} 0.002076 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {get_retention_policy_for_room-23026} SELECT min_lifetime, max_lifetime FROM room_retention INNER JOIN current_state_events USING (event_id, room_id) WHERE room_id = ?;
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {get_retention_policy_for_room-23026} ('!xoehYHsTVOxjhjLGvH:localhost',)
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {get_retention_policy_for_room-23026} 0.002045 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {get_retention_policy_for_room-23027} SELECT min_lifetime, max_lifetime FROM room_retention INNER JOIN current_state_events USING (event_id, room_id) WHERE room_id = ?;
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {get_retention_policy_for_room-23027} ('!xQKhvxtEYkFEwTEjzZ:localhost',)
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {get_retention_policy_for_room-23027} 0.000347 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {get_retention_policy_for_room-23028} SELECT min_lifetime, max_lifetime FROM room_retention INNER JOIN current_state_events USING (event_id, room_id) WHERE room_id = ?;
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {get_retention_policy_for_room-23028} ('!DTeJCpgOsPbrDSDZQe:localhost',)
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {get_retention_policy_for_room-23028} 0.000391 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {get_tags_for_room-23029} SELECT tag, content FROM room_tags WHERE user_id = ? AND room_id = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {get_tags_for_room-23029} ['@dobre:localhost', '!xoehYHsTVOxjhjLGvH:localhost']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {get_tags_for_room-23029} 0.000613 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {get_tags_for_room-2302a} SELECT tag, content FROM room_tags WHERE user_id = ? AND room_id = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {get_tags_for_room-2302a} ['@dobre:localhost', '!xQKhvxtEYkFEwTEjzZ:localhost']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {get_tags_for_room-2302a} 0.000271 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {get_tags_for_room-2302b} SELECT tag, content FROM room_tags WHERE user_id = ? AND room_id = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {get_tags_for_room-2302b} ['@dobre:localhost', '!DTeJCpgOsPbrDSDZQe:localhost']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {get_tags_for_room-2302b} 0.000263 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-2302c} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-2302c} [2]
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-2302c} 0.000268 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-2302c} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-2302c} [2]
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-2302c} 0.000238 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-2302c} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-2302c} [1]
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-2302c} 0.000257 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-2302c} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-2302c} [1]
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-2302c} 0.000251 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-2302d} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-2302d} [19]
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-2302d} 0.000273 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-2302d} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-2302d} [19]
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-2302d} 0.000243 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-2302d} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-2302d} [18]
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-2302d} 0.000328 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-2302d} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-2302d} [18]
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-2302d} 0.000243 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-2302d} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-2302d} [17]
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-2302d} 0.000259 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-2302d} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-2302d} [17]
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-2302d} 0.000248 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-2302e} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-2302e} [10]
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-2302e} 0.000288 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-2302e} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-2302e} [10]
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-2302e} 0.000284 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-2302e} SELECT type, state_key, event_id FROM state_groups_state WHERE state_group = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-2302e} [9]
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-2302e} 0.000280 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {_get_state_groups_from_groups-2302e} SELECT prev_state_group FROM state_group_edges WHERE state_group = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {_get_state_groups_from_groups-2302e} [9]
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {_get_state_groups_from_groups-2302e} 0.000260 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {get_own_receipt_for_user-2302f} SELECT event_id FROM receipts_linearized WHERE room_id = ? AND receipt_type = ? AND user_id = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {get_own_receipt_for_user-2302f} ['!xoehYHsTVOxjhjLGvH:localhost', 'm.read', '@dobre:localhost']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {get_own_receipt_for_user-2302f} 0.001905 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {get_own_receipt_for_user-23030} SELECT event_id FROM receipts_linearized WHERE room_id = ? AND receipt_type = ? AND user_id = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {get_own_receipt_for_user-23030} ['!xQKhvxtEYkFEwTEjzZ:localhost', 'm.read', '@dobre:localhost']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {get_own_receipt_for_user-23030} 0.000276 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {get_own_receipt_for_user-23031} SELECT event_id FROM receipts_linearized WHERE room_id = ? AND receipt_type = ? AND user_id = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {get_own_receipt_for_user-23031} ['!DTeJCpgOsPbrDSDZQe:localhost', 'm.read', '@dobre:localhost']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {get_own_receipt_for_user-23031} 0.000262 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {get_unread_event_push_actions_by_room-23032} SELECT event_id FROM local_current_membership WHERE room_id = ? AND user_id = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {get_unread_event_push_actions_by_room-23032} ['!xoehYHsTVOxjhjLGvH:localhost', '@dobre:localhost']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {get_unread_event_push_actions_by_room-23032} 0.000577 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {get_unread_event_push_actions_by_room-23032} SELECT stream_ordering FROM events WHERE event_id = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {get_unread_event_push_actions_by_room-23032} ['$qe2TkPlnRUPBC0f5EOev6NgCjY4VGYzXGvaOzGQDDWA']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {get_unread_event_push_actions_by_room-23032} 0.000524 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {get_unread_event_push_actions_by_room-23032} SELECT   COUNT(CASE WHEN notif = 1 THEN 1 END),   COUNT(CASE WHEN highlight = 1 THEN 1 END),   COUNT(CASE WHEN unread = 1 THEN 1 END) FROM event_push_actions ea WHERE user_id = ?   AND room_id = ?   AND stream_ordering > ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {get_unread_event_push_actions_by_room-23032} ('@dobre:localhost', '!xoehYHsTVOxjhjLGvH:localhost', 3)
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {get_unread_event_push_actions_by_room-23032} 0.002084 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {get_unread_event_push_actions_by_room-23032} SELECT notif_count, unread_count FROM event_push_summary WHERE room_id = ? AND user_id = ? AND stream_ordering > ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {get_unread_event_push_actions_by_room-23032} ('!xoehYHsTVOxjhjLGvH:localhost', '@dobre:localhost', 3)
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {get_unread_event_push_actions_by_room-23032} 0.001871 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {get_unread_event_push_actions_by_room-23033} SELECT event_id FROM local_current_membership WHERE room_id = ? AND user_id = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {get_unread_event_push_actions_by_room-23033} ['!xQKhvxtEYkFEwTEjzZ:localhost', '@dobre:localhost']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {get_unread_event_push_actions_by_room-23033} 0.000569 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {get_unread_event_push_actions_by_room-23033} SELECT stream_ordering FROM events WHERE event_id = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {get_unread_event_push_actions_by_room-23033} ['$V5rnY7GD8KywhcjRv6BGBRG7nDlrZmD842V5m1EfCzU']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {get_unread_event_push_actions_by_room-23033} 0.000500 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {get_unread_event_push_actions_by_room-23033} SELECT   COUNT(CASE WHEN notif = 1 THEN 1 END),   COUNT(CASE WHEN highlight = 1 THEN 1 END),   COUNT(CASE WHEN unread = 1 THEN 1 END) FROM event_push_actions ea WHERE user_id = ?   AND room_id = ?   AND stream_ordering > ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {get_unread_event_push_actions_by_room-23033} ('@dobre:localhost', '!xQKhvxtEYkFEwTEjzZ:localhost', 17)
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {get_unread_event_push_actions_by_room-23033} 0.000858 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {get_unread_event_push_actions_by_room-23033} SELECT notif_count, unread_count FROM event_push_summary WHERE room_id = ? AND user_id = ? AND stream_ordering > ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {get_unread_event_push_actions_by_room-23033} ('!xQKhvxtEYkFEwTEjzZ:localhost', '@dobre:localhost', 17)
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {get_unread_event_push_actions_by_room-23033} 0.000728 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {get_unread_event_push_actions_by_room-23034} SELECT event_id FROM local_current_membership WHERE room_id = ? AND user_id = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {get_unread_event_push_actions_by_room-23034} ['!DTeJCpgOsPbrDSDZQe:localhost', '@dobre:localhost']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {get_unread_event_push_actions_by_room-23034} 0.000649 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {get_unread_event_push_actions_by_room-23034} SELECT stream_ordering FROM events WHERE event_id = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {get_unread_event_push_actions_by_room-23034} ['$GxI1jdB20y62CJz0As6cKr5K0oCKX198qEvGiq3aBkM']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {get_unread_event_push_actions_by_room-23034} 0.000516 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {get_unread_event_push_actions_by_room-23034} SELECT   COUNT(CASE WHEN notif = 1 THEN 1 END),   COUNT(CASE WHEN highlight = 1 THEN 1 END),   COUNT(CASE WHEN unread = 1 THEN 1 END) FROM event_push_actions ea WHERE user_id = ?   AND room_id = ?   AND stream_ordering > ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {get_unread_event_push_actions_by_room-23034} ('@dobre:localhost', '!DTeJCpgOsPbrDSDZQe:localhost', 10)
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {get_unread_event_push_actions_by_room-23034} 0.000854 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {get_unread_event_push_actions_by_room-23034} SELECT notif_count, unread_count FROM event_push_summary WHERE room_id = ? AND user_id = ? AND stream_ordering > ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {get_unread_event_push_actions_by_room-23034} ('!DTeJCpgOsPbrDSDZQe:localhost', '@dobre:localhost', 10)
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {get_unread_event_push_actions_by_room-23034} 0.000668 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {delete_messages_for_device-23035} DELETE FROM device_inbox WHERE user_id = ? AND device_id = ? AND stream_id <= ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {delete_messages_for_device-23035} ('@dobre:localhost', 'UTPDMUQORX', 0)
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {delete_messages_for_device-23035} 0.001790 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {get_new_messages_for_device-23036} SELECT stream_id, message_json FROM device_inbox WHERE user_id = ? AND device_id = ? AND ? < stream_id AND stream_id <= ? ORDER BY stream_id ASC LIMIT ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {get_new_messages_for_device-23036} ('@dobre:localhost', 'UTPDMUQORX', 0, 1, 100)
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {get_new_messages_for_device-23036} 0.000833 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {count_e2e_one_time_keys-23037} SELECT algorithm, COUNT(key_id) FROM e2e_one_time_keys_json WHERE user_id = ? AND device_id = ? GROUP BY algorithm
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {count_e2e_one_time_keys-23037} ('@dobre:localhost', 'UTPDMUQORX')
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {count_e2e_one_time_keys-23037} 0.000709 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {get_e2e_unused_fallback_key_types-23038} SELECT algorithm FROM e2e_fallback_keys_json WHERE user_id = ? AND device_id = ? AND used = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {get_e2e_unused_fallback_key_types-23038} ['@dobre:localhost', 'UTPDMUQORX', False]
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {get_e2e_unused_fallback_key_types-23038} 0.000680 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL] {get_all_groups_for_user-23039} SELECT group_id, type, membership, u.content FROM local_group_updates AS u INNER JOIN local_group_membership USING (group_id, user_id) WHERE user_id = ? AND membership != 'leave' AND stream_id <= ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL values] {get_all_groups_for_user-23039} ('@dobre:localhost', 1)
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-79] [SQL time] {get_all_groups_for_user-23039} 0.002097 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.access.http.8008: [GET-79] 192.168.0.20 - 8008 - {@dobre:localhost} Processed request: 3.356sec/-0.001sec (1.278sec, 0.264sec) (2.449sec/3.004sec/38) 2724B 200 "GET /_matrix/client/r0/sync?timeout=30000&filter=%7B+%22room%22%3A+%7B+%22timeline%22+%3A+%7B+%22limit%22+%3A+10+%7D+%7D+%7D HTTP/1.1" "matrix-python-sdk/0.4.0-dev" [21 dbevts]
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-80] [SQL] {get_association_from_room_alias-2303a} SELECT room_id FROM room_aliases WHERE room_alias = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-80] [SQL values] {get_association_from_room_alias-2303a} ['#test4:localhost']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-80] [SQL time] {get_association_from_room_alias-2303a} 0.000255 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-80] [SQL] {get_association_from_room_alias-2303b} SELECT server FROM room_alias_servers WHERE room_alias = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-80] [SQL values] {get_association_from_room_alias-2303b} ['#test4:localhost']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [GET-80] [SQL time] {get_association_from_room_alias-2303b} 0.000239 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.access.http.8008: [GET-80] 192.168.0.20 - 8008 - {None} Processed request: 0.028sec/-0.001sec (0.015sec, 0.000sec) (0.003sec/0.015sec/2) 79B 200 "GET /_matrix/client/r0/directory/room/%23test4%3Alocalhost HTTP/1.1" "matrix-python-sdk/0.4.0-dev" [0 dbevts]
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [PUT-81] [SQL] {get_event_id_from_transaction_id-2303c} SELECT event_id FROM event_txn_id WHERE room_id = ? AND user_id = ? AND token_id = ? AND txn_id = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [PUT-81] [SQL values] {get_event_id_from_transaction_id-2303c} ['!xQKhvxtEYkFEwTEjzZ:localhost', '@dobre:localhost', 52, '01611096004247']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [PUT-81] [SQL time] {get_event_id_from_transaction_id-2303c} 0.000272 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [PUT-81] [SQL] {get_prev_events_for_room-2303d} SELECT e.event_id FROM event_forward_extremities AS f INNER JOIN events AS e USING (event_id) WHERE f.room_id = ? ORDER BY e.depth DESC LIMIT 10
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [PUT-81] [SQL values] {get_prev_events_for_room-2303d} ('!xQKhvxtEYkFEwTEjzZ:localhost',)
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [PUT-81] [SQL time] {get_prev_events_for_room-2303d} 0.000363 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [PUT-81] [SQL] {get_max_depth_of-2303e} SELECT depth FROM events WHERE event_id IN (?)
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [PUT-81] [SQL values] {get_max_depth_of-2303e} ['$CsPfXMCgs8COaApPULPOCoofju0l0E_nZJC2eSxTMgE']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [PUT-81] [SQL time] {get_max_depth_of-2303e} 0.000251 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL] {get_event_id_from_transaction_id-2303f} SELECT event_id FROM event_txn_id WHERE room_id = ? AND user_id = ? AND token_id = ? AND txn_id = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL values] {get_event_id_from_transaction_id-2303f} ['!xQKhvxtEYkFEwTEjzZ:localhost', '@dobre:localhost', 52, '01611096004247']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL time] {get_event_id_from_transaction_id-2303f} 0.000277 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL] {_get_events_which_are_prevs-23040} SELECT prev_event_id, internal_metadata FROM event_edges INNER JOIN events USING (event_id) LEFT JOIN rejections USING (event_id) LEFT JOIN event_json USING (event_id) WHERE NOT events.outlier AND rejections.event_id IS NULL AND prev_event_id IN (?)
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL values] {_get_events_which_are_prevs-23040} ['$2yMVG4xboThlOYmW2t4803-9TJ7ar0s9yGm6_02tBdU']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL time] {_get_events_which_are_prevs-23040} 0.000287 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL] {_get_prevs_before_rejected-23041} SELECT event_id, prev_event_id, internal_metadata, rejections.event_id IS NOT NULL FROM event_edges INNER JOIN events USING (event_id) LEFT JOIN rejections USING (event_id) LEFT JOIN event_json USING (event_id) WHERE NOT events.outlier AND event_id IN (?)
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL values] {_get_prevs_before_rejected-23041} ['$CsPfXMCgs8COaApPULPOCoofju0l0E_nZJC2eSxTMgE']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL time] {_get_prevs_before_rejected-23041} 0.000327 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL] {persist_events-23042} DELETE FROM event_forward_extremities WHERE room_id = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL values] {persist_events-23042} ['!xQKhvxtEYkFEwTEjzZ:localhost']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL time] {persist_events-23042} 0.001190 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL] {persist_events-23042} INSERT INTO event_forward_extremities (event_id, room_id) VALUES(?, ?)
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL values] {persist_events-23042} (('$2yMVG4xboThlOYmW2t4803-9TJ7ar0s9yGm6_02tBdU', '!xQKhvxtEYkFEwTEjzZ:localhost'),)
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL time] {persist_events-23042} 0.000168 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL] {persist_events-23042} INSERT INTO stream_ordering_to_exterm (event_id, room_id, stream_ordering) VALUES(?, ?, ?)
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL values] {persist_events-23042} (('$2yMVG4xboThlOYmW2t4803-9TJ7ar0s9yGm6_02tBdU', '!xQKhvxtEYkFEwTEjzZ:localhost', 50),)
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL time] {persist_events-23042} 0.000574 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL] {persist_events-23042} SELECT min_depth FROM room_depth WHERE room_id = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL values] {persist_events-23042} ['!xQKhvxtEYkFEwTEjzZ:localhost']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL time] {persist_events-23042} 0.000137 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL] {persist_events-23042} SELECT event_id, outlier FROM events WHERE event_id in (?)
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL values] {persist_events-23042} ['$2yMVG4xboThlOYmW2t4803-9TJ7ar0s9yGm6_02tBdU']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL time] {persist_events-23042} 0.000133 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL] {persist_events-23042} INSERT INTO event_json (event_id, format_version, internal_metadata, json, room_id) VALUES(?, ?, ?, ?, ?)
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL values] {persist_events-23042} (('$2yMVG4xboThlOYmW2t4803-9TJ7ar0s9yGm6_02tBdU', 3, '{"token_id":52,"txn_id":"01611096004247"}', '{"auth_events":["$qYjggtkQtnWxiVEeSRNtUtPs8BZadegj0iwPZTnWVqo","$V5rnY7GD8KywhcjRv6BGBRG7nDlrZmD842V5m1EfCzU","$JOE1Q9mx9pH2JlR0Bo3d6Fp4XcUFwEGYClZW_lFLVZE"],"prev_events":["$CsPfXMCgs8COaApPULPOCoofju0l0E_nZJC2eSxTMgE"],"type":"m.room.message","room_id":"!xQKhvxtEYkFEwTEjzZ:localhost","sender":"@dobre:localhost","content":{"msgtype":"m.notice","body":"<a href=\\"https://google.com/\\">My google link</a>","formatted_body":"<a href=\\"https://google.com/\\">My google link</a>","format":"org.matrix.custom.html"},"depth":12,"prev_state":[],"origin":"localhost","origin_server_ts":1611096002890,"hashes":{"sha256":"KXvfRarazDvG8k2fyMSWp/vUQDuvXlEfvfFYVU/K/iY"},"signatures":{"localhost":{"ed25519:a_QAuD":"goZVrRekcLEro5dkipBBe8/g74+GEmUARToRSSC1vkJJQ0k/53YPFE2G3MwuhacFcyk/o00wsv0NN/1NkJM0DA"}},"unsigned":{"age_ts":1611096002890}}', '!xQKhvxtEYkFEwTEjzZ:localhost'),)
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL time] {persist_events-23042} 0.000501 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL] {persist_events-23042} INSERT INTO events (contains_url, depth, event_id, instance_name, origin_server_ts, outlier, processed, received_ts, room_id, sender, stream_ordering, topological_ordering, type) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL values] {persist_events-23042} ((False, 12, '$2yMVG4xboThlOYmW2t4803-9TJ7ar0s9yGm6_02tBdU', 'master', 1611096002890, False, True, 1611096002972, '!xQKhvxtEYkFEwTEjzZ:localhost', '@dobre:localhost', 50, 12, 'm.room.message'),)
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL time] {persist_events-23042} 0.001034 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL] {persist_events-23042} UPDATE redactions SET have_censored = ? WHERE redacts = ?
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL values] {persist_events-23042} [False, '$2yMVG4xboThlOYmW2t4803-9TJ7ar0s9yGm6_02tBdU']
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL time] {persist_events-23042} 0.000180 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL] {persist_events-23042} INSERT INTO event_txn_id (event_id, inserted_ts, room_id, token_id, txn_id, user_id) VALUES(?, ?, ?, ?, ?, ?)
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL values] {persist_events-23042} (('$2yMVG4xboThlOYmW2t4803-9TJ7ar0s9yGm6_02tBdU', 1611096002985, '!xQKhvxtEYkFEwTEjzZ:localhost', 52, '01611096004247', '@dobre:localhost'),)
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL time] {persist_events-23042} 0.000729 sec
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL] {persist_events-23042} INSERT INTO event_to_state_groups (event_id, state_group) VALUES(?, ?)
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL values] {persist_events-23042} (('$2yMVG4xboThlOYmW2t4803-9TJ7ar0s9yGm6_02tBdU', 24),)
Jan 19 22:40:02 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL time] {persist_events-23042} 0.000550 sec
Jan 19 22:40:03 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL] {persist_events-23042} INSERT INTO event_push_actions ( room_id, event_id, user_id, actions, stream_ordering, topological_ordering, notif, highlight, unread ) SELECT ?, event_id, user_id, actions, ?, ?, notif, highlight, unread FROM event_push_actions_staging WHERE event_id = ?
Jan 19 22:40:03 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL values] {persist_events-23042} <generator object PersistEventsStore._set_push_actions_for_event_and_users_txn.<locals>.<genexpr> at 0x73cb7cb0>
Jan 19 22:40:03 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL time] {persist_events-23042} 0.000266 sec
Jan 19 22:40:03 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL] {persist_events-23042} SELECT user_id FROM event_push_actions_staging WHERE event_id = ?
Jan 19 22:40:03 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL values] {persist_events-23042} ['$2yMVG4xboThlOYmW2t4803-9TJ7ar0s9yGm6_02tBdU']
Jan 19 22:40:03 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL time] {persist_events-23042} 0.000139 sec
Jan 19 22:40:03 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL] {persist_events-23042} DELETE FROM event_push_actions_staging WHERE event_id = ?
Jan 19 22:40:03 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL values] {persist_events-23042} <generator object PersistEventsStore._set_push_actions_for_event_and_users_txn.<locals>.<genexpr> at 0x73cb7fb0>
Jan 19 22:40:03 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL time] {persist_events-23042} 0.000191 sec
Jan 19 22:40:03 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL] {persist_events-23042} INSERT INTO event_edges (event_id, is_state, prev_event_id, room_id) VALUES(?, ?, ?, ?)
Jan 19 22:40:03 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL values] {persist_events-23042} (('$2yMVG4xboThlOYmW2t4803-9TJ7ar0s9yGm6_02tBdU', False, '$CsPfXMCgs8COaApPULPOCoofju0l0E_nZJC2eSxTMgE', '!xQKhvxtEYkFEwTEjzZ:localhost'),)
Jan 19 22:40:03 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL time] {persist_events-23042} 0.000768 sec
Jan 19 22:40:03 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL] {persist_events-23042} INSERT INTO event_backward_extremities (event_id, room_id) SELECT ?, ? WHERE NOT EXISTS ( SELECT 1 FROM event_backward_extremities WHERE event_id = ? AND room_id = ? ) AND NOT EXISTS ( SELECT 1 FROM events WHERE event_id = ? AND room_id = ?  AND outlier = ? )
Jan 19 22:40:03 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL values] {persist_events-23042} [('$CsPfXMCgs8COaApPULPOCoofju0l0E_nZJC2eSxTMgE', '!xQKhvxtEYkFEwTEjzZ:localhost', '$CsPfXMCgs8COaApPULPOCoofju0l0E_nZJC2eSxTMgE', '!xQKhvxtEYkFEwTEjzZ:localhost', '$CsPfXMCgs8COaApPULPOCoofju0l0E_nZJC2eSxTMgE', '!xQKhvxtEYkFEwTEjzZ:localhost', False)]
Jan 19 22:40:03 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL time] {persist_events-23042} 0.000397 sec
Jan 19 22:40:03 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL] {persist_events-23042} DELETE FROM event_backward_extremities WHERE event_id = ? AND room_id = ?
Jan 19 22:40:03 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL values] {persist_events-23042} [('$2yMVG4xboThlOYmW2t4803-9TJ7ar0s9yGm6_02tBdU', '!xQKhvxtEYkFEwTEjzZ:localhost')]
Jan 19 22:40:03 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL time] {persist_events-23042} 0.000122 sec
Jan 19 22:40:03 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL] {persist_events-23042} INSERT INTO event_search (event_id, room_id, key, value) VALUES (?,?,?,?)
Jan 19 22:40:03 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL values] {persist_events-23042} <generator object SearchWorkerStore.store_search_entries_txn.<locals>.<genexpr> at 0x73cb7f30>
Jan 19 22:40:03 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL time] {persist_events-23042} 0.014197 sec
Jan 19 22:40:03 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL] {persist_events-23042} INSERT INTO event_reference_hashes (algorithm, event_id, hash) VALUES(?, ?, ?)
Jan 19 22:40:03 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL values] {persist_events-23042} (('sha256', '$2yMVG4xboThlOYmW2t4803-9TJ7ar0s9yGm6_02tBdU', <memory at 0x723c2cc8>),)
Jan 19 22:40:03 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL time] {persist_events-23042} 0.000649 sec
Jan 19 22:40:03 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL] {persist_events-23042} SELECT  e.event_id as event_id,  r.redacts as redacts, rej.event_id as rejects  FROM events as e LEFT JOIN rejections as rej USING (event_id) LEFT JOIN redactions as r ON e.event_id = r.redacts WHERE e.event_id IN (?)
Jan 19 22:40:03 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL values] {persist_events-23042} ['$2yMVG4xboThlOYmW2t4803-9TJ7ar0s9yGm6_02tBdU']
Jan 19 22:40:03 raspberrypi synapse[7534]: synapse.storage.SQL: [persist_events-18] [SQL time] {persist_events-23042} 0.000167 sec
Jan 19 22:40:05 raspberrypi synapse[7534]: synapse.storage.SQL: [prune_old_user_ips-58022] [SQL] {_prune_old_user_ips-23043} DELETE FROM user_ips WHERE last_seen <= ( SELECT COALESCE(MAX(last_seen), -1) FROM ( SELECT last_seen FROM user_ips WHERE last_seen <= ? ORDER BY last_seen ASC LIMIT 5000 ) AS u )
Jan 19 22:40:05 raspberrypi synapse[7534]: synapse.storage.SQL: [prune_old_user_ips-58022] [SQL values] {_prune_old_user_ips-23043} (1608676803681,)
Jan 19 22:40:05 raspberrypi synapse[7534]: synapse.storage.SQL: [prune_old_user_ips-58022] [SQL time] {_prune_old_user_ips-23043} 0.000359 sec
Jan 19 22:40:05 raspberrypi synapse[7534]: synapse.storage.SQL: [update_client_ips-58021] [SQL] {_update_client_ips_batch-23044} INSERT INTO user_ips (user_id, access_token, ip, user_agent, device_id, last_seen) VALUES (?, ?, ?, ?, ?, ?) ON CONFLICT (user_id, access_token, ip) DO UPDATE SET user_agent=EXCLUDED.user_agent, device_id=EXCLUDED.device_id, last_seen=EXCLUDED.last_seen
Jan 19 22:40:05 raspberrypi synapse[7534]: synapse.storage.SQL: [update_client_ips-58021] [SQL values] {_update_client_ips_batch-23044} ['@dobre:localhost', 'MDAxN2xvY2F0aW9uIGxvY2FsaG9zdAowMDEzaWRlbnRpZmllciBrZXkKMDAxMGNpZCBnZW4gPSAxCjAwMjNjaWQgdXNlcl9pZCA9IEBkb2JyZTpsb2NhbGhvc3QKMDAxNmNpZCB0eXBlID0gYWNjZXNzCjAwMjFjaWQgbm9uY2UgPSBSenAseVosR0ZXLUpTek9rCjAwMmZzaWduYXR1cmUgeR-HPbF8_rJtwGPNVote_ILmfI3kLWgyZfj67VMy0-4K', '192.168.0.20', 'matrix-python-sdk/0.4.0-dev', 'UTPDMUQORX', 1611095999409]
Jan 19 22:40:05 raspberrypi synapse[7534]: synapse.storage.SQL: [update_client_ips-58021] [SQL time] {_update_client_ips_batch-23044} 0.008505 sec
Jan 19 22:40:05 raspberrypi synapse[7534]: synapse.access.http.8008: [PUT-81] 192.168.0.20 - 8008 - {@dobre:localhost} Processed request: 2.618sec/-0.001sec (0.021sec, 0.000sec) (0.005sec/0.019sec/3) 79B 200 "PUT /_matrix/client/r0/rooms/%21xQKhvxtEYkFEwTEjzZ%3Alocalhost/send/m.room.message/01611096004247 HTTP/1.1" "matrix-python-sdk/0.4.0-dev" [0 dbevts]
Jan 19 22:40:05 raspberrypi synapse[7534]: synapse.storage.SQL: [update_client_ips-58021] [SQL] {_update_client_ips_batch-23044} UPDATE devices SET user_agent = ?, last_seen = ?, ip = ? WHERE user_id = ? AND device_id = ?
Jan 19 22:40:05 raspberrypi synapse[7534]: synapse.storage.SQL: [update_client_ips-58021] [SQL values] {_update_client_ips_batch-23044} ['matrix-python-sdk/0.4.0-dev', 1611095999409, '192.168.0.20', '@dobre:localhost', 'UTPDMUQORX']
Jan 19 22:40:05 raspberrypi synapse[7534]: synapse.storage.SQL: [update_client_ips-58021] [SQL time] {_update_client_ips_batch-23044} 0.000392 sec
Jan 19 22:40:07 raspberrypi synapse[7534]: synapse.storage.SQL: [user_directory.notify_new_event-41] [SQL] {update_user_directory_stream_pos-23045} UPDATE user_directory_stream_pos SET stream_id = ?
Jan 19 22:40:07 raspberrypi synapse[7534]: synapse.storage.SQL: [user_directory.notify_new_event-41] [SQL values] {update_user_directory_stream_pos-23045} [50]
Jan 19 22:40:07 raspberrypi synapse[7534]: synapse.storage.SQL: [user_directory.notify_new_event-41] [SQL time] {update_user_directory_stream_pos-23045} 0.000761 sec
Jan 19 22:40:09 raspberrypi synapse[7534]: synapse.storage.SQL: [stats.notify_new_event-41] [SQL] {stats_incremental_total_events_and_bytes-23046} SELECT events.room_id, COUNT(*) AS new_events, SUM(LENGTH(CAST(json AS BLOB))) AS new_bytes FROM events INNER JOIN event_json USING (event_id) WHERE (? < stream_ordering AND stream_ordering <= ?) OR (? <= stream_ordering AND stream_ordering <= ?) GROUP BY events.room_id
Jan 19 22:40:09 raspberrypi synapse[7534]: synapse.storage.SQL: [stats.notify_new_event-41] [SQL values] {stats_incremental_total_events_and_bytes-23046} (49, 50, -50, -49)
Jan 19 22:40:09 raspberrypi synapse[7534]: synapse.storage.SQL: [stats.notify_new_event-41] [SQL time] {stats_incremental_total_events_and_bytes-23046} 0.000388 sec
Jan 19 22:40:09 raspberrypi synapse[7534]: synapse.storage.SQL: [stats.notify_new_event-41] [SQL] {stats_incremental_total_events_and_bytes-23046} SELECT events.sender, COUNT(*) AS new_events, SUM(LENGTH(CAST(json AS BLOB))) AS new_bytes FROM events INNER JOIN event_json USING (event_id) WHERE (? < stream_ordering AND stream_ordering <= ?) OR (? <= stream_ordering AND stream_ordering <= ?) GROUP BY events.sender
Jan 19 22:40:09 raspberrypi synapse[7534]: synapse.storage.SQL: [stats.notify_new_event-41] [SQL values] {stats_incremental_total_events_and_bytes-23046} (49, 50, -50, -49)
Jan 19 22:40:09 raspberrypi synapse[7534]: synapse.storage.SQL: [stats.notify_new_event-41] [SQL time] {stats_incremental_total_events_and_bytes-23046} 0.000374 sec
Jan 19 22:40:09 raspberrypi synapse[7534]: synapse.storage.SQL: [process_event_queue_for_federation-1] [SQL] {get_federation_out_pos-23047} SELECT stream_id FROM federation_stream_position WHERE type = ? AND instance_name = ?
Jan 19 22:40:09 raspberrypi synapse[7534]: synapse.storage.SQL: [process_event_queue_for_federation-1] [SQL values] {get_federation_out_pos-23047} ['events', 'master']
Jan 19 22:40:09 raspberrypi synapse[7534]: synapse.storage.SQL: [process_event_queue_for_federation-1] [SQL time] {get_federation_out_pos-23047} 0.000251 sec
Jan 19 22:40:09 raspberrypi synapse[7534]: synapse.storage.SQL: [prune_old_user_ips-58023] [SQL] {_prune_old_user_ips-23048} DELETE FROM user_ips WHERE last_seen <= ( SELECT COALESCE(MAX(last_seen), -1) FROM ( SELECT last_seen FROM user_ips WHERE last_seen <= ? ORDER BY last_seen ASC LIMIT 5000 ) AS u )
Jan 19 22:40:05 raspberrypi synapse[7534]: synapse.storage.SQL: [prune_old_user_ips-58022] [SQL values] {_prune_old_user_ips-23043} (1608676803681,)
Jan 19 22:40:05 raspberrypi synapse[7534]: synapse.storage.SQL: [prune_old_user_ips-58022] [SQL time] {_prune_old_user_ips-23043} 0.000359 sec
Jan 19 22:40:05 raspberrypi synapse[7534]: synapse.storage.SQL: [update_client_ips-58021] [SQL] {_update_client_ips_batch-23044} INSERT INTO user_ips (user_id, access_token, ip, user_agent, device_id, last_seen) VALUES (?, ?, ?, ?, ?, ?) ON CONFLICT (user_id, access_token, ip) DO UPDATE SET user_agent=EXCLUDED.user_agent, device_id=EXCLUDED.device_id, last_seen=EXCLUDED.last_seen
Jan 19 22:40:05 raspberrypi synapse[7534]: synapse.storage.SQL: [update_client_ips-58021] [SQL values] {_update_client_ips_batch-23044} ['@dobre:localhost', 'MDAxN2xvY2F0aW9uIGxvY2FsaG9zdAowMDEzaWRlbnRpZmllciBrZXkKMDAxMGNpZCBnZW4gPSAxCjAwMjNjaWQgdXNlcl9pZCA9IEBkb2JyZTpsb2NhbGhvc3QKMDAxNmNpZCB0eXBlID0gYWNjZXNzCjAwMjFjaWQgbm9uY2UgPSBSenAseVosR0ZXLUpTek9rCjAwMmZzaWduYXR1cmUgeR-HPbF8_rJtwGPNVote_ILmfI3kLWgyZfj67VMy0-4K', '192.168.0.20', 'matrix-python-sdk/0.4.0-dev', 'UTPDMUQORX', 1611095999409]
Jan 19 22:40:05 raspberrypi synapse[7534]: synapse.storage.SQL: [update_client_ips-58021] [SQL time] {_update_client_ips_batch-23044} 0.008505 sec
Jan 19 22:40:05 raspberrypi synapse[7534]: synapse.access.http.8008: [PUT-81] 192.168.0.20 - 8008 - {@dobre:localhost} Processed request: 2.618sec/-0.001sec (0.021sec, 0.000sec) (0.005sec/0.019sec/3) 79B 200 "PUT /_matrix/client/r0/rooms/%21xQKhvxtEYkFEwTEjzZ%3Alocalhost/send/m.room.message/01611096004247 HTTP/1.1" "matrix-python-sdk/0.4.0-dev" [0 dbevts]
Jan 19 22:40:05 raspberrypi synapse[7534]: synapse.storage.SQL: [update_client_ips-58021] [SQL] {_update_client_ips_batch-23044} UPDATE devices SET user_agent = ?, last_seen = ?, ip = ? WHERE user_id = ? AND device_id = ?
Jan 19 22:40:05 raspberrypi synapse[7534]: synapse.storage.SQL: [update_client_ips-58021] [SQL values] {_update_client_ips_batch-23044} ['matrix-python-sdk/0.4.0-dev', 1611095999409, '192.168.0.20', '@dobre:localhost', 'UTPDMUQORX']
Jan 19 22:40:05 raspberrypi synapse[7534]: synapse.storage.SQL: [update_client_ips-58021] [SQL time] {_update_client_ips_batch-23044} 0.000392 sec
Jan 19 22:40:07 raspberrypi synapse[7534]: synapse.storage.SQL: [user_directory.notify_new_event-41] [SQL] {update_user_directory_stream_pos-23045} UPDATE user_directory_stream_pos SET stream_id = ?
Jan 19 22:40:07 raspberrypi synapse[7534]: synapse.storage.SQL: [user_directory.notify_new_event-41] [SQL values] {update_user_directory_stream_pos-23045} [50]
Jan 19 22:40:07 raspberrypi synapse[7534]: synapse.storage.SQL: [user_directory.notify_new_event-41] [SQL time] {update_user_directory_stream_pos-23045} 0.000761 sec
Jan 19 22:40:09 raspberrypi synapse[7534]: synapse.storage.SQL: [stats.notify_new_event-41] [SQL] {stats_incremental_total_events_and_bytes-23046} SELECT events.room_id, COUNT(*) AS new_events, SUM(LENGTH(CAST(json AS BLOB))) AS new_bytes FROM events INNER JOIN event_json USING (event_id) WHERE (? < stream_ordering AND stream_ordering <= ?) OR (? <= stream_ordering AND stream_ordering <= ?) GROUP BY events.room_id
Jan 19 22:40:09 raspberrypi synapse[7534]: synapse.storage.SQL: [stats.notify_new_event-41] [SQL values] {stats_incremental_total_events_and_bytes-23046} (49, 50, -50, -49)
Jan 19 22:40:09 raspberrypi synapse[7534]: synapse.storage.SQL: [stats.notify_new_event-41] [SQL time] {stats_incremental_total_events_and_bytes-23046} 0.000388 sec
Jan 19 22:40:09 raspberrypi synapse[7534]: synapse.storage.SQL: [stats.notify_new_event-41] [SQL] {stats_incremental_total_events_and_bytes-23046} SELECT events.sender, COUNT(*) AS new_events, SUM(LENGTH(CAST(json AS BLOB))) AS new_bytes FROM events INNER JOIN event_json USING (event_id) WHERE (? < stream_ordering AND stream_ordering <= ?) OR (? <= stream_ordering AND stream_ordering <= ?) GROUP BY events.sender
Jan 19 22:40:09 raspberrypi synapse[7534]: synapse.storage.SQL: [stats.notify_new_event-41] [SQL values] {stats_incremental_total_events_and_bytes-23046} (49, 50, -50, -49)
Jan 19 22:40:09 raspberrypi synapse[7534]: synapse.storage.SQL: [stats.notify_new_event-41] [SQL time] {stats_incremental_total_events_and_bytes-23046} 0.000374 sec
Jan 19 22:40:09 raspberrypi synapse[7534]: synapse.storage.SQL: [process_event_queue_for_federation-1] [SQL] {get_federation_out_pos-23047} SELECT stream_id FROM federation_stream_position WHERE type = ? AND instance_name = ?
Jan 19 22:40:09 raspberrypi synapse[7534]: synapse.storage.SQL: [process_event_queue_for_federation-1] [SQL values] {get_federation_out_pos-23047} ['events', 'master']
Jan 19 22:40:09 raspberrypi synapse[7534]: synapse.storage.SQL: [process_event_queue_for_federation-1] [SQL time] {get_federation_out_pos-23047} 0.000251 sec
Jan 19 22:40:09 raspberrypi synapse[7534]: synapse.storage.SQL: [prune_old_user_ips-58023] [SQL] {_prune_old_user_ips-23048} DELETE FROM user_ips WHERE last_seen <= ( SELECT COALESCE(MAX(last_seen), -1) FROM ( SELECT last_seen FROM user_ips WHERE last_seen <= ? ORDER BY last_seen ASC LIMIT 5000 ) AS u )
Jan 19 22:40:09 raspberrypi synapse[7534]: synapse.storage.SQL: [prune_old_user_ips-58023] [SQL values] {_prune_old_user_ips-23048} (1608676808681,)
Jan 19 22:40:09 raspberrypi synapse[7534]: synapse.storage.SQL: [prune_old_user_ips-58023] [SQL time] {_prune_old_user_ips-23048} 0.000309 sec
Jan 19 22:40:09 raspberrypi synapse[7534]: synapse.storage.SQL: [stats.notify_new_event-41] [SQL] {bulk_update_stats_delta-2304a} INSERT INTO room_stats_current (room_id, completed_delta_stream_id, current_state_events, joined_members, invited_members, left_members, banned_members, local_users_in_room) VALUES (?, ?, ?, ?, ?, ?, ?, ?) ON CONFLICT (room_id) DO UPDATE SET completed_delta_stream_id = EXCLUDED.completed_delta_stream_id, current_state_events = EXCLUDED.current_state_events + room_stats_current.current_state_events, joined_members = EXCLUDED.joined_members + room_stats_current.joined_members, invited_members = EXCLUDED.invited_members + room_stats_current.invited_members, left_members = EXCLUDED.left_members + room_stats_current.left_members, banned_members = EXCLUDED.banned_members + room_stats_current.banned_members, local_users_in_room = EXCLUDED.local_users_in_room + room_stats_current.local_users_in_room
Jan 19 22:40:09 raspberrypi synapse[7534]: synapse.storage.SQL: [stats.notify_new_event-41] [SQL values] {bulk_update_stats_delta-2304a} ['!xQKhvxtEYkFEwTEjzZ:localhost', 50, 0, 0, 0, 0, 0, 0]
Jan 19 22:40:09 raspberrypi synapse[7534]: synapse.storage.SQL: [stats.notify_new_event-41] [SQL time] {bulk_update_stats_delta-2304a} 0.003366 sec
Jan 19 22:40:09 raspberrypi synapse[7534]: synapse.storage.SQL: [stats.notify_new_event-41] [SQL] {bulk_update_stats_delta-2304a} INSERT INTO room_stats_historical (room_id, current_state_events, joined_members, invited_members, left_members, banned_members, local_users_in_room, total_events, total_event_bytes, end_ts, bucket_size) SELECT room_id, current_state_events, joined_members, invited_members, left_members, banned_members, local_users_in_room, ?, ?, ?, ? FROM room_stats_current WHERE room_id = ? ON CONFLICT (room_id, end_ts) DO UPDATE SET current_state_events = EXCLUDED.current_state_events, joined_members = EXCLUDED.joined_members, invited_members = EXCLUDED.invited_members, left_members = EXCLUDED.left_members, banned_members = EXCLUDED.banned_members, local_users_in_room = EXCLUDED.local_users_in_room, total_events = EXCLUDED.total_events + room_stats_historical.total_events, total_event_bytes = EXCLUDED.total_event_bytes + room_stats_historical.total_event_bytes
Jan 19 22:40:09 raspberrypi synapse[7534]: synapse.storage.SQL: [stats.notify_new_event-41] [SQL values] {bulk_update_stats_delta-2304a} [1, 830, 1611100800000, 86400000, '!xQKhvxtEYkFEwTEjzZ:localhost']
Jan 19 22:40:09 raspberrypi synapse[7534]: synapse.storage.SQL: [stats.notify_new_event-41] [SQL time] {bulk_update_stats_delta-2304a} 0.001402 sec
Jan 19 22:40:09 raspberrypi synapse[7534]: synapse.storage.SQL: [stats.notify_new_event-41] [SQL] {bulk_update_stats_delta-2304a} INSERT INTO user_stats_current (user_id, completed_delta_stream_id, joined_rooms) VALUES (?, ?, ?) ON CONFLICT (user_id) DO UPDATE SET completed_delta_stream_id = EXCLUDED.completed_delta_stream_id, joined_rooms = EXCLUDED.joined_rooms + user_stats_current.joined_rooms
Jan 19 22:40:09 raspberrypi synapse[7534]: synapse.storage.SQL: [stats.notify_new_event-41] [SQL values] {bulk_update_stats_delta-2304a} ['@dobre:localhost', 50, 0]
Jan 19 22:40:09 raspberrypi synapse[7534]: synapse.storage.SQL: [stats.notify_new_event-41] [SQL time] {bulk_update_stats_delta-2304a} 0.000743 sec
Jan 19 22:40:09 raspberrypi synapse[7534]: synapse.storage.SQL: [stats.notify_new_event-41] [SQL] {bulk_update_stats_delta-2304a} INSERT INTO user_stats_historical (user_id, joined_rooms, invites_sent, rooms_created, total_events, total_event_bytes, end_ts, bucket_size) SELECT user_id, joined_rooms, ?, ?, ?, ?, ?, ? FROM user_stats_current WHERE user_id = ? ON CONFLICT (user_id, end_ts) DO UPDATE SET joined_rooms = EXCLUDED.joined_rooms, invites_sent = EXCLUDED.invites_sent + user_stats_historical.invites_sent, rooms_created = EXCLUDED.rooms_created + user_stats_historical.rooms_created, total_events = EXCLUDED.total_events + user_stats_historical.total_events, total_event_bytes = EXCLUDED.total_event_bytes + user_stats_historical.total_event_bytes
Jan 19 22:40:09 raspberrypi synapse[7534]: synapse.storage.SQL: [stats.notify_new_event-41] [SQL values] {bulk_update_stats_delta-2304a} [0, 0, 1, 830, 1611100800000, 86400000, '@dobre:localhost']
Jan 19 22:40:09 raspberrypi synapse[7534]: synapse.storage.SQL: [stats.notify_new_event-41] [SQL time] {bulk_update_stats_delta-2304a} 0.001264 sec
Jan 19 22:40:09 raspberrypi synapse[7534]: synapse.storage.SQL: [stats.notify_new_event-41] [SQL] {bulk_update_stats_delta-2304a} UPDATE stats_incremental_position SET stream_id = ?
Jan 19 22:40:09 raspberrypi synapse[7534]: synapse.storage.SQL: [stats.notify_new_event-41] [SQL values] {bulk_update_stats_delta-2304a} [50]
Jan 19 22:40:09 raspberrypi synapse[7534]: synapse.storage.SQL: [stats.notify_new_event-41] [SQL time] {bulk_update_stats_delta-2304a} 0.000329 sec

@blakehawkins
Copy link
Contributor Author

I took a diff of the two pcaps:

3c3
< E..<..@.?..............H.........................c..........
---
> E..<..@.?..C.........Z.H.Nvf.....................E>N........
6c6
< E..<..@.@..M.........H...............O...........a^..c......
---
> E..<..@.@..M.........H.Z.D9C.Nvg....Ev...............E>N....
9c9
< E..4..@.?..............H.....................c...a^.
---
> E..4..@.?..J.........Z.H.Nvg.D9D....p........E>.....
12c12
< E..5..@.?..............H............8........c...a^.POST./_matrix/client/r0/login.HTTP/1.1..Host:.192.168.0.10:8008..User-Agent:.matrix-python-sdk/0.4.0-dev..Accept-Encoding:.gzip,.deflate..Accept:.*/*..Connection:.keep-alive..Content-Type:.application/json..Authorization:.Bearer.None..Content-Length:.65....
---
> E.....@.?............Z.H.Nvg.D9D....G........E>.....POST./_matrix/client/r0/login.HTTP/1.1..host:.192.168.0.10:8008..content-length:.60....{"password":"xleb","type":"m.login.password","user":"dobre"}
15,18c15
< E..4..@.@............H...............o.......a^..c..
< 
< 192.168.0.20 -> 192.168.0.10
< E..u..@.?..............H.............@.......c...a^.{"type":."m.login.password",."user":."dobre",."password":."xleb"}
---
> E..4.F@.@.*..........H.Z.D9D.Nv.....o..........2.E>.
21,24c18
< E..4..@.@............H.......................a^..c..
< 
< 192.168.0.10 -> 192.168.0.20
< E.....@.@............H.......................a...c..HTTP/1.1.200.OK..Transfer-Encoding:.chunked..Server:.Synapse/1.24.0..Date:.Thu,.14.Jan.2021.00:55:30.GMT..Content-Encoding:.gzip..Content-Type:.application/json..Cache-Control:.no-cache,.no-store,.must-revalidate..Access-Control-Allow-Origin:.*..Access-Control-Allow-Methods:.GET,.HEAD,.POST,.PUT,.DELETE,.OPTIONS..Access-Control-Allow-Headers:.Origin,.X-Requested-With,.Content-Type,.Accept,.Authorization,.Date....a..............127..M..n.0.E..u+..HuV5..H.B.5.A`[.l.x.P..K......3..-..k..J;..6i.v.!.....^....uq.T.^...'.Lc..r..`...%&.)l..........".9).6..._.1.-..u......}..N.......'.,{.,].R.~D..K...f>.7we..2d.....,....4?Y..J..B...P......g.D.....m}..h...ap..q.T.0......W...0......)v....n>.9..u\...`..md."../.....N.....k.I...o.mig.....0....
---
> E../.G@.@.'..........H.Z.D9D.Nv......>.........O.E>.HTTP/1.1.200.OK..Transfer-Encoding:.chunked..Server:.Synapse/1.24.0..Date:.Wed,.13.Jan.2021.00:24:28.GMT..Content-Type:.application/json..Cache-Control:.no-cache,.no-store,.must-revalidate..Access-Control-Allow-Origin:.*..Access-Control-Allow-Methods:.GET,.HEAD,.POST,.PUT,.DELETE,.OPTIONS..Access-Control-Allow-Headers:.Origin,.X-Requested-With,.Content-Type,.Accept,.Authorization,.Date....167..{"user_id":"@dobre:localhost","access_token":"MDAxN2xvY2F0aW9uIGxvY2FsaG9zdAowMDEzaWRlbnRpZmllciBrZXkKMDAxMGNpZCBnZW4gPSAxCjAwMjNjaWQgdXNlcl9pZCA9IEBkb2JyZTpsb2NhbGhvc3QKMDAxNmNpZCB0eXBlID0gYWNjZXNzCjAwMjFjaWQgbm9uY2UgPSAzX2hrKlRkdFF3dEVlK1BZCjAwMmZzaWduYXR1cmUg_NWjdz_sy-4_7Ec6WgTzr4Wz4pc3lYKfGzJPOIQWAWgK","home_server":"localhost","device_id":"AMLMTGBHKB"}..0....
27c21
< E..4..@.?..............H.............x.......c...a..
---
> E..4..@.?..H.........Z.H.Nv..D<?.....@.......E~....O
30,36c24
< E.....@.?..s...........H.....................c...a..GET./_matrix/client/r0/sync?timeout=30000&filter=%7B+%22room%22%3A+%7B+%22timeline%22+%3A+%7B+%22limit%22+%3A+10+%7D+%7D+%7D.HTTP/1.1..Host:.192.168.0.10:8008..User-Agent:.matrix-python-sdk/0.4.0-dev..Accept-Encoding:.gzip,.deflate..Accept:.*/*..Connection:.keep-alive..Content-Type:.application/json..Authorization:.Bearer.MDAxN2xvY2F0aW9uIGxvY2FsaG9zdAowMDEzaWRlbnRpZmllciBrZXkKMDAxMGNpZCBnZW4gPSAxCjAwMjNjaWQgdXNlcl9pZCA9IEBkb2JyZTpsb2NhbGhvc3QKMDAxNmNpZCB0eXBlID0gYWNjZXNzCjAwMjFjaWQgbm9uY2UgPSB5QmYrXj0zSGN-WWNaI0JECjAwMmZzaWduYXR1cmUgBTHz9xWnyJLtkdJtdmFQgAwVSie2JkTQF9518mcPJ_IK....
< 
< 192.168.0.10 -> 192.168.0.20
< E..4..@.@............H.........h.............a...c..
< 
< 192.168.0.10 -> 192.168.0.20
< E.....@.@..(.........H.........h.............a.o.c..HTTP/1.1.200.OK..Transfer-Encoding:.chunked..Server:.Synapse/1.24.0..Date:.Thu,.14.Jan.2021.00:55:40.GMT..Content-Encoding:.gzip..Content-Type:.application/json..Cache-Control:.no-cache,.no-store,.must-revalidate..Access-Control-Allow-Origin:.*..Access-Control-Allow-Methods:.GET,.HEAD,.POST,.PUT,.DELETE,.OPTIONS..Access-Control-Allow-Headers:.Origin,.X-Requested-With,.Content-Type,.Accept,.Authorization,.Date....a..............a02...Z.s.8..Wf...V..7.f...>.....E.....A.HW....qb..N2..t.T.2...}O...........f@.s7.sh.|..n..9..+...y..8..0vQ........:.t.9t.U..(.m.%.....v..r..7..D..A.[D....^..Un.1F..,.C......Q...WD.GI9?..b.........A.L.......nL..m..=...l.r..~...n.....fS...k.%...4........].....2..t..8...4.ys.j.m.$.....V....v..(........Y$...H....@.A...W.,.'........n..:`.....W...w.}......8.....].^om.D$.~...i....K.G..fG.b....S..M...-U.+v$.#D..Y..";.^...1.;.+]...F0..=/.x....H.#..|.....6Ye........].+....g.t.^.....E......_...*...UH......SB....!...,{u........O.77n@...D...-).m......._..iYOVz....4.h..}...d...wQ.oi.G......%i....)45..C*][.....\..........e.....n..o.aJ.......I....R._.s.._.].t..V......w.P....}O#5...-....Ie.2...>.....+.yp||....L.'G.'...w.........A.4.....dR..d..?<:.M.QwJ._..O?...Q..2;Qw....Y...d..=.,..$qP.X...Lr...!....H.R....D.'.&.L.Fh....~B.hT%Fd..$..yN."...6}.1.J..~.H..0.".a..%....y.2..Z....u.+3m...J.-.~I.....l..A.$.w..P.^..YA.I...T.K.T.H..._..m...2.a.I......].Y.E..E.....H.....A.y.(.Z.T.5..N...V......n.r;Pf.....n............{..WN.&.G
---
> E.....@.?............Z.H.Nv..D<?....e........E~....OGET./_matrix/client/r0/directory/room/%23test4%3Alocalhost?access_token=MDAxN2xvY2F0aW9uIGxvY2FsaG9zdAowMDEzaWRlbnRpZmllciBrZXkKMDAxMGNpZCBnZW4gPSAxCjAwMjNjaWQgdXNlcl9pZCA9IEBkb2JyZTpsb2NhbGhvc3QKMDAxNmNpZCB0eXBlID0gYWNjZXNzCjAwMjFjaWQgbm9uY2UgPSAzX2hrKlRkdFF3dEVlK1BZCjAwMmZzaWduYXR1cmUg_NWjdz_sy-4_7Ec6WgTzr4Wz4pc3lYKfGzJPOIQWAWgK.HTTP/1.1..host:.192.168.0.10:8008..content-length:.4....null
39c27
< E.....@.@..'.........H.....0...h....y........a.o.c...T.r.O,..A..6vd.m.....:.....W......p.1.On=%..)....{z.p.J\=E.b9..n...]m.....u'...Ab:.>.......XN.2.C..s...h....T4..[...V....e.w..h):.\..`.+..8..]_...m.....soL.2.H\.VAdEp..l..d.w.by....z..]W..R9.=..Ru"W.h....`..|l....q.sR.r....Y...X.<.mm{6*............MF.V......Cp...i..\.x!.^..R..".....r......s@...3...'....o.A)_]..j(..>,W...S.....+.r........+6.d.a....L...,'.Y8.Q..8..T..3..t}yU5...i..qI2F...aZ....<..i..D.m.p/....x^..s........l.......%.....he!..i/..I...o...$......J......Q.b.....7jM.......s.....}X....w....au.T..P]..~`.#.".......Y:.......o..jl...b..be.....V.NK.l.....L.!................B.O.jYn.....o.b...J~..g^Y....1..t?.....tGf.......E.?.....4....dg.U4....w#.8..2...vgC.2^..Fw....R..^...q.,.au.......?.4v.....}li......P..........tG..E.@.@.."w.P.8.^.}.......ov.....c....V...A.m...Iwd.#.=.(GX...........].&Vw...'B[.kr..g.]....^...7F...../.!.'...|../K.3..au.v.......u...8./.@.Nv.....y..=..{i.;.6..0...I..&g!.............l....*.g.`l......R.._...a...*....Y...1....T..kh...Gp.....-..[..x..|.d......O..~m..Jo.D....'.+...B......K...'R..$.H\b....@Nv."s.,..N97.<u.;k9...h\.7.......^...P.EBKb......:q..5.E.qg.....M.G...?Q...#3....)....R..8..x........:.(......Jh......1.."`..eX.#....5b.N....n.....A..m..S~\...U7.s_............@..1.9.....1@........j(.J..4;v.}\.fN..7.#....x7...-...$.L.V.......b........mq[.7e........b?/..}k!..........g.+.(..t.0.W:.Y.+...J3pk..t.V...2...r..[{..[..O(....?...+_....p`O.|..u{Ad6...Rj.j....#.....X3....O(J......"...N......6"{fV.<*..
---
> E..4.H@.@.*..........H.Z.D<?.Nx................b.E~.
42,45c30
< E.....@.@..a.........H.........h.............a.s.c.........Q=V.;..-.....2.yx..t...&};|.3..^=...;c./...y$..nh....M$..>L.}R......C..35.s.....!.+....+....,....0....
< 
< 192.168.0.20 -> 192.168.0.10
< E..4..@.?..............H...h.................c...a.o
---
> E....I@.@.(6.........H.Z.D<?.Nx.....@..........w.E~.HTTP/1.1.200.OK..Transfer-Encoding:.chunked..Server:.Synapse/1.24.0..Date:.Wed,.13.Jan.2021.00:24:44.GMT..Content-Type:.application/json..Cache-Control:.no-cache,.no-store,.must-revalidate..Access-Control-Allow-Origin:.*..Access-Control-Allow-Methods:.GET,.HEAD,.POST,.PUT,.DELETE,.OPTIONS..Access-Control-Allow-Headers:.Origin,.X-Requested-With,.Content-Type,.Accept,.Authorization,.Date....43..{"room_id":"!xQKhvxtEYkFEwTEjzZ:localhost","servers":["localhost"]}..0....
48c33
< E..<..@.?..............H.#..........q............c..........
---
> E..<..@.?............\.HS.G......................E..........
51c36
< E..<..@.@..M.........H....5..#.......Y...........a...c......
---
> E..<..@.@..M.........H.\\w..S.G......W...............E......
54,57c39
< E..4..@.?..............H.#....5.....=........c.!.a..
< 
< 192.168.0.20 -> 192.168.0.10
< E..>..@.?..............H.#....5......D.......c.!.a..GET./_matrix/client/r0/directory/room/%23test4%3Alocalhost.HTTP/1.1..Host:.192.168.0.10:8008..User-Agent:.matrix-python-sdk/0.4.0-dev..Accept-Encoding:.gzip,.deflate..Accept:.*/*..Connection:.keep-alive..Content-Type:.application/json..Authorization:.Bearer.MDAxN2xvY2F0aW9uIGxvY2FsaG9zdAowMDEzaWRlbnRpZmllciBrZXkKMDAxMGNpZCBnZW4gPSAxCjAwMjNjaWQgdXNlcl9pZCA9IEBkb2JyZTpsb2NhbGhvc3QKMDAxNmNpZCB0eXBlID0gYWNjZXNzCjAwMjFjaWQgbm9uY2UgPSB5QmYrXj0zSGN-WWNaI0JECjAwMmZzaWduYXR1cmUgBTHz9xWnyJLtkdJtdmFQgAwVSie2JkTQF9518mcPJ_IK....
---
> E.....@.?............Z.H.Nx..D>......<.......E.....wPUT./_matrix/client/r0/rooms/!xQKhvxtEYkFEwTEjzZ:localhost/send/m.room.message/306be353-b14d-42bd-8fd8-c61a1da34684?access_token=MDAxN2xvY2F0aW9uIGxvY2FsaG9zdAowMDEzaWRlbnRpZmllciBrZXkKMDAxMGNpZCBnZW4gPSAxCjAwMjNjaWQgdXNlcl9pZCA9IEBkb2JyZTpsb2NhbGhvc3QKMDAxNmNpZCB0eXBlID0gYWNjZXNzCjAwMjFjaWQgbm9uY2UgPSAzX2hrKlRkdFF3dEVlK1BZCjAwMmZzaWduYXR1cmUg_NWjdz_sy-4_7Ec6WgTzr4Wz4pc3lYKfGzJPOIQWAWgK.HTTP/1.1..host:.192.168.0.10:8008..content-length:.184....{"msgtype":"m.notice","body":"<a.href=\"https://google.com\">My.google.link</a>","formatted_body":"<a.href=\"https://google.com\">My.google.link</a>","format":"org.matrix.custom.html"}
60c42
< E..4..@.@..D.........H....5..#......;v.......a...c.!
---
> E..4.J@.@.*..........H.Z.D>..Nz..................E..
63,66c45
< E..4..@.?..............H...h...E.....`.......c.,.a.s
< 
< 192.168.0.10 -> 192.168.0.20
< E..3..@.@..D.........H....5..#...............a...c.!HTTP/1.1.200.OK..Transfer-Encoding:.chunked..Server:.Synapse/1.24.0..Date:.Thu,.14.Jan.2021.00:55:40.GMT..Content-Encoding:.gzip..Content-Type:.application/json..Cache-Control:.no-cache,.no-store,.must-revalidate..Access-Control-Allow-Origin:.*..Access-Control-Allow-Methods:.GET,.HEAD,.POST,.PUT,.DELETE,.OPTIONS..Access-Control-Allow-Headers:.Origin,.X-Requested-With,.Content-Type,.Accept,.Authorization,.Date....a..............45...V*.....LQ.RR....(.(q..vs-.q......ON.../.Q.Q*N-*K-*V..VB......J}.C.....0....
---
> E..4..@.?............\.HS.G.\w...............E."....
69c48
< E..4..@.?..............H.#....7.....9<.......c.G.a..
---
> E.....@.?..$.........\.HS.G.\w.......0.......E.#....POST./_matrix/client/r0/logout?access_token=MDAxN2xvY2F0aW9uIGxvY2FsaG9zdAowMDEzaWRlbnRpZmllciBrZXkKMDAxMGNpZCBnZW4gPSAxCjAwMjNjaWQgdXNlcl9pZCA9IEBkb2JyZTpsb2NhbGhvc3QKMDAxNmNpZCB0eXBlID0gYWNjZXNzCjAwMjFjaWQgbm9uY2UgPSAzX2hrKlRkdFF3dEVlK1BZCjAwMmZzaWduYXR1cmUg_NWjdz_sy-4_7Ec6WgTzr4Wz4pc3lYKfGzJPOIQWAWgK.HTTP/1.1..host:.192.168.0.10:8008..content-length:.4....null
71,72c50,51
< 192.168.0.20 -> 192.168.0.10
< E..z..@.?..v...........H...h...E....t4.......c.I.a.sPUT./_matrix/client/r0/rooms/%21xQKhvxtEYkFEwTEjzZ%3Alocalhost/send/m.room.message/01610585740623.HTTP/1.1..Host:.192.168.0.10:8008..User-Agent:.matrix-python-sdk/0.4.0-dev..Accept-Encoding:.gzip,.deflate..Accept:.*/*..Connection:.keep-alive..Content-Type:.application/json..Authorization:.Bearer.MDAxN2xvY2F0aW9uIGxvY2FsaG9zdAowMDEzaWRlbnRpZmllciBrZXkKMDAxMGNpZCBnZW4gPSAxCjAwMjNjaWQgdXNlcl9pZCA9IEBkb2JyZTpsb2NhbGhvc3QKMDAxNmNpZCB0eXBlID0gYWNjZXNzCjAwMjFjaWQgbm9uY2UgPSB5QmYrXj0zSGN-WWNaI0JECjAwMmZzaWduYXR1cmUgBTHz9xWnyJLtkdJtdmFQgAwVSie2JkTQF9518mcPJ_IK..Content-Length:.193....
---
> 192.168.0.10 -> 192.168.0.20
> E..4=A@.@.|..........H.\\w..S.H{.....%...........E.#
75c54
< E..4..@.@............H.....E.................a...c.I
---
> E...=B@.@.z..........H.\\w..S.H{.....U.........1.E.#HTTP/1.1.200.OK..Transfer-Encoding:.chunked..Server:.Synapse/1.24.0..Date:.Wed,.13.Jan.2021.00:24:44.GMT..Content-Type:.application/json..Cache-Control:.no-cache,.no-store,.must-revalidate..Access-Control-Allow-Origin:.*..Access-Control-Allow-Methods:.GET,.HEAD,.POST,.PUT,.DELETE,.OPTIONS..Access-Control-Allow-Headers:.Origin,.X-Requested-With,.Content-Type,.Accept,.Authorization,.Date....2..{}..0....
78,81c57
< E.....@.?..............H.......E....y........c.I.a.s{"msgtype":."m.notice",."body":."<a.href=\"https://google.com/\">My.google.link</a>",."formatted_body":."<a.href=\"https://google.com/\">My.google.link</a>",."format":."org.matrix.custom.html"}
< 
< 192.168.0.10 -> 192.168.0.20
< E..4..@.@............H.....E...o.............a...c.I
---
> E..4..@.?............\.HS.H{\w.j.....I.......E.....1
84,87c60
< E..3..@.@............H.....E...o.....l.......a...c.IHTTP/1.1.200.OK..Transfer-Encoding:.chunked..Server:.Synapse/1.24.0..Date:.Thu,.14.Jan.2021.00:55:40.GMT..Content-Encoding:.gzip..Content-Type:.application/json..Cache-Control:.no-cache,.no-store,.must-revalidate..Access-Control-Allow-Origin:.*..Access-Control-Allow-Methods:.GET,.HEAD,.POST,.PUT,.DELETE,.OPTIONS..Access-Control-Allow-Headers:.Origin,.X-Requested-With,.Content-Type,.Accept,.Authorization,.Date....a..............45...VJ-K.+..LQ.RR..0.I5..u..H.....J,1rII.M7...L.L...H..3..MwT....O.f;.....0....
< 
< 192.168.0.20 -> 192.168.0.10
< E..4..@.?..............H...o...D.............d.k.a..
---
> E....K@.@.(-.........H.Z.D>..Nz.....k..........C.E..HTTP/1.1.500.Internal.Server.Error..Transfer-Encoding:.chunked..Server:.Synapse/1.24.0..Date:.Wed,.13.Jan.2021.00:24:44.GMT..Content-Type:.application/json..Cache-Control:.no-cache,.no-store,.must-revalidate..Access-Control-Allow-Origin:.*..Access-Control-Allow-Methods:.GET,.HEAD,.POST,.PUT,.DELETE,.OPTIONS..Access-Control-Allow-Headers:.Origin,.X-Requested-With,.Content-Type,.Accept,.Authorization,.Date....37..{"errcode":"M_UNKNOWN","error":"Internal.server.error"}..0....
90c63
< E..4..@.?..............H...o...D.............d.t.a..
---
> E..4..@.?............\.HS.H{\w.j.....9.......E.....1
93c66
< E..4..@.?..............H.#....7..............d.t.a..
---
> E..4..@.?..E.........Z.H.Nz..D?..............E.....C
96c69
< E..4..@.@............H.....D...p.............a...d.t
---
> E..4=C@.@.|..........H.\\w.jS.H|...............J.E..
99c72
< E..4..@.@..B.........H....7..#......"V.......a...d.t
---
> E..4.L@.@.*..........H.Z.D?..Nz................K.E..
102c75
< E..4..@.?..............H.#....7.....!........d...a..
---
> E..4..@.?............\.HS.H|\w.k.............E.....J
105c78
< E..4..@.?..............H...p...E.....f.......d...a..
---
> E..4..@.?..D.........Z.H.Nz..D?..............E.....K

A few differences jump out:

  • send_glitch doesn't use a user-agent
  • send_glitch doesn't provide an accept-encoding
  • send_glitch doesn't provide Connection: keep-alive
  • send_glitch doesn't specify content-type
  • send_glitch doesn't use authorization: bearer header

diff.approximation.txt
diff.hex.txt

@blakehawkins
Copy link
Contributor Author

Hi @clokep have you seen my notes above? I have not investigated further, but I think this should be useful information for debugging synapse

I wonder if there is some foreign key on user-agent? Or something expecting one/both of content-type/bearer token header?

@clokep
Copy link
Member

clokep commented Feb 8, 2021

@blakehawkins I have seen it, but I do not know what is causing this issue. Unfortunately since it seems related to that specific client it is somewhat low priority to debug. I don't think this is related to a user agent being part of the request. I suspect that the glitch client is doing something weird with retries (or maybe transaction IDs?)

@richvdh
Copy link
Member

richvdh commented Feb 8, 2021

maybe it's a race related to how quickly the various HTTP requests happen?

@blakehawkins
Copy link
Contributor Author

@clokep just a couple notes here:

  1. send_glitch is just using glitch in the matrix bindings (though that only supports 3 published clients)
  2. Correct me if I'm wrong, but as I've provided a packet dump, I don't think there are any retries or unusual transaction IDs

As mentioned by @richvdh, low-latency HTTP seems potentially problematic.

Do you have a test harness where you can confirm that user-agent, accept-encoding, Connection: keep-alive, content-type, and authorization: bearer headers are all not needed?

(As a reminder, this code used to work, so something has definitely changed)

@clokep
Copy link
Member

clokep commented Feb 22, 2021

Do you have a test harness where you can confirm that user-agent, accept-encoding, Connection: keep-alive, content-type, and authorization: bearer headers are all not needed?

These should not be needed and I don't believe they get set in our unit tests.

Unfortunately I'm not sure what other help we can offer here. I'd suggest you try to make a small reproducible test-case. It seems like it might be related to immediately making additional queries after login.

Additionally it is likely worth asking in #synapse:matrix.org if anyone has had issues with this client before.

@clokep clokep added X-Needs-Info This issue is blocked awaiting information from the reporter and removed z-info-needed labels Feb 22, 2021
@richvdh
Copy link
Member

richvdh commented Apr 8, 2021

Without a useful way to reproduce this, I'm not sure there's much we can do here, so I'm going to go ahead and close this. Let us know if you manage to pin it down any more.

@richvdh richvdh closed this as completed Apr 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
X-Needs-Info This issue is blocked awaiting information from the reporter
Projects
None yet
Development

No branches or pull requests

3 participants