Social app first official Beta available

After installing and activating it, the “webfinger” warning appeared in /settings/admin/overview. A glance at the log revealed Social as the culprit. Please investigate why it grabs /index.php/.well-known/webfinger, and if that’s on purpose, make sure the Actor is available to handle it. Here’s the nextcloud.log entry (jq-formatted):

{
  "reqId": "B7mbg4cEvTPFnBY1e4LL",
  "level": 3,
  "time": "2023-02-03T18:22:00+01:00",
  "remoteAddr": "78.94.68.73",
  "user": "nursoda.admin",
  "app": "index",
  "method": "GET",
  "url": "/index.php/.well-known/webfinger",
  "message": "Actor not found",
  "userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/109.0",
  "version": "25.0.3.2",
  "exception": {
    "Exception": "OCA\\Social\\Exceptions\\ActorDoesNotExistException",
    "Message": "Actor not found",
    "Code": 0,
    "Trace": [
      {
        "file": "/server/nc/apps/social/lib/Service/CacheActorService.php",
        "line": 193,
        "function": "getFromUsername",
        "class": "OCA\\Social\\Db\\ActorsRequest",
        "type": "->"
      },
      {
        "file": "/server/nc/apps/social/lib/WellKnown/WebfingerHandler.php",
        "line": 111,
        "function": "getFromLocalAccount",
        "class": "OCA\\Social\\Service\\CacheActorService",
        "type": "->"
      },
      {
        "file": "/server/nc/apps/social/lib/WellKnown/WebfingerHandler.php",
        "line": 83,
        "function": "handleWebfinger",
        "class": "OCA\\Social\\WellKnown\\WebfingerHandler",
        "type": "->"
      },
      {
        "file": "/server/nc/lib/private/Http/WellKnown/RequestManager.php",
        "line": 78,
        "function": "handle",
        "class": "OCA\\Social\\WellKnown\\WebfingerHandler",
        "type": "->"
      },
      {
        "function": "OC\\Http\\WellKnown\\{closure}",
        "class": "OC\\Http\\WellKnown\\RequestManager",
        "type": "->",
        "args": [
          "*** sensitive parameters replaced ***"
        ]
      },
      {
        "file": "/server/nc/lib/private/Http/WellKnown/RequestManager.php",
        "line": 79,
        "function": "array_reduce"
      },
      {
        "file": "/server/nc/core/Controller/WellKnownController.php",
        "line": 55,
        "function": "process",
        "class": "OC\\Http\\WellKnown\\RequestManager",
        "type": "->"
      },
      {
        "file": "/server/nc/lib/private/AppFramework/Http/Dispatcher.php",
        "line": 225,
        "function": "handle",
        "class": "OC\\Core\\Controller\\WellKnownController",
        "type": "->"
      },
      {
        "file": "/server/nc/lib/private/AppFramework/Http/Dispatcher.php",
        "line": 133,
        "function": "executeController",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->"
      },
      {
        "file": "/server/nc/lib/private/AppFramework/App.php",
        "line": 172,
        "function": "dispatch",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->"
      },
      {
        "file": "/server/nc/lib/private/Route/Router.php",
        "line": 298,
        "function": "main",
        "class": "OC\\AppFramework\\App",
        "type": "::"
      },
      {
        "file": "/server/nc/lib/base.php",
        "line": 1047,
        "function": "match",
        "class": "OC\\Route\\Router",
        "type": "->"
      },
      {
        "file": "/server/nc/index.php",
        "line": 36,
        "function": "handleRequest",
        "class": "OC",
        "type": "::"
      }
    ],
    "File": "/server/nc/apps/social/lib/Db/ActorsRequest.php",
    "Line": 111,
    "CustomMessage": "--"
  }
}

Server is behind nginx proxy running on nginx using a (pimped) docs.nextcloud.com NGINX config. No issue when Social is disabled. Just created an issue for this.

1 Like