Error when refreshing PleromaFE
When refreshing the browser screen with the PleromaFE, the following error is logged.
07:37:39.051 request_id=2m0cd7ptjfl9vqu44fs001f1 [info] GET /api/statuses/friends_timeline.json
07:37:39.051 request_id=2m0cd7ptjhagc9qpg7s002p3 [info] GET /api/qvitter/statuses/notifications.json
07:37:39.080 request_id=2m0cd7ptjhagc9qpg7s002p3 [info] Sent 200 in 28ms
07:37:39.080 request_id=2m0cd7ptjfl9vqu44fs001f1 [info] Sent 200 in 28ms
07:37:39.257 request_id=2m0cd7q9tgm0lipikns002q3 [info] GET /users/tiker/following
07:37:39.271 request_id=2m0cd7q9tgm0lipikns002q3 [info] Sent 200 in 13ms
07:37:39.394 request_id=2m0cd7qi1llbp8vhnbs001g1 [info] GET /users/tiker/following
07:37:39.410 request_id=2m0cd7qi1llbp8vhnbs001g1 [info] Sent 200 in 15ms
07:37:39.536 request_id=2m0cd7qqgtbnfa4mibs000o2 [info] GET /users/tiker/following
07:37:39.548 request_id=2m0cd7qqgtbnfa4mibs000o2 [info] Sent 200 in 11ms
07:37:39.674 request_id=2m0cd7r2od4gdr436rs001h1 [info] GET /users/tiker/following
07:37:39.685 request_id=2m0cd7r2od4gdr436rs001h1 [info] Converted error {:badmap, nil} to 500 response
07:37:39.704 [error] #PID<0.1261.0> running Pleroma.Web.Endpoint (cowboy_protocol) terminated
Server: pleroma.funkymonkey.org:80 (http)
Request: GET /users/tiker/following?page=4
** (exit) an exception was raised:
** (FunctionClauseError) no function clause matching in Plug.Conn.resp/3
(plug) lib/plug/conn.ex:576: Plug.Conn.resp(%Plug.Conn{adapter: {Plug.Adapters.Cowboy.Conn, :...}, assigns: %{kind: :error, layout: false, reason: %BadMapError{term: nil}, stack: [{:maps, :merge, [nil, %{"@context" => ["https://www.w3.org/ns/activitystreams", "https://pleroma.funkymonkey.org/schemas/litepub-0.1.jsonld"]}], []}, {Pleroma.Web.ActivityPub.UserView, :render, 2, [file: 'lib/pleroma/web/activity_pub/views/user_view.ex', line: 90]}, {Pleroma.Web.ActivityPub.ActivityPubController, :following, 2, [file: 'lib/pleroma/web/activity_pub/activity_pub_controller.ex', line: 109]}, {Pleroma.Web.ActivityPub.ActivityPubController, :action, 2, [file: 'lib/pleroma/web/activity_pub/activity_pub_controller.ex', line: 5]}, {Pleroma.Web.ActivityPub.ActivityPubController, :phoenix_controller_pipeline, 2, [file: 'lib/pleroma/web/activity_pub/activity_pub_controller.ex', line: 5]}, {Pleroma.Web.Endpoint, :instrument, 4, [file: 'lib/pleroma/web/endpoint.ex', line: 5]}, {Phoenix.Router, :__call__, 1, [file: 'lib/phoenix/router.ex', line: 275]}, {Pleroma.Web.Endpoint, :plug_builder_call, 2, [file: 'lib/pleroma/web/endpoint.ex', line: 5]}]}, before_send: [#Function<1.1812729/1 in Plug.Logger.call/2>], body_params: %{}, cookies: %Plug.Conn.Unfetched{aspect: :cookies}, halted: false, host: "pleroma.funkymonkey.org", method: "GET", owner: #PID<0.1261.0>, params: %{"nickname" => "tiker", "page" => "4"}, path_info: ["users", "tiker", "following"], path_params: %{"nickname" => "tiker"}, port: 80, private: %{Pleroma.Web.Router => {[], %{}}, :phoenix_action => :following, :phoenix_controller => Pleroma.Web.ActivityPub.ActivityPubController, :phoenix_endpoint => Pleroma.Web.Endpoint, :phoenix_format => "activity+json", :phoenix_layout => false, :phoenix_pipelines => [:ostatus], :phoenix_router => Pleroma.Web.Router, :phoenix_template => "500.activity+json", :phoenix_view => Pleroma.Web.ErrorView, :plug_session_fetch => #Function<1.58261320/1 in Plug.Session.fetch_session/1>}, query_params: %{"page" => "4"}, query_string: "page=4", remote_ip: {192, 168, 50, 96}, req_cookies: %Plug.Conn.Unfetched{aspect: :cookies}, req_headers: [{"connection", "upgrade"}, {"host", "pleroma.funkymonkey.org"}, {"accept", "application/activity+json"}], request_path: "/users/tiker/following", resp_body: nil, resp_cookies: %{}, resp_headers: [{"content-type", "application/activity+json; charset=utf-8"}, {"cache-control", "max-age=0, private, must-revalidate"}, {"access-control-allow-origin", "*"}, {"access-control-expose-headers", "Link,X-RateLimit-Reset,X-RateLimit-Limit,X-RateLimit-Remaining,X-Request-Id,Idempotency-Key"}, {"access-control-allow-credentials", "true"}, {"x-xss-protection", "1; mode=block"}, {"x-permitted-cross-domain-policies", "none"}, {"x-frame-options", "DENY"}, {"x-content-type-options", "nosniff"}, {"referrer-policy", "same-origin"}, {"x-download-options", "noopen"}, {"content-security-policy", "default-src 'none'; base-uri 'self'; frame-ancestors 'none'; img-src 'self' data: https:; media-src 'self' https:; style-src 'self' 'unsafe-inline'; font-src 'self'; script-src 'self'; connect-src 'self' wss://pleroma.funkymonkey.org; manifest-src 'self'; ;"}, {"x-request-id", "2m0cd7r2od4gdr436rs001h1"}], scheme: :http, script_name: [], secret_key_base: :..., state: :unset, status: 500}, 500, %{errors: %{detail: "Internal server error"}})
(pleroma) lib/pleroma/web/endpoint.ex:5: Pleroma.Web.Endpoint.instrument/4
(phoenix) lib/phoenix/endpoint/render_errors.ex:75: Phoenix.Endpoint.RenderErrors.instrument_render_and_send/5
(phoenix) lib/phoenix/endpoint/render_errors.ex:62: Phoenix.Endpoint.RenderErrors.__catch__/5
(plug_cowboy) lib/plug/cowboy/handler.ex:18: Plug.Adapters.Cowboy.Handler.upgrade/4
(cowboy) /home/pleroma/pleroma/deps/cowboy/src/cowboy_protocol.erl:442: :cowboy_protocol.execute/4
07:37:40.063 [info] CONNECT Pleroma.Web.UserSocket
Transport: :websocket
Connect Info: %{}
Parameters: %{"token" => "undefined", "vsn" => "2.0.0"}
07:37:40.065 [info] Replied Pleroma.Web.UserSocket :error
07:37:43.869 request_id=2m0cd82sq9aalqibpbs001i1 [info] GET /api/v1/instance
07:37:43.870 request_id=2m0cd82sq9aalqibpbs001i1 [info] Sent 200 in 910µs
Not sure when this started.