This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
TestImportHistoricalMessages
test fails in Complement when using workers #12825Closed
Description
Interesting piece of log:
msc2716_test.go:64: Deploy times: 22.33672842s blueprints, 7.183656158s containers
msc2716_test.go:1138: Making POST request to http://localhost:49765/_matrix/client/r0/register (4682ca3c5471aa40266ac9893e1a927bbba68489636821bbb71c6b414bb8b107)
msc2716_test.go:1138: Request body: {"type":"m.login.application_service","username":"maria"}
client.go:544: POST hs1/_matrix/client/r0/register => 401 Unauthorized (1.838055ms)
msc2716_test.go:1138: HTTP/1.1 401 Unauthorized
Transfer-Encoding: chunked
Access-Control-Allow-Headers: X-Requested-With, Content-Type, Authorization, Date
Access-Control-Allow-Methods: GET, HEAD, POST, PUT, DELETE, OPTIONS
Access-Control-Allow-Origin: *
Cache-Control: no-cache, no-store, must-revalidate
Connection: keep-alive
Content-Type: application/json
Date: Fri, 20 May 2022 16:26:35 GMT
Server: nginx/1.18.0
55
{"errcode":"M_UNKNOWN_TOKEN","error":"Unrecognised access token","soft_logout":false}
0
msc2716_test.go:1157: msc2716.ensureVirtualUserRegistered failed to register: (M_UNKNOWN_TOKEN) Unrecognised access token
Obtained with
COMPLEMENT_DEBUG=1 WORKERS=1 COMPLEMENT_DIR=../complement ./scripts-dev/complement.sh -run TestImportHistoricalMessages &> ../_misc/2022-05/compl-TestImportHistoricalMessages.log
Looks like it might just be a configuration problem (to add an appservice?)