[bug] broken timeline: Internal server error: %FunctionClauseError... #505

Closed
opened 2023-03-12 14:45:26 +00:00 by flisk · 1 comment
Contributor

Your setup

OTP

Extra details

No response

Version

3.6.0-0-g36cb19d

PostgreSQL version

15.2

What were you trying to do?

i tried to view my timeline

What did you expect to happen?

i expected my timeline to show up

What actually happened?

i get Error fetching timeline: Internal Server Error in the frontend, and the backend logs some unusual-looking errors

Logs

Mar 12 14:39:22 blahaj pleroma[142692]: Server: akko.lain.gay:80 (http)
Mar 12 14:39:22 blahaj pleroma[142692]: Request: GET /api/v1/timelines/home?with_muted=false&limit=20
Mar 12 14:39:22 blahaj pleroma[142692]: ** (exit) an exception was raised:
Mar 12 14:39:22 blahaj pleroma[142692]:     ** (FunctionClauseError) no function clause matching in Base.url_encode64/2
Mar 12 14:39:22 blahaj pleroma[142692]:         (elixir 1.14.3) lib/base.ex:415: Base.url_encode64(nil, [padding: false])
Mar 12 14:39:22 blahaj pleroma[142692]:         (pleroma 3.6.0-0-g36cb19d) lib/pleroma/web/media_proxy.ex:93: Pleroma.Web.MediaProxy.base64_sig64/1
Mar 12 14:39:22 blahaj pleroma[142692]:         (pleroma 3.6.0-0-g36cb19d) lib/pleroma/web/media_proxy.ex:110: Pleroma.Web.MediaProxy.encode_preview_url/2
Mar 12 14:39:22 blahaj pleroma[142692]:         (pleroma 3.6.0-0-g36cb19d) lib/pleroma/web/mastodon_api/views/account_view.ex:207: Pleroma.Web.MastodonAPI.AccountView.do_render/2
Mar 12 14:39:22 blahaj pleroma[142692]:         (pleroma 3.6.0-0-g36cb19d) lib/pleroma/web/mastodon_api/views/status_view.ex:368: Pleroma.Web.MastodonAPI.StatusView.render/2
Mar 12 14:39:22 blahaj pleroma[142692]:         (pleroma 3.6.0-0-g36cb19d) lib/pleroma/web/mastodon_api/views/status_view.ex:159: Pleroma.Web.MastodonAPI.StatusView.render/2
Mar 12 14:39:22 blahaj pleroma[142692]:         (elixir 1.14.3) lib/enum.ex:1658: Enum."-map/2-lists^map/1-0-"/2
Mar 12 14:39:22 blahaj pleroma[142692]:         (phoenix_view 2.0.2) lib/phoenix_view.ex:557: Phoenix.View.render_to_iodata/3
Mar 12 14:39:24 blahaj pleroma[142692]: request_id=F0uy4NPQlYYPIXsAPmrR [error] Internal server error: %FunctionClauseError{module: Base, function: :url_encode64, arity: 2, kind: nil, args: nil, clauses: nil}
Mar 12 14:39:26 blahaj pleroma[142692]: request_id=F0uy4UZu5Dk7uvMAPmtR [error] Internal server error: %FunctionClauseError{module: Base, function: :url_encode64, arity: 2, kind: nil, args: nil, clauses: nil}
Mar 12 14:39:26 blahaj pleroma[142692]: request_id=F0uy4UtKzGTP5McAPmwx [error] Internal server error: %FunctionClauseError{module: Base, function: :url_encode64, arity: 2, kind: nil, args: nil, clauses: nil}
Mar 12 14:39:29 blahaj pleroma[142692]: request_id=F0uy4fFDMtTKmD8APmxx [error] Internal server error: %FunctionClauseError{module: Base, function: :url_encode64, arity: 2, kind: nil, args: nil, clauses: nil}
Mar 12 14:39:31 blahaj pleroma[142692]: request_id=F0uy4kS6Nv0djD4APmzx [error] Internal server error: %FunctionClauseError{module: Base, function: :url_encode64, arity: 2, kind: nil, args: nil, clauses: nil}
Mar 12 14:39:31 blahaj pleroma[142692]: request_id=F0uy4krlaN3V7NgAPm3R [error] Internal server error: %FunctionClauseError{module: Base, function: :url_encode64, arity: 2, kind: nil, args: nil, clauses: nil}

Severity

I cannot use the software

Have you searched for this issue?

  • I have double-checked and have not found this issue mentioned anywhere.
### Your setup OTP ### Extra details _No response_ ### Version 3.6.0-0-g36cb19d ### PostgreSQL version 15.2 ### What were you trying to do? i tried to view my timeline ### What did you expect to happen? i expected my timeline to show up ### What actually happened? i get `Error fetching timeline: Internal Server Error` in the frontend, and the backend logs some unusual-looking errors ### Logs ```shell Mar 12 14:39:22 blahaj pleroma[142692]: Server: akko.lain.gay:80 (http) Mar 12 14:39:22 blahaj pleroma[142692]: Request: GET /api/v1/timelines/home?with_muted=false&limit=20 Mar 12 14:39:22 blahaj pleroma[142692]: ** (exit) an exception was raised: Mar 12 14:39:22 blahaj pleroma[142692]: ** (FunctionClauseError) no function clause matching in Base.url_encode64/2 Mar 12 14:39:22 blahaj pleroma[142692]: (elixir 1.14.3) lib/base.ex:415: Base.url_encode64(nil, [padding: false]) Mar 12 14:39:22 blahaj pleroma[142692]: (pleroma 3.6.0-0-g36cb19d) lib/pleroma/web/media_proxy.ex:93: Pleroma.Web.MediaProxy.base64_sig64/1 Mar 12 14:39:22 blahaj pleroma[142692]: (pleroma 3.6.0-0-g36cb19d) lib/pleroma/web/media_proxy.ex:110: Pleroma.Web.MediaProxy.encode_preview_url/2 Mar 12 14:39:22 blahaj pleroma[142692]: (pleroma 3.6.0-0-g36cb19d) lib/pleroma/web/mastodon_api/views/account_view.ex:207: Pleroma.Web.MastodonAPI.AccountView.do_render/2 Mar 12 14:39:22 blahaj pleroma[142692]: (pleroma 3.6.0-0-g36cb19d) lib/pleroma/web/mastodon_api/views/status_view.ex:368: Pleroma.Web.MastodonAPI.StatusView.render/2 Mar 12 14:39:22 blahaj pleroma[142692]: (pleroma 3.6.0-0-g36cb19d) lib/pleroma/web/mastodon_api/views/status_view.ex:159: Pleroma.Web.MastodonAPI.StatusView.render/2 Mar 12 14:39:22 blahaj pleroma[142692]: (elixir 1.14.3) lib/enum.ex:1658: Enum."-map/2-lists^map/1-0-"/2 Mar 12 14:39:22 blahaj pleroma[142692]: (phoenix_view 2.0.2) lib/phoenix_view.ex:557: Phoenix.View.render_to_iodata/3 Mar 12 14:39:24 blahaj pleroma[142692]: request_id=F0uy4NPQlYYPIXsAPmrR [error] Internal server error: %FunctionClauseError{module: Base, function: :url_encode64, arity: 2, kind: nil, args: nil, clauses: nil} Mar 12 14:39:26 blahaj pleroma[142692]: request_id=F0uy4UZu5Dk7uvMAPmtR [error] Internal server error: %FunctionClauseError{module: Base, function: :url_encode64, arity: 2, kind: nil, args: nil, clauses: nil} Mar 12 14:39:26 blahaj pleroma[142692]: request_id=F0uy4UtKzGTP5McAPmwx [error] Internal server error: %FunctionClauseError{module: Base, function: :url_encode64, arity: 2, kind: nil, args: nil, clauses: nil} Mar 12 14:39:29 blahaj pleroma[142692]: request_id=F0uy4fFDMtTKmD8APmxx [error] Internal server error: %FunctionClauseError{module: Base, function: :url_encode64, arity: 2, kind: nil, args: nil, clauses: nil} Mar 12 14:39:31 blahaj pleroma[142692]: request_id=F0uy4kS6Nv0djD4APmzx [error] Internal server error: %FunctionClauseError{module: Base, function: :url_encode64, arity: 2, kind: nil, args: nil, clauses: nil} Mar 12 14:39:31 blahaj pleroma[142692]: request_id=F0uy4krlaN3V7NgAPm3R [error] Internal server error: %FunctionClauseError{module: Base, function: :url_encode64, arity: 2, kind: nil, args: nil, clauses: nil} ``` ### Severity I cannot use the software ### Have you searched for this issue? - [x] I have double-checked and have not found this issue mentioned anywhere.
flisk added the
bug
label 2023-03-12 14:45:26 +00:00
Author
Contributor

actually i lied i didn't double-check, this very much seems like a dupe of #482 so i'm gonna close this. sowwy

actually i lied i didn't double-check, this very much seems like a dupe of #482 so i'm gonna close this. sowwy
flisk closed this issue 2023-03-12 14:50:13 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: AkkomaGang/akkoma#505
No description provided.