Pleroma-FE notification panel died because of invalid date.
I guess, at least.
Version: ff3b09f6b307fc9f0d10b941f204824f496df2ae
Log:
Mar 27 00:53:14 MLE docker-compose[14302]: web_1 | 22:53:14.908 request_id=2m7q84husno5thqeg4000kj1 [info] Sent 200 in 170ms
Mar 27 00:53:21 MLE docker-compose[14302]: web_1 | 22:53:21.117 request_id=2m7q84tr53949enmm0000kjh [info] GET /api/statuses/friends_timeline.json
Mar 27 00:53:21 MLE docker-compose[14302]: web_1 | 22:53:21.349 request_id=2m7q84tr53949enmm0000kjh [info] Sent 200 in 232ms
Mar 27 00:53:22 MLE docker-compose[14302]: web_1 | 22:53:22.237 request_id=2m7q84vtu6rrdcmv74000kk1 [info] GET /api/qvitter/statuses/notifications.json
Mar 27 00:53:22 MLE docker-compose[14302]: web_1 | 22:53:22.258 request_id=2m7q84vtu6rrdcmv74000kk1 [info] Converted error :function_clause to 500 response
Mar 27 00:53:22 MLE docker-compose[14302]: web_1 | 22:53:22.258 request_id=2m7q84vtu6rrdcmv74000kk1 [error] Internal server error: %FunctionClauseError{args: nil, arity: 2, clauses: nil, function: :from_iso8601, kind: nil, module: DateTime}
Mar 27 00:53:22 MLE docker-compose[14302]: web_1 | 22:53:22.259 request_id=2m7q84vtu6rrdcmv74000kk1 [info] Sent 500 in 21ms
Mar 27 00:53:22 MLE docker-compose[14302]: web_1 | 22:53:22.263 [error] #PID<0.8504.0> running Pleroma.Web.Endpoint (connection #PID<0.8503.0>, stream id 1) terminated
Mar 27 00:53:22 MLE docker-compose[14302]: web_1 | Server: ministry.moonbutt.science:80 (http)
Mar 27 00:53:22 MLE docker-compose[14302]: web_1 | Request: GET /api/qvitter/statuses/notifications.json?count=20
Mar 27 00:53:22 MLE docker-compose[14302]: web_1 | ** (exit) an exception was raised:
Mar 27 00:53:22 MLE docker-compose[14302]: web_1 | ** (FunctionClauseError) no function clause matching in DateTime.from_iso8601/2
Mar 27 00:53:22 MLE docker-compose[14302]: web_1 | (elixir) lib/calendar/datetime.ex:770: DateTime.from_iso8601(1553639539.328, Calendar.ISO)
Mar 27 00:53:22 MLE docker-compose[14302]: web_1 | (pleroma) lib/pleroma/web/common_api/utils.ex:244: Pleroma.Web.CommonAPI.Utils.date_to_asctime/1
Mar 27 00:53:22 MLE docker-compose[14302]: web_1 | (pleroma) lib/pleroma/web/twitter_api/views/activity_view.ex:231: Pleroma.Web.TwitterAPI.ActivityView.render/2
Mar 27 00:53:22 MLE docker-compose[14302]: web_1 | (pleroma) lib/pleroma/web/twitter_api/views/notification_view.ex:63: Pleroma.Web.TwitterAPI.NotificationView.render/2
Mar 27 00:53:22 MLE docker-compose[14302]: web_1 | (elixir) lib/enum.ex:1327: Enum."-map/2-lists^map/1-0-"/2
Mar 27 00:53:22 MLE docker-compose[14302]: web_1 | (elixir) lib/enum.ex:1327: Enum."-map/2-lists^map/1-0-"/2
Mar 27 00:53:22 MLE docker-compose[14302]: web_1 | (phoenix) lib/phoenix/view.ex:399: Phoenix.View.render_to_iodata/3
Mar 27 00:53:22 MLE docker-compose[14302]: web_1 | (phoenix) lib/phoenix/controller.ex:729: Phoenix.Controller.__put_render__/5
Mar 27 00:53:22 MLE docker-compose[14302]: web_1 | 22:53:22.905 request_id=2m7q8515mj2cjssiag000kkh [info] GET /api/v1/timelines/home
Mar 27 00:53:22 MLE docker-compose[14302]: web_1 | 22:53:22.926 request_id=2m7q8515mj2cjssiag000kkh [info] Sent 200 in 21ms
Mar 27 00:53:23 MLE docker-compose[14302]: web_1 | 22:53:23.047 request_id=2m7q851e6qd43i4mt8000kl1 [info] GET /api/v1/notifications
It seems juick.com sent invalid date format and because of that Pleroma-FE got sick.
After deletion of statuses with broken date notification panel got recovered.