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

Unable to decrypt the messages when using JWT loginToken and unable to setup secure backup #15779

Closed
nmanthena18 opened this issue Jun 14, 2023 · 2 comments
Labels
A-E2EE End-to-end encryption for Matrix clients O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Minor Blocks non-critical functionality, workarounds exist. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues. X-Needs-Info This issue is blocked awaiting information from the reporter z-auth (Deprecated Label) z-cross-signing (Deprecated Label)

Comments

@nmanthena18
Copy link

nmanthena18 commented Jun 14, 2023

Description

Login with JWT having issue, to decrypt the chat history unable to set up secure backup and giving error "No appropriate authentication flow found"

image

Expected

Since I am using the JWT login flow, setup keys should be happen same as SSO, but it does not happen in this case.

Steps to reproduce

  1. Use the JWT login flow {"flows":[{"type":"org.matrix.login.jwt"}]}
  2. Pass with token to client in the URL with query param ?loginToken=sometoken

Homeserver

chat-server.intellaire.com

Synapse Version

{"server_version":"1.84.1","python_version":"3.11.3"}

Installation Method

Docker (matrixdotorg/synapse)

Database

Using PostgresSQL, no SQLite used yet.

Workers

Single process

Platform

OS: Ubuntu

image

Configuration

No response

Relevant log output

Request #1

Request URL: https://myserver.com/_matrix/client/unstable/keys/device_signing/upload
Request Method: POST
Status Code: 401 Unauthorized
Payload:

{}

Response

{"session":"HYfgMLZCkOzeQwGwuqfcuBkK","flows":[],"params":{}}

Request #2

Request URL: https://myserver.com/_matrix/client/unstable/keys/device_signing/upload
Request Method: POST
Status Code: 401 Unauthorized
Payload:

{"master_key":{"user_id":"@naresh.mmm:myserver.com","usage":["master"],"keys":{"ed25519:OPzN+CHVdzpw3UJVB5cSq4RSG0WI9rWaEMREELZWYiE":"OPzN+CHVdzpw3UJVB5cSq4RSG0WI9rWaEMREELZWYiE"},"signatures":{"@naresh.mmm:myserver.com":{"ed25519:ZCACDUFMKC":"k/GGCzKb08fraEuokTNKcE1JaR5e6uRpjvAxwuzMJFJzApKUKQ/ZhqHZCsDZ+cXi+2jS1rETw2Rc1PDcFZKvDA"}}},"self_signing_key":{"user_id":"@naresh.mmm:myserver.com","usage":["self_signing"],"keys":{"ed25519:fducwf9nWlSTZJtCImP1zCWdaHzLQcCnx3jcveJNKAk":"fducwf9nWlSTZJtCImP1zCWdaHzLQcCnx3jcveJNKAk"},"signatures":{"@naresh.mmm:myserver.com":{"ed25519:OPzN+CHVdzpw3UJVB5cSq4RSG0WI9rWaEMREELZWYiE":"WCl5+TyYbNCIzdt2JLkCTrJh6jA11DRq2o4XV94QDp97SvfnlzuhyPbT6x0a6L1Ovw1JZaF12T3Y4/PHQ4bfBA"}}},"user_signing_key":{"user_id":"@naresh.mmm:myserver.com","usage":["user_signing"],"keys":{"ed25519:+SDWORSS6hD/tUn2lU/n1ba7pGw+med6JlWJKVqY0Ns":"+SDWORSS6hD/tUn2lU/n1ba7pGw+med6JlWJKVqY0Ns"},"signatures":{"@naresh.mmm:myserver.com":{"ed25519:OPzN+CHVdzpw3UJVB5cSq4RSG0WI9rWaEMREELZWYiE":"RuDqvYVqluvDwQzmpfSnOAuGy9FxOtExZ66ru2LRuPLvoovNxThpSvA17e0f21Elzff1PxNFfkgCxG6ek+WWCw"}}},"auth":{}}

Response:

{"session":"wySqVQwFmmnYSOoAzLyqgoBv","flows":[],"params":{}}

Server logs

