Can't refresh timeline in Tusky: non-alphabet digit found: `
Environment
- Installation type (OTP or From Source): From Source
- Pleroma version (could be found in the "Version" tab of settings in Pleroma-FE): 2.4.2
- Elixir version (
elixir -v
for from source installations, N/A for OTP): 1.12.1 - Operating system: Gentoo Linux
- PostgreSQL version (
psql -V
): 13.5
Bug description
I'm getting this error when refreshing the home timeline in Tusky:
2022-03-13 11:33:43 [pleroma] request_id=FtvqOgPmfwDg3cIAAoRB [debug] GET /api/v1/timelines/home
2022-03-13 11:33:43 [pleroma] request_id=FtvqOgPmfwDg3cIAAoRB [debug] Processing with
2022-03-13 11:33:43 [pleroma] request_id=FtvqOgPmfwDg3cIAAoRB [debug] Processing with Pleroma.Web.MastodonAPI.TimelineController.home/2_ Parameters: %{"limit" => "30", "since_id" => "AHKkQNnhEXixxt80Q`"}_ Pipelines: [:authenticated_api]
[…]
2022-03-13 11:33:43 [pleroma] request_id=FtvqOgPmfwDg3cIAAoRB [error] Internal server error: %ArgumentError{message: "non-alphabet digit found: `"}
The notification timeline still works and the Pleroma FE works normally. I'm not sure if Pleroma sent the wrong ID in the first place or if Tusky modified it.
Full log:
2022-03-13 11:33:43 [pleroma] [info] GET /api/v1/timelines/home
2022-03-13 11:33:43 [pleroma] request_id=FtvqOgPmfwDg3cIAAoRB [debug] GET /api/v1/timelines/home
2022-03-13 11:33:43 [pleroma] request_id=FtvqOgPmfwDg3cIAAoRB [debug] Processing with Pleroma.Web.MastodonAPI.TimelineController.home/2_ Parameters: %{"limit" => "30", "since_id" => "AHKkQNnh
EXixxt80Q`"}_ Pipelines: [:authenticated_api]
2022-03-13 11:33:43 [pleroma] request_id=FtvqOgPmfwDg3cIAAoRB [debug] QUERY OK source="oauth_tokens" db=2.3ms queue=0.1ms idle=373.6ms_SELECT o0."id", o0."token", o0."refresh_token", o0."scope
s", o0."valid_until", o0."user_id", o0."app_id", o0."inserted_at", o0."updated_at", u1."id", u1."bio", u1."raw_bio", u1."email", u1."name", u1."nickname", u1."password_hash", u1."keys", u1."pu
blic_key", u1."ap_id", u1."avatar", u1."local", u1."follower_address", u1."following_address", u1."featured_address", u1."tags", u1."last_refreshed_at", u1."last_digest_emailed_at", u1."banner
", u1."background", u1."note_count", u1."follower_count", u1."following_count", u1."is_locked", u1."is_confirmed", u1."password_reset_pending", u1."is_approved", u1."registration_reason", u1."
confirmation_token", u1."default_scope", u1."domain_blocks", u1."is_active", u1."no_rich_text", u1."ap_enabled", u1."is_moderator", u1."is_admin", u1."show_role", u1."mastofe_settings", u1."ur
i", u1."hide_followers_count", u1."hide_follows_count", u1."hide_followers", u1."hide_follows", u1."hide_favorites", u1."email_notifications", u1."mascot", u1."emoji", u1."pleroma_settings_sto
re", u1."fields", u1."raw_fields", u1."is_discoverable", u1."invisible", u1."allow_following_move", u1."skip_thread_containment", u1."actor_type", u1."also_known_as", u1."inbox", u1."shared_in
box", u1."accepts_chat_messages", u1."last_active_at", u1."disclose_client", u1."pinned_objects", u1."notification_settings", u1."blocks", u1."mutes", u1."muted_reblogs", u1."muted_notificatio
ns", u1."subscribers", u1."multi_factor_authentication_settings", u1."inserted_at", u1."updated_at" FROM "oauth_tokens" AS o0 INNER JOIN "users" AS u1 ON u1."id" = o0."user_id" WHERE (o0."toke
n" = $1) ["3zLJhGRgonVEVp8NwCqHOKIVq29bQzBkTbBP4P4Hfvs"]
2022-03-13 11:33:43 [pleroma] request_id=FtvqOgPmfwDg3cIAAoRB [debug] QUERY OK source="following_relationships" db=11.3ms idle=371.6ms_SELECT u1."follower_address" FROM "following_relationship
s" AS f0 INNER JOIN "users" AS u1 ON f0."following_id" = u1."id" WHERE (f0."follower_id" = $1) AND (f0."state" = $2) [<<0, 0, 1, 104, 175, 2, 94, 190, 224, 239, 66, 31, 166, 135, 0, 0>>, 2]
2022-03-13 11:33:43 [pleroma] request_id=FtvqOgPmfwDg3cIAAoRB [debug] QUERY OK source="lists" db=0.8ms idle=372.5ms_SELECT l0."ap_id" FROM "lists" AS l0 WHERE ($1 = ANY(l0."following")) ["http
s://likeable.space/users/tastytea/followers"]
2022-03-13 11:33:43 [pleroma] request_id=FtvqOgPmfwDg3cIAAoRB [debug] QUERY OK source="user_relationships" db=8.7ms queue=0.2ms idle=367.1ms_SELECT u0."relationship_type", array_agg(u1."ap_id"
) FROM "user_relationships" AS u0 INNER JOIN "users" AS u1 ON u1."id" = u0."target_id" WHERE (u0."source_id" = $1) AND (u0."relationship_type" = ANY($2)) GROUP BY u0."relationship_type" [<<0,
0, 1, 104, 175, 2, 94, 190, 224, 239, 66, 31, 166, 135, 0, 0>>, [1, 2, 3]]
2022-03-13 11:33:43 [pleroma] request_id=FtvqOgPmfwDg3cIAAoRB [debug] QUERY OK source="users" db=12.9ms queue=0.1ms idle=363.1ms_SELECT u0."ap_id" FROM "users" AS u0 INNER JOIN "following_rela
tionships" AS f1 ON (f1."following_id" = u0."id") AND (f1."follower_id" = $1) WHERE (u0."is_active" = TRUE) AND (u0."id" != $2) AND (f1."state" = $3) AND (NOT (u0."nickname" IS NULL)) AND (NOT
(u0."nickname" LIKE 'internal.%')) [<<0, 0, 1, 104, 175, 2, 94, 190, 224, 239, 66, 31, 166, 135, 0, 0>>, <<0, 0, 1, 104, 175, 2, 94, 190, 224, 239, 66, 31, 166, 135, 0, 0>>, 2]
2022-03-13 11:33:43 [pleroma] request_id=FtvqOgPmfwDg3cIAAoRB [debug] QUERY OK source="filters" db=1.3ms idle=369.5ms_SELECT f0."id", f0."user_id", f0."filter_id", f0."hide", f0."whole_word",
f0."phrase", f0."context", f0."expires_at", f0."inserted_at", f0."updated_at" FROM "filters" AS f0 WHERE ((f0."expires_at" IS NULL) OR (f0."expires_at" > $1)) AND (f0."hide") AND (f0."user_id"
= $2) ORDER BY f0."id" DESC [~N[2022-03-13 10:33:43], <<0, 0, 1, 104, 175, 2, 94, 190, 224, 239, 66, 31, 166, 135, 0, 0>>]
2022-03-13 11:33:43 [pleroma] request_id=FtvqOgPmfwDg3cIAAoRB [debug] QUERY OK source="filters" db=0.8ms idle=365.9ms_SELECT f0."id", f0."user_id", f0."filter_id", f0."hide", f0."whole_word",
f0."phrase", f0."context", f0."expires_at", f0."inserted_at", f0."updated_at" FROM "filters" AS f0 WHERE ((f0."expires_at" IS NULL) OR (f0."expires_at" > $1)) AND (f0."hide") AND (f0."user_id"
= $2) ORDER BY f0."id" DESC [~N[2022-03-13 10:33:43], <<0, 0, 1, 104, 175, 2, 94, 190, 224, 239, 66, 31, 166, 135, 0, 0>>]
2022-03-13 11:33:43 [pleroma] request_id=FtvqOgPmfwDg3cIAAoRB [debug] QUERY OK source="users" db=41.3ms decode=0.5ms queue=1.6ms idle=359.5ms_SELECT u0."ap_id" FROM "users" AS u0 WHERE (u0."is
_active" = FALSE) AND (NOT (u0."nickname" IS NULL)) AND (NOT (u0."nickname" LIKE 'internal.%')) []
2022-03-13 11:33:43 [pleroma] request_id=FtvqOgPmfwDg3cIAAoRB [debug] QUERY OK source="users" db=10.3ms idle=397.8ms_SELECT u0."ap_id" FROM "users" AS u0 WHERE (NOT (u0."nickname" IS NULL)) AN
D (NOT (u0."nickname" LIKE 'internal.%')) AND (u0."invisible" = $1) [true]
2022-03-13 11:33:43 [pleroma] request_id=FtvqOgPmfwDg3cIAAoRB [error] Internal server error: %ArgumentError{message: "non-alphabet digit found: `"}
2022-03-13 11:33:43 [pleroma] request_id=FtvqOgPmfwDg3cIAAoRB [debug] Sent 500 in 110ms
2022-03-13 11:33:43 [pleroma] request_id=FtvqOgPmfwDg3cIAAoRB [info] Sent 500 in 120ms
2022-03-13 11:33:43 [pleroma] request_id=FtvqOgPmfwDg3cIAAoRB [debug] Converted error ArgumentError to 500 response
Edited by tastytea