element-hq / dendrite

Dendrite is a second-generation Matrix homeserver written in Go!
https://element-hq.github.io/dendrite/
GNU Affero General Public License v3.0
40 stars 6 forks source link

GetUserDevices spams warnings in log #2256

Closed matrixbot closed 3 weeks ago

matrixbot commented 3 weeks ago

This issue was originally created by @milandamen at https://github.com/matrix-org/dendrite/issues/2256.

Background information

Description

Steps to reproduce

A short snippet of the logs:

WARN[2022-03-06T14:04:13.127302387Z] GetUserDevices returned unknown error type    context=missing error="json: cannot unmarshal number 3080435255 into Go struct field RespUserDevices.stream_id of type int" server_name=matrix.org user_id="@c67354883454:matrix.org"
WARN[2022-03-06T14:04:13.258690254Z] GetUserDevices returned unknown error type    context=missing error="json: cannot unmarshal number 3080435355 into Go struct field RespUserDevices.stream_id of type int" server_name=matrix.org user_id="@user186:matrix.org"
WARN[2022-03-06T14:04:13.876876492Z] GetUserDevices returned unknown error type    context=missing error="json: cannot unmarshal number 3080435433 into Go struct field RespUserDevices.stream_id of type int" server_name=matrix.org user_id="@agorise:matrix.org"
ERRO[2022-03-06T14:04:13.877204305Z] failed to query device keys for some users    context=missing failed=141 server_name=matrix.org total=141 wait=1h0m0s
INFO[2022-03-06T14:04:13.879540771Z] DeviceListUpdater.Update                      context=missing deleted=false device_id=HJRKCRDVVL display_name="app.element.io (Firefox, Linux)" prev_ids="[]" prev_ids_exist=false stream_id=2004015551 user_id="@kevin_m02:matrix.org"
WARN[2022-03-06T14:04:14.004825752Z] GetUserDevices returned unknown error type    context=missing error="json: cannot unmarshal number 3080435434 into Go struct field RespUserDevices.stream_id of type int" server_name=matrix.org user_id="@rwiser:matrix.org"
WARN[2022-03-06T14:04:14.116912858Z] GetUserDevices returned unknown error type    context=missing error="json: cannot unmarshal number 3080435434 into Go struct field RespUserDevices.stream_id of type int" server_name=matrix.org user_id="@astrostride:matrix.org"
WARN[2022-03-06T14:04:14.219675396Z] GetUserDevices returned unknown error type    context=missing error="json: cannot unmarshal number 3080435434 into Go struct field RespUserDevices.stream_id of type int" server_name=matrix.org user_id="@abbenm:matrix.org"
WARN[2022-03-06T14:04:14.844397053Z] GetUserDevices returned unknown error type    context=missing error="json: cannot unmarshal number 3080435434 into Go struct field RespUserDevices.stream_id of type int" server_name=matrix.org user_id="@orthordir:matrix.org"
WARN[2022-03-06T14:04:15.000575977Z] GetUserDevices returned unknown error type    context=missing error="json: cannot unmarshal number 3080435435 into Go struct field RespUserDevices.stream_id of type int" server_name=matrix.org user_id="@tamwile:matrix.org"
WARN[2022-03-06T14:04:15.103539921Z] GetUserDevices returned unknown error type    context=missing error="json: cannot unmarshal number 3080435437 into Go struct field RespUserDevices.stream_id of type int" server_name=matrix.org user_id="@xanos:matrix.org"
matrixbot commented 3 weeks ago

This comment was originally posted by @milandamen at https://github.com/matrix-org/dendrite/issues/2256#issuecomment-1063189726.

Worked around this problem by installing the new 64 bit version of raspberry pi os. Thank you anyway for the fix.