Server logs
2023-06-14 08:50:54,536 - synapse.access.http.8008 - 461 - INFO - GET-9461 - 183.82.43.178 - 8008 - {@naresh.mm:chat-server.intellaire.com} Processed request: 0.011sec/0.000sec (0.005sec, 0.000sec) (0.003sec/0.003sec/5) 332B 200 "GET /_matrix/client/r0/sync?filter=0&timeout=30000&since=s1659_9825_16_1384_2026_1_4538_830_0_1 HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:50:54,605 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:54,630 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:54,634 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:54,659 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:54,660 - synapse.handlers.e2e_keys - 827 - INFO - POST-9465 - Adding one_time_keys dict_keys(['signed_curve25519:AAAABQ', 'signed_curve25519:AAAABA', 'signed_curve25519:AAAAAw', 'signed_curve25519:AAAAAg', 'signed_curve25519:AAAAAQ']) for device 'IPZGYFDWTE' for user '@naresh.mm:chat-server.intellaire.com' at 1686732654660
2023-06-14 08:50:54,676 - synapse.access.http.8008 - 461 - INFO - POST-9465 - 183.82.43.178 - 8008 - {@naresh.mm:chat-server.intellaire.com} Processed request: 0.016sec/0.000sec (0.002sec, 0.000sec) (0.002sec/0.009sec/5) 47B 200 "POST /_matrix/client/r0/keys/upload HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:50:54,728 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:54,753 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:54,754 - synapse.handlers.e2e_keys - 827 - INFO - POST-9467 - Adding one_time_keys dict_keys(['signed_curve25519:AAAACw', 'signed_curve25519:AAAACg', 'signed_curve25519:AAAACQ', 'signed_curve25519:AAAACA', 'signed_curve25519:AAAABw']) for device 'IPZGYFDWTE' for user '@naresh.mm:chat-server.intellaire.com' at 1686732654754
2023-06-14 08:50:54,766 - synapse.access.http.8008 - 461 - INFO - POST-9467 - 183.82.43.178 - 8008 - {@naresh.mm:chat-server.intellaire.com} Processed request: 0.009sec/0.003sec (0.002sec, 0.000sec) (0.001sec/0.005sec/3) 48B 200 "POST /_matrix/client/r0/keys/upload HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:50:54,815 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:54,840 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:54,840 - synapse.handlers.e2e_keys - 827 - INFO - POST-9469 - Adding one_time_keys dict_keys(['signed_curve25519:AAAAEA', 'signed_curve25519:AAAADw', 'signed_curve25519:AAAADg', 'signed_curve25519:AAAADQ', 'signed_curve25519:AAAADA']) for device 'IPZGYFDWTE' for user '@naresh.mm:chat-server.intellaire.com' at 1686732654840
2023-06-14 08:50:54,856 - synapse.access.http.8008 - 461 - INFO - POST-9469 - 183.82.43.178 - 8008 - {@naresh.mm:chat-server.intellaire.com} Processed request: 0.014sec/0.002sec (0.002sec, 0.000sec) (0.001sec/0.006sec/3) 48B 200 "POST /_matrix/client/r0/keys/upload HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:50:54,910 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:54,936 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:54,937 - synapse.handlers.e2e_keys - 827 - INFO - POST-9471 - Adding one_time_keys dict_keys(['signed_curve25519:AAAAFQ', 'signed_curve25519:AAAAFA', 'signed_curve25519:AAAAEw', 'signed_curve25519:AAAAEg', 'signed_curve25519:AAAAEQ']) for device 'IPZGYFDWTE' for user '@naresh.mm:chat-server.intellaire.com' at 1686732654937
2023-06-14 08:50:54,946 - synapse.access.http.8008 - 461 - INFO - POST-9471 - 183.82.43.178 - 8008 - {@naresh.mm:chat-server.intellaire.com} Processed request: 0.009sec/0.000sec (0.004sec, 0.000sec) (0.001sec/0.005sec/3) 48B 200 "POST /_matrix/client/r0/keys/upload HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:50:54,993 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:55,020 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:55,021 - synapse.handlers.e2e_keys - 827 - INFO - POST-9473 - Adding one_time_keys dict_keys(['signed_curve25519:AAAAGg', 'signed_curve25519:AAAAGQ', 'signed_curve25519:AAAAGA', 'signed_curve25519:AAAAFw', 'signed_curve25519:AAAAFg']) for device 'IPZGYFDWTE' for user '@naresh.mm:chat-server.intellaire.com' at 1686732655021
2023-06-14 08:50:55,038 - synapse.access.http.8008 - 461 - INFO - POST-9473 - 183.82.43.178 - 8008 - {@naresh.mm:chat-server.intellaire.com} Processed request: 0.017sec/0.000sec (0.002sec, 0.001sec) (0.001sec/0.012sec/3) 48B 200 "POST /_matrix/client/r0/keys/upload HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:50:55,091 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:55,116 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:55,117 - synapse.handlers.e2e_keys - 827 - INFO - POST-9475 - Adding one_time_keys dict_keys(['signed_curve25519:AAAAHw', 'signed_curve25519:AAAAHg', 'signed_curve25519:AAAAHQ', 'signed_curve25519:AAAAHA', 'signed_curve25519:AAAAGw']) for device 'IPZGYFDWTE' for user '@naresh.mm:chat-server.intellaire.com' at 1686732655117
2023-06-14 08:50:55,127 - synapse.access.http.8008 - 461 - INFO - POST-9475 - 183.82.43.178 - 8008 - {@naresh.mm:chat-server.intellaire.com} Processed request: 0.010sec/0.001sec (0.002sec, 0.000sec) (0.001sec/0.006sec/3) 48B 200 "POST /_matrix/client/r0/keys/upload HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:50:55,184 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:55,187 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:55,212 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:55,213 - synapse.handlers.e2e_keys - 827 - INFO - POST-9478 - Adding one_time_keys dict_keys(['signed_curve25519:AAAAJA', 'signed_curve25519:AAAAIw', 'signed_curve25519:AAAAIg', 'signed_curve25519:AAAAIQ', 'signed_curve25519:AAAAIA']) for device 'IPZGYFDWTE' for user '@naresh.mm:chat-server.intellaire.com' at 1686732655213
2023-06-14 08:50:55,214 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:55,226 - synapse.access.http.8008 - 461 - INFO - POST-9478 - 183.82.43.178 - 8008 - {@naresh.mm:chat-server.intellaire.com} Processed request: 0.013sec/0.001sec (0.002sec, 0.002sec) (0.001sec/0.008sec/3) 48B 200 "POST /_matrix/client/r0/keys/upload HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:50:55,229 - synapse.access.http.8008 - 461 - INFO - PUT-9479 - 183.82.43.178 - 8008 - {@naresh.mm:chat-server.intellaire.com} Processed request: 0.014sec/0.001sec (0.001sec, 0.000sec) (0.002sec/0.007sec/3) 2B 200 "PUT /_matrix/client/r0/sendToDevice/m.room_key_request/m1686732654677.0 HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:50:55,239 - synapse.access.http.8008 - 461 - INFO - GET-9463 - 183.82.43.178 - 8008 - {@naresh.mm:chat-server.intellaire.com} Processed request: 0.608sec/0.000sec (0.002sec, 0.001sec) (0.002sec/0.005sec/3) 724B 200 "GET /_matrix/client/r0/sync?filter=0&timeout=30000&since=s1659_9825_16_1384_2028_1_4538_830_0_1 HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:50:55,269 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:55,279 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:55,281 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:55,301 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:55,318 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:55,318 - synapse.handlers.e2e_keys - 827 - INFO - POST-9484 - Adding one_time_keys dict_keys(['signed_curve25519:AAAAKQ', 'signed_curve25519:AAAAKA', 'signed_curve25519:AAAAJw', 'signed_curve25519:AAAAJg', 'signed_curve25519:AAAAJQ']) for device 'IPZGYFDWTE' for user '@naresh.mm:chat-server.intellaire.com' at 1686732655318
2023-06-14 08:50:55,319 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:55,340 - synapse.access.http.8008 - 461 - INFO - PUT-9485 - 183.82.43.178 - 8008 - {@naresh.mm:chat-server.intellaire.com} Processed request: 0.015sec/0.005sec (0.001sec, 0.000sec) (0.002sec/0.006sec/3) 2B 200 "PUT /_matrix/client/r0/sendToDevice/m.room_key_request/m1686732654761.1 HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:50:55,344 - synapse.access.http.8008 - 461 - INFO - POST-9484 - 183.82.43.178 - 8008 - {@naresh.mm:chat-server.intellaire.com} Processed request: 0.026sec/0.000sec (0.001sec, 0.001sec) (0.003sec/0.017sec/3) 48B 200 "POST /_matrix/client/r0/keys/upload HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:50:55,346 - synapse.access.http.8008 - 461 - INFO - GET-9483 - 183.82.43.178 - 8008 - {@naresh.mm:chat-server.intellaire.com} Processed request: 0.044sec/0.000sec (0.002sec, 0.000sec) (0.009sec/0.007sec/3) 724B 200 "GET /_matrix/client/r0/sync?filter=0&timeout=30000&since=s1659_9825_16_1384_2028_1_4539_830_0_1 HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:50:55,387 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:55,394 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:55,396 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:55,424 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:55,434 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:55,435 - synapse.handlers.e2e_keys - 827 - INFO - POST-9490 - Adding one_time_keys dict_keys(['signed_curve25519:AAAALg', 'signed_curve25519:AAAALQ', 'signed_curve25519:AAAALA', 'signed_curve25519:AAAAKw', 'signed_curve25519:AAAAKg']) for device 'IPZGYFDWTE' for user '@naresh.mm:chat-server.intellaire.com' at 1686732655435
2023-06-14 08:50:55,437 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:55,454 - synapse.access.http.8008 - 461 - INFO - POST-9490 - 183.82.43.178 - 8008 - {@naresh.mm:chat-server.intellaire.com} Processed request: 0.017sec/0.002sec (0.004sec, 0.001sec) (0.001sec/0.012sec/3) 48B 200 "POST /_matrix/client/r0/keys/upload HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:50:55,455 - synapse.access.http.8008 - 461 - INFO - PUT-9491 - 183.82.43.178 - 8008 - {@naresh.mm:chat-server.intellaire.com} Processed request: 0.017sec/0.001sec (0.003sec, 0.000sec) (0.001sec/0.011sec/3) 2B 200 "PUT /_matrix/client/r0/sendToDevice/m.room_key_request/m1686732654761.2 HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:50:55,467 - synapse.access.http.8008 - 461 - INFO - GET-9489 - 183.82.43.178 - 8008 - {@naresh.mm:chat-server.intellaire.com} Processed request: 0.042sec/0.000sec (0.002sec, 0.002sec) (0.004sec/0.010sec/3) 724B 200 "GET /_matrix/client/r0/sync?filter=0&timeout=30000&since=s1659_9825_16_1384_2028_1_4540_830_0_1 HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:50:55,503 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:55,506 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:55,516 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:55,529 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:55,535 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:55,541 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:55,542 - synapse.handlers.e2e_keys - 827 - INFO - POST-9497 - Adding one_time_keys dict_keys(['signed_curve25519:AAAAMw', 'signed_curve25519:AAAAMg', 'signed_curve25519:AAAAMQ', 'signed_curve25519:AAAAMA', 'signed_curve25519:AAAALw']) for device 'IPZGYFDWTE' for user '@naresh.mm:chat-server.intellaire.com' at 1686732655542
2023-06-14 08:50:55,553 - synapse.access.http.8008 - 461 - INFO - PUT-9496 - 183.82.43.178 - 8008 - {@naresh.mm:chat-server.intellaire.com} Processed request: 0.013sec/0.004sec (0.002sec, 0.000sec) (0.001sec/0.007sec/3) 2B 200 "PUT /_matrix/client/r0/sendToDevice/m.room_key_request/m1686732654881.3 HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:50:55,558 - synapse.access.http.8008 - 461 - INFO - POST-9497 - 183.82.43.178 - 8008 - {@naresh.mm:chat-server.intellaire.com} Processed request: 0.016sec/0.001sec (0.002sec, 0.000sec) (0.002sec/0.007sec/3) 48B 200 "POST /_matrix/client/r0/keys/upload HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:50:55,561 - synapse.access.http.8008 - 461 - INFO - GET-9495 - 183.82.43.178 - 8008 - {@naresh.mm:chat-server.intellaire.com} Processed request: 0.031sec/0.001sec (0.002sec, 0.001sec) (0.002sec/0.010sec/3) 724B 200 "GET /_matrix/client/r0/sync?filter=0&timeout=30000&since=s1659_9825_16_1384_2028_1_4541_830_0_1 HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:50:55,590 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:55,595 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:55,616 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:55,620 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:55,630 - synapse.access.http.8008 - 461 - INFO - PUT-9501 - 183.82.43.178 - 8008 - {@naresh.mm:chat-server.intellaire.com} Processed request: 0.009sec/0.001sec (0.003sec, 0.000sec) (0.001sec/0.005sec/3) 2B 200 "PUT /_matrix/client/r0/sendToDevice/m.room_key_request/m1686732654882.4 HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:50:55,636 - synapse.access.http.8008 - 461 - INFO - GET-9500 - 183.82.43.178 - 8008 - {@naresh.mm:chat-server.intellaire.com} Processed request: 0.018sec/0.001sec (0.003sec, 0.000sec) (0.001sec/0.005sec/3) 724B 200 "GET /_matrix/client/r0/sync?filter=0&timeout=30000&since=s1659_9825_16_1384_2028_1_4542_830_0_1 HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:50:55,664 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:55,671 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:55,690 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:55,702 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:55,710 - synapse.storage.databases.main.event_push_actions - 1452 - INFO - rotate_notifs-1986 - Rotating notifications
2023-06-14 08:50:55,716 - synapse.storage.databases.main.event_push_actions - 1675 - INFO - rotate_notifs-1986 - Rotating notifications up to: 1659
2023-06-14 08:50:55,724 - synapse.storage.databases.main.event_push_actions - 1774 - INFO - rotate_notifs-1986 - Rotating notifications, handling 0 rows
2023-06-14 08:50:55,726 - synapse.access.http.8008 - 461 - INFO - PUT-9505 - 183.82.43.178 - 8008 - {@naresh.mm:chat-server.intellaire.com} Processed request: 0.020sec/0.002sec (0.002sec, 0.000sec) (0.004sec/0.010sec/3) 2B 200 "PUT /_matrix/client/r0/sendToDevice/m.room_key_request/m1686732654927.5 HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:50:55,740 - synapse.access.http.8008 - 461 - INFO - GET-9504 - 183.82.43.178 - 8008 - {@naresh.mm:chat-server.intellaire.com} Processed request: 0.045sec/0.004sec (0.008sec, 0.001sec) (0.003sec/0.006sec/3) 724B 200 "GET /_matrix/client/r0/sync?filter=0&timeout=30000&since=s1659_9825_16_1384_2028_1_4543_830_0_1 HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:50:55,742 - synapse.storage.databases.main.event_push_actions - 1876 - INFO - rotate_notifs-1986 - Rotating notifications, deleted 0 push actions
2023-06-14 08:50:55,772 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:55,801 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:50:55,845 - synapse.util.caches.lrucache - 212 - INFO - LruCache._expire_old_entries-1986 - Dropped 0 items from caches
2023-06-14 08:51:05,351 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:51:05,382 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:51:05,384 - synapse.access.http.8008 - 461 - INFO - PUT-9510 - 183.82.43.178 - 8008 - {@naresh.mm:chat-server.intellaire.com} Processed request: 0.001sec/0.001sec (0.000sec, 0.000sec) (0.000sec/0.000sec/0) 2B 200 "PUT /_matrix/client/r0/presence/%40naresh.mm%3Achat-server.intellaire.com/status HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:51:25,705 - synapse.storage.databases.main.event_push_actions - 1452 - INFO - rotate_notifs-1987 - Rotating notifications
2023-06-14 08:51:25,708 - synapse.storage.databases.main.event_push_actions - 1675 - INFO - rotate_notifs-1987 - Rotating notifications up to: 1659
2023-06-14 08:51:25,715 - synapse.storage.databases.main.event_push_actions - 1774 - INFO - rotate_notifs-1987 - Rotating notifications, handling 0 rows
2023-06-14 08:51:25,725 - synapse.storage.databases.main.event_push_actions - 1876 - INFO - rotate_notifs-1987 - Rotating notifications, deleted 0 push actions
2023-06-14 08:51:25,810 - synapse.access.http.8008 - 461 - INFO - GET-9507 - 183.82.43.178 - 8008 - {@naresh.mm:chat-server.intellaire.com} Processed request: 30.009sec/0.000sec (0.002sec, 0.000sec) (0.002sec/0.004sec/2) 242B 200 "GET /_matrix/client/r0/sync?filter=0&timeout=30000&since=s1659_9825_16_1384_2028_1_4544_830_0_1 HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:51:25,812 - synapse.handlers.presence - 796 - INFO - persist_presence_changes-992 - Persisting 1 unpersisted presence updates
2023-06-14 08:51:25,841 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:51:25,845 - synapse.util.caches.lrucache - 212 - INFO - LruCache._expire_old_entries-1987 - Dropped 0 items from caches
2023-06-14 08:51:25,867 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:51:40,925 - synapse.metrics._gc - 120 - INFO - sentinel - Collecting gc 1
2023-06-14 08:51:53,536 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:51:53,539 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:51:53,564 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:51:53,565 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:51:53,571 - synapse.access.http.8008 - 461 - INFO - GET-9518 - 183.82.43.178 - 8008 - {None} Processed request: 0.005sec/0.002sec (0.001sec, 0.000sec) (0.002sec/0.001sec/2) 27B 200 "GET /_matrix/client/r0/profile/%40naresh.mm%3Achat-server.intellaire.com HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:51:53,573 - synapse.access.http.8008 - 461 - INFO - GET-9519 - 183.82.43.178 - 8008 - {@naresh.mm:chat-server.intellaire.com} Processed request: 0.008sec/0.001sec (0.002sec, 0.000sec) (0.002sec/0.002sec/2) 391B 200 "GET /_matrix/client/r0/devices HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:51:55,702 - synapse.storage.databases.main.event_push_actions - 1452 - INFO - rotate_notifs-1988 - Rotating notifications
2023-06-14 08:51:55,704 - synapse.storage.databases.main.event_push_actions - 1675 - INFO - rotate_notifs-1988 - Rotating notifications up to: 1659
2023-06-14 08:51:55,708 - synapse.storage.databases.main.event_push_actions - 1774 - INFO - rotate_notifs-1988 - Rotating notifications, handling 0 rows
2023-06-14 08:51:55,714 - synapse.storage.databases.main.event_push_actions - 1876 - INFO - rotate_notifs-1988 - Rotating notifications, deleted 0 push actions
2023-06-14 08:51:55,845 - synapse.util.caches.lrucache - 212 - INFO - LruCache._expire_old_entries-1988 - Dropped 0 items from caches
2023-06-14 08:51:55,873 - synapse.access.http.8008 - 461 - INFO - GET-9513 - 183.82.43.178 - 8008 - {@naresh.mm:chat-server.intellaire.com} Processed request: 30.005sec/0.000sec (0.000sec, 0.000sec) (0.000sec/0.001sec/1) 417B 200 "GET /_matrix/client/r0/sync?filter=0&timeout=30000&since=s1659_9825_16_1384_2028_1_4544_830_0_1 HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:51:55,907 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:51:55,935 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:51:57,425 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:51:57,426 - synapse.access.http.8008 - 461 - INFO - GET-9522 - 183.82.43.178 - 8008 - {None} Processed request: 0.001sec/0.001sec (0.000sec, 0.000sec) (0.000sec/0.000sec/0) 926B 200 "GET /_matrix/client/versions HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:51:57,455 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:51:57,484 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:51:57,544 - synapse.access.http.8008 - 461 - INFO - GET-9524 - 183.82.43.178 - 8008 - {@ramesh.d:chat-server.intellaire.com} Processed request: 0.058sec/0.000sec (0.007sec, 0.002sec) (0.008sec/0.034sec/20) 413B 200 "GET /_matrix/client/r0/sync?filter=0&timeout=0&since=s1659_9814_16_1384_2024_1_4532_824_0_1 HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:51:57,646 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:51:57,676 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:51:58,631 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:51:58,660 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:51:58,663 - synapse.access.http.8008 - 461 - INFO - GET-9528 - 183.82.43.178 - 8008 - {None} Processed request: 0.002sec/0.000sec (0.001sec, 0.000sec) (0.000sec/0.001sec/2) 27B 200 "GET /_matrix/client/r0/profile/%40naresh.mm%3Achat-server.intellaire.com HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:52:02,532 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:52:02,533 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:52:02,558 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:52:02,560 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:52:02,567 - synapse.access.http.8008 - 461 - INFO - GET-9532 - 183.82.43.178 - 8008 - {@naresh.mm:chat-server.intellaire.com} Processed request: 0.006sec/0.000sec (0.003sec, 0.000sec) (0.001sec/0.003sec/2) 329B 200 "GET /_matrix/client/v3/room_keys/version HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:52:02,573 - synapse.access.http.8008 - 461 - INFO - POST-9531 - 183.82.43.178 - 8008 - {@naresh.mm:chat-server.intellaire.com} Processed request: 0.014sec/0.000sec (0.003sec, 0.001sec) (0.002sec/0.009sec/5) 61B 401 "POST /_matrix/client/unstable/keys/device_signing/upload HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:52:03,695 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:52:03,733 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:52:03,737 - synapse.access.http.8008 - 461 - INFO - GET-9535 - 183.82.43.178 - 8008 - {None} Processed request: 0.003sec/0.000sec (0.001sec, 0.000sec) (0.001sec/0.001sec/2) 27B 200 "GET /_matrix/client/r0/profile/%40naresh.mm%3Achat-server.intellaire.com HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:52:06,526 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:52:06,552 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:52:06,561 - synapse.access.http.8008 - 461 - INFO - PUT-9537 - 183.82.43.178 - 8008 - {@naresh.mm:chat-server.intellaire.com} Processed request: 0.008sec/0.001sec (0.001sec, 0.000sec) (0.001sec/0.004sec/3) 2B 200 "PUT /_matrix/client/r0/user/%40naresh.mm%3Achat-server.intellaire.com/account_data/m.secret_storage.key.MjiLaXhABUprFSMD8eeia3ECpmu2wmjj HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:52:06,577 - synapse.access.http.8008 - 461 - INFO - GET-9521 - 183.82.43.178 - 8008 - {@naresh.mm:chat-server.intellaire.com} Processed request: 10.641sec/0.000sec (0.005sec, 0.001sec) (0.004sec/0.009sec/5) 480B 200 "GET /_matrix/client/r0/sync?filter=0&timeout=30000&since=s1659_9826_16_1384_2028_1_4544_830_0_1 HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:52:06,592 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:52:06,606 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:52:06,608 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:52:06,619 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:52:06,632 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:52:06,636 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:52:06,643 - synapse.access.http.8008 - 461 - INFO - PUT-9541 - 183.82.43.178 - 8008 - {@naresh.mm:chat-server.intellaire.com} Processed request: 0.020sec/0.004sec (0.002sec, 0.000sec) (0.001sec/0.014sec/3) 2B 200 "PUT /_matrix/client/r0/user/%40naresh.mm%3Achat-server.intellaire.com/account_data/m.secret_storage.default_key HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:52:06,648 - synapse.access.http.8008 - 461 - INFO - GET-9542 - 183.82.43.178 - 8008 - {None} Processed request: 0.014sec/0.001sec (0.001sec, 0.000sec) (0.004sec/0.002sec/2) 27B 200 "GET /_matrix/client/r0/profile/%40naresh.mm%3Achat-server.intellaire.com HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:52:06,658 - synapse.access.http.8008 - 461 - INFO - GET-9543 - 183.82.43.178 - 8008 - {@naresh.mm:chat-server.intellaire.com} Processed request: 0.020sec/0.000sec (0.001sec, 0.001sec) (0.005sec/0.011sec/4) 363B 200 "GET /_matrix/client/r0/sync?filter=0&timeout=30000&since=s1659_9827_16_1384_2029_1_4544_830_0_1 HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:52:06,671 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:52:06,684 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:52:06,686 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:52:06,696 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:52:06,704 - synapse.access.http.8008 - 461 - INFO - PUT-9547 - 183.82.43.178 - 8008 - {@naresh.mm:chat-server.intellaire.com} Processed request: 0.008sec/0.001sec (0.001sec, 0.000sec) (0.001sec/0.003sec/3) 2B 200 "PUT /_matrix/client/r0/user/%40naresh.mm%3Achat-server.intellaire.com/account_data/m.megolm_backup.v1 HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:52:06,713 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:52:06,715 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:52:06,723 - synapse.access.http.8008 - 461 - INFO - GET-9548 - 183.82.43.178 - 8008 - {None} Processed request: 0.008sec/0.002sec (0.002sec, 0.000sec) (0.001sec/0.002sec/2) 27B 200 "GET /_matrix/client/r0/profile/%40naresh.mm%3Achat-server.intellaire.com HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:52:06,730 - synapse.access.http.8008 - 461 - INFO - GET-9549 - 183.82.43.178 - 8008 - {@naresh.mm:chat-server.intellaire.com} Processed request: 0.013sec/0.001sec (0.002sec, 0.000sec) (0.002sec/0.007sec/4) 524B 200 "GET /_matrix/client/r0/sync?filter=0&timeout=30000&since=s1659_9827_16_1384_2030_1_4544_830_0_1 HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:52:06,732 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:52:06,760 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:52:06,761 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:52:06,764 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:52:06,772 - synapse.access.http.8008 - 461 - INFO - POST-9551 - 183.82.43.178 - 8008 - {@naresh.mm:chat-server.intellaire.com} Processed request: 0.011sec/0.001sec (0.001sec, 0.000sec) (0.001sec/0.004sec/1) 15B 200 "POST /_matrix/client/v3/room_keys/version HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:52:06,791 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:52:06,793 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:52:06,801 - synapse.access.http.8008 - 461 - INFO - GET-9554 - 183.82.43.178 - 8008 - {None} Processed request: 0.009sec/0.000sec (0.001sec, 0.000sec) (0.001sec/0.006sec/2) 27B 200 "GET /_matrix/client/r0/profile/%40naresh.mm%3Achat-server.intellaire.com HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:52:07,906 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:52:07,931 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:52:07,943 - synapse.access.http.8008 - 461 - INFO - POST-9557 - 183.82.43.178 - 8008 - {@naresh.mm:chat-server.intellaire.com} Processed request: 0.010sec/0.001sec (0.001sec, 0.001sec) (0.001sec/0.007sec/5) 61B 401 "POST /_matrix/client/unstable/keys/device_signing/upload HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]
2023-06-14 08:52:12,176 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:52:12,201 - synapse.http.site - 564 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2023-06-14 08:52:12,205 - synapse.access.http.8008 - 461 - INFO - GET-9559 - 183.82.43.178 - 8008 - {None} Processed request: 0.003sec/0.000sec (0.001sec, 0.000sec) (0.001sec/0.001sec/2) 27B 200 "GET /_matrix/client/r0/profile/%40naresh.mm%3Achat-server.intellaire.com HTTP/1.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" [0 dbevts]

Anything else that would be useful to know?

I have already posted same question in with element-web.
element-hq/element-web#25593

@MatMaul MatMaul added A-E2EE End-to-end encryption for Matrix clients S-Minor Blocks non-critical functionality, workarounds exist. O-Uncommon Most users are unlikely to come across this or unexpected workflow T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues. labels Jun 15, 2023
@MadLittleMods MadLittleMods changed the title Unable to decrypt the messages loginWithToken & unable to setup secure backup Unable to decrypt the messages when using JWT loginToken and unable to setup secure backup Jun 26, 2023
@MadLittleMods MadLittleMods added z-auth (Deprecated Label) z-cross-signing (Deprecated Label) and removed z-auth (Deprecated Label) labels Jun 26, 2023
@MadLittleMods
Copy link
Contributor

Please edit the description and add your homeserver.yaml configuration.

The server logs don't contain anything beyond indicating the /keys/device_signing/upload -> 401 responses.


But I think you're just misunderstanding how to use JWT tokens to login. The ?loginToken query parameter is for the SSO authentication flows which is different than JWT.

The relevant docs for JWT are here: https://matrix-org.github.io/synapse/latest/jwt.html

  1. Once you have your JWT token
  2. Check to make sure JWT is configured on your server: GET https://myserver.com/_matrix/client/r0/login and ensure org.matrix.login.jwt exists
  3. To login, POST https://myserver.com/_matrix/client/r0/login with {"type":"org.matrix.login.jwt","token":"xxx"}

It appears like Element Web doesn't support JWT login so I assume this is something custom you're trying to do like was attempted in element-hq/element-web#20673 ?


Additionally, perhaps there is a separate issue mentioned in element-hq/element-web#25593 (comment) saying that a 401 Unauthorized response should return some flows. But it seems like there is a root cause to work through first.

@MadLittleMods MadLittleMods added X-Needs-Info This issue is blocked awaiting information from the reporter z-auth (Deprecated Label) labels Jun 26, 2023
@reivilibre
Copy link
Contributor

Given that this issue doesn't seem active, I will close it as I don't believe there is anything for us to do here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-E2EE End-to-end encryption for Matrix clients O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Minor Blocks non-critical functionality, workarounds exist. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues. X-Needs-Info This issue is blocked awaiting information from the reporter z-auth (Deprecated Label) z-cross-signing (Deprecated Label)
Projects
None yet
Development

No branches or pull requests

4 participants