Exception/termination while getting timeline
visible_for? is getting called with nil,nil on my public timeline and causing a 500 error...(custom metadata in my log output so ignore the file and line)
Jan 03 17:58:25 plz.7td.org mix[30923]: 17:58:25.048 file=lib/pleroma/web/federator/federator.ex line=103 [info] Handling incoming AP activity
Jan 03 17:58:28 plz.7td.org mix[30923]: 17:58:28.686 request_id=2lr6gpeoolum166n200002i1 file=lib/plug/logger.ex line=27 [info] POST /inbox
Jan 03 17:58:28 plz.7td.org mix[30923]: 17:58:28.686 request_id=2lr6gpeoolum166n200002i1 file=lib/pleroma/web/activity_pub/activity_pub_controller.ex line=122 [info] Signature missing or not from author, relayed Create message, fetching object from source
Jan 03 17:58:28 plz.7td.org mix[30923]: 17:58:28.686 request_id=2lr6gpeoolum166n200002i1 file=lib/pleroma/web/activity_pub/activity_pub.ex line=754 [info] Fetching https://mstdn.io/users/SanfordianPhil/statuses/101353934510689149 via AP
Jan 03 17:58:28 plz.7td.org mix[30923]: 17:58:28.686 request_id=2lr6gpeoolum166n200002i1 file=lib/pleroma/web/activity_pub/activity_pub.ex line=787 [info] Fetching https://mstdn.io/users/SanfordianPhil/statuses/101353934510689149 via AP
Jan 03 17:58:54 plz.7td.org mix[30923]: 17:58:54.197 request_id=2lr6gqu9chb9o9m5ts0002j1 file=lib/plug/logger.ex line=27 [info] GET /api/v1/timelines/public
Jan 03 17:58:54 plz.7td.org mix[30923]: 17:58:54.262 request_id=2lr6gqud7qbvuqop0g000023 file=lib/plug/logger.ex line=27 [info] GET /api/v1/timelines/public
Jan 03 17:58:54 plz.7td.org mix[30923]: 17:58:54.314 request_id=2lr6gqu9chb9o9m5ts0002j1 file=lib/phoenix/logger.ex line=35 [info] Converted error :function_clause to 500 response
Jan 03 17:58:54 plz.7td.org mix[30923]: 17:58:54.319 request_id=2lr6gqu9chb9o9m5ts0002j1 file=lib/plug/logger.ex line=34 [info] Sent 500 in 121ms
Jan 03 17:58:54 plz.7td.org mix[30923]: 17:58:54.324 [error] #PID<0.682.0> running Pleroma.Web.Endpoint (cowboy_protocol) terminated
Jan 03 17:58:54 plz.7td.org mix[30923]: Server: plz.7td.org:80 (http)
Jan 03 17:58:54 plz.7td.org mix[30923]: Request: GET /api/v1/timelines/public?limit=40&local=t&max_id=28924
Jan 03 17:58:54 plz.7td.org mix[30923]: ** (exit) an exception was raised:
Jan 03 17:58:54 plz.7td.org mix[30923]: ** (FunctionClauseError) no function clause matching in Pleroma.User.visible_for?/2
Jan 03 17:58:54 plz.7td.org mix[30923]: (pleroma) lib/pleroma/user.ex:54: Pleroma.User.visible_for?(nil, nil)
Jan 03 17:58:54 plz.7td.org mix[30923]: (pleroma) lib/pleroma/web/mastodon_api/views/account_view.ex:20: Pleroma.Web.MastodonAPI.AccountView.render/2
Jan 03 17:58:54 plz.7td.org mix[30923]: (pleroma) lib/pleroma/web/mastodon_api/views/status_view.ex:129: Pleroma.Web.MastodonAPI.StatusView.render/2
Jan 03 17:58:54 plz.7td.org mix[30923]: (elixir) lib/enum.ex:1314: Enum."-map/2-lists^map/1-0-"/2
Jan 03 17:58:54 plz.7td.org mix[30923]: (pleroma) lib/pleroma/web/mastodon_api/views/status_view.ex:39: Pleroma.Web.MastodonAPI.StatusView.render/2
Jan 03 17:58:54 plz.7td.org mix[30923]: (phoenix) lib/phoenix/view.ex:399: Phoenix.View.render_to_iodata/3
Jan 03 17:58:54 plz.7td.org mix[30923]: (phoenix) lib/phoenix/controller.ex:729: Phoenix.Controller.__put_render__/5
Jan 03 17:58:54 plz.7td.org mix[30923]: 17:58:54.362 request_id=2lr6gqud7qbvuqop0g000023 file=lib/plug/logger.ex line=34 [info] Sent 200 in 99ms
Jan 03 17:59:26 plz.7td.org mix[30923]: 17:59:26.841 request_id=2lr6gsr32ntk0acg840002m1 file=lib/plug/logger.ex line=27 [info] GET /api/v1/instance
Jan 03 17:59:26 plz.7td.org mix[30923]: 17:59:26.845 request_id=2lr6gsr32ntk0acg840002m1 file=lib/plug/logger.ex line=34 [info] Sent 200 in 4ms
Jan 03 17:59:27 plz.7td.org mix[30923]: 17:59:27.461 request_id=2lr6gss822ct7ieffk0002n1 file=lib/plug/logger.ex line=27 [info] GET /.well-known/nodeinfo
Jan 03 17:59:27 plz.7td.org mix[30923]: 17:59:27.464 request_id=2lr6gss822ct7ieffk0002n1 file=lib/plug/logger.ex line=34 [info] Sent 200 in 2ms