Cannot fetch remote actor count

This error started appearing after I migrated my server.

[tankie.tube:443] 2024-05-21 01:04:52.883 info: Fetching remote actor https://mastodon.social/users/thirstyboy.
[tankie.tube:443] 2024-05-21 01:04:53.493 info: Cannot fetch remote actor count https://mastodon.social/users/thirstyboy/followers. {
  "err": {
    "stack": "HTTPError: Response code 410 (Gone)\n    at Request.<anonymous> (file:///var/www/peertube/versions/peertube-v6.1.0/node_modules/got/dist/source/as-promise/index.js:86:42)\n    at Object.onceWrapper (node:events:632:26)\n    at Request.emit (node:events:529:35)\n    at Request._onResponseBase (file:///var/www/peertube/versions/peertube-v6.1.0/node_modules/got/dist/source/core/index.js:726:22)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async Request._onResponse (file:///var/www/peertube/versions/peertube-v6.1.0/node_modules/got/dist/source/core/index.js:768:13)",
    "message": "Response code 410 (Gone)",
    "name": "HTTPError",
    "responseBody": {
      "error": "Gone"
    },
    "responseHeaders": {
      "connection": "close",
      "content-length": "16",
      "x-runtime": "0.013788",
      "x-xss-protection": "0",
      "x-frame-options": "DENY",
      "via": "1.1 varnish, 1.1 varnish, 1.1 varnish",
      "content-security-policy": "base-uri 'none'; default-src 'none'; frame-ancestors 'none'; font-src 'self' https://mastodon.social; img-src 'self' data: blob: https://mastodon.social https://files.mastodon.social; style-src 'self' https://mastodon.social 'nonce-UvT0r/sXRTEtzdBLoRgYEQ=='; media-src 'self' data: https://mastodon.social https://files.mastodon.social; frame-src 'self' https:; manifest-src 'self' https://mastodon.social; form-action 'self'; child-src 'self' blob: https://mastodon.social; worker-src 'self' blob: https://mastodon.social; connect-src 'self' data: blob: https://mastodon.social https://files.mastodon.social wss://streaming.mastodon.social; script-src 'self' https://mastodon.social 'wasm-unsafe-eval'",
      "content-type": "application/json; charset=utf-8",
      "x-content-type-options": "nosniff",
      "referrer-policy": "same-origin",
      "x-request-id": "054c1138264369a3c58e33de30113f49",
      "cache-control": "max-age=180, public",
      "accept-ranges": "bytes",
      "date": "Tue, 21 May 2024 06:04:53 GMT",
      "age": "12",
      "x-served-by": "cache-fra-eddf8230058-FRA, cache-fra-eddf8230141-FRA, cache-ams21020-AMS",
      "x-cache": "MISS, HIT, HIT",
      "x-cache-hits": "0, 10, 1",
      "x-timer": "S1716271493.411701,VS0,VE1",
      "vary": "Accept, Accept-Language, Cookie",
      "strict-transport-security": "max-age=31557600",
      "alt-svc": "h3=\":443\";ma=86400,h3-29=\":443\";ma=86400,h3-27=\":443\";ma=86400"
    },
    "statusCode": 410,
    "requestHeaders": {
      "user-agent": "PeerTube/6.1.0 (+https://tankie.tube)",
      "date": "Tue, 21 May 2024 06:04:53 GMT",
      "accept": "application/activity+json, application/ld+json",
      "accept-encoding": "gzip, deflate, br",
      "host": "mastodon.social",
      "signature": "keyId=\"https://tankie.tube/accounts/peertube\",algorithm=\"rsa-sha256\",headers=\"(request-target) host date\",signature=\"J3DyKAzE/ucCEDsd3iKiM8tVCyv1oB9OCmsc60kdzClSENxS14Jts/13ewJaAzDLYNTeB9oBtHwn89Ps/aQA8E7CdwS/toMjdYyssKHp05PbRYheJuxd9QxIrzlmo2yNSrStTKk2ptzPyTY3DW+cn3s/8PooR8PbcNE5WpF97LMrlNDqBzaoj+OQt8/jQCZv395bGrlgpuMR4wkK0pvJVUNnDuzOzj555XwneT/XtSIC7cvG8RfR8G5xlLCecEvlQWNg+lJHAU27zOZ+fWbFYs2j8ELjFJYYnJcEvRYMvxSrv9qewonbfLfxtGNjW8mapewsrkHEKcF6IAt8O2wfEA==\""
    }
  }
}

Is this related to my proxy cache?

Thanks in advance for any insight.

Hi,

Can you paste the full URL of the actor your instance is trying to get?

1 « J'aime »

Thanks for the reply. I edited my original post to include the full URL. In the process of finding it I found a few more examples. Not sure if these help:

$ sudo journalctl | grep 'Cannot fetch remote actor count'
May 20 13:39:23 redbox.tankie.tube peertube[1105]: [tankie.tube:443] 2024-05-20 13:39:23.908 info: Cannot fetch remote actor count https://mastodon.social/users/xstarxfox/followers. {
May 20 13:39:23 redbox.tankie.tube peertube[1105]: [tankie.tube:443] 2024-05-20 13:39:23.931 info: Cannot fetch remote actor count https://mastodon.social/users/xstarxfox/following. {
May 20 16:41:21 redbox.tankie.tube peertube[2493]: [tankie.tube:443] 2024-05-20 16:41:21.214 info: Cannot fetch remote actor count https://mastodon.social/users/sebastianweiss/followers. {
May 20 16:41:21 redbox.tankie.tube peertube[2493]: [tankie.tube:443] 2024-05-20 16:41:21.240 info: Cannot fetch remote actor count https://mastodon.social/users/sebastianweiss/following. {
May 20 16:43:11 redbox.tankie.tube peertube[2493]: [tankie.tube:443] 2024-05-20 16:43:11.169 info: Cannot fetch remote actor count https://mastodon.social/users/c0de_/followers. {
May 20 16:43:11 redbox.tankie.tube peertube[2493]: [tankie.tube:443] 2024-05-20 16:43:11.190 info: Cannot fetch remote actor count https://mastodon.social/users/c0de_/following. {
May 20 16:45:49 redbox.tankie.tube peertube[2493]: [tankie.tube:443] 2024-05-20 16:45:49.349 info: Cannot fetch remote actor count https://mastodon.social/users/pillowprince/followers. {
May 20 16:45:49 redbox.tankie.tube peertube[2493]: [tankie.tube:443] 2024-05-20 16:45:49.370 info: Cannot fetch remote actor count https://mastodon.social/users/pillowprince/following. {
May 21 00:40:41 redbox.tankie.tube peertube[7208]: [tankie.tube:443] 2024-05-21 00:40:41.038 info: Cannot fetch remote actor count https://mastodon.social/users/penguinsiblings/followers. {
May 21 00:40:41 redbox.tankie.tube peertube[7208]: [tankie.tube:443] 2024-05-21 00:40:41.083 info: Cannot fetch remote actor count https://mastodon.social/users/penguinsiblings/following. {
May 21 01:04:53 redbox.tankie.tube peertube[7954]: [tankie.tube:443] 2024-05-21 01:04:53.493 info: Cannot fetch remote actor count https://mastodon.social/users/thirstyboy/followers. {
May 21 01:04:53 redbox.tankie.tube peertube[7954]: [tankie.tube:443] 2024-05-21 01:04:53.588 info: Cannot fetch remote actor count https://mastodon.social/users/thirstyboy/following. {
May 22 03:50:35 redbox.tankie.tube peertube[21969]: [tankie.tube:443] 2024-05-22 03:50:35.853 info: Cannot fetch remote actor count https://mastodon.social/users/iustisiura/followers. {
May 22 03:50:35 redbox.tankie.tube peertube[21969]: [tankie.tube:443] 2024-05-22 03:50:35.876 info: Cannot fetch remote actor count https://mastodon.social/users/iustisiura/following. {
May 22 03:52:59 redbox.tankie.tube peertube[21969]: [tankie.tube:443] 2024-05-22 03:52:59.540 info: Cannot fetch remote actor count https://mastodon.social/users/Sonheating00/followers. {
May 22 03:52:59 redbox.tankie.tube peertube[21969]: [tankie.tube:443] 2024-05-22 03:52:59.561 info: Cannot fetch remote actor count https://mastodon.social/users/Sonheating00/following. {
May 22 07:22:59 redbox.tankie.tube peertube[23510]: [tankie.tube:443] 2024-05-22 07:22:59.319 info: Cannot fetch remote actor count https://piaille.fr/users/ikleenex/followers. {
May 22 07:22:59 redbox.tankie.tube peertube[23510]: [tankie.tube:443] 2024-05-22 07:22:59.381 info: Cannot fetch remote actor count https://piaille.fr/users/ikleenex/following. {
May 22 07:23:38 redbox.tankie.tube peertube[23510]: [tankie.tube:443] 2024-05-22 07:23:38.433 info: Cannot fetch remote actor count https://c.im/users/C_lM/followers. {
May 22 07:23:38 redbox.tankie.tube peertube[23510]: [tankie.tube:443] 2024-05-22 07:23:38.469 info: Cannot fetch remote actor count https://c.im/users/C_lM/following. {
May 22 07:24:18 redbox.tankie.tube peertube[23510]: [tankie.tube:443] 2024-05-22 07:24:18.057 info: Cannot fetch remote actor count https://wehavecookies.social/users/Jun88oficial/followers. {
May 22 07:24:18 redbox.tankie.tube peertube[23510]: [tankie.tube:443] 2024-05-22 07:24:18.108 info: Cannot fetch remote actor count https://wehavecookies.social/users/Jun88oficial/following. {
May 22 07:34:02 redbox.tankie.tube peertube[23674]: [tankie.tube:443] 2024-05-22 07:34:02.317 info: Cannot fetch remote actor count https://mastodon.social/users/bongdanetca/followers. {
May 22 07:34:02 redbox.tankie.tube peertube[23674]: [tankie.tube:443] 2024-05-22 07:34:02.340 info: Cannot fetch remote actor count https://mastodon.social/users/bongdanetca/following. {
May 22 08:01:12 redbox.tankie.tube peertube[24155]: [tankie.tube:443] 2024-05-22 08:01:12.355 info: Cannot fetch remote actor count https://mastodon.social/users/tructiepbongdaanhcom/followers. {
May 22 08:01:12 redbox.tankie.tube peertube[24155]: [tankie.tube:443] 2024-05-22 08:01:12.380 info: Cannot fetch remote actor count https://mastodon.social/users/tructiepbongdaanhcom/following. {
May 22 08:20:36 redbox.tankie.tube peertube[24385]: [tankie.tube:443] 2024-05-22 08:20:36.592 info: Cannot fetch remote actor count https://mastodon.social/users/mxmagie/followers. {
May 22 08:20:36 redbox.tankie.tube peertube[24385]: [tankie.tube:443] 2024-05-22 08:20:36.614 info: Cannot fetch remote actor count https://mastodon.social/users/mxmagie/following. {
May 22 08:22:40 redbox.tankie.tube peertube[24436]: [tankie.tube:443] 2024-05-22 08:22:40.975 info: Cannot fetch remote actor count https://mastodon.social/users/dudoanbongda01/followers. {
May 22 08:22:40 redbox.tankie.tube peertube[24436]: [tankie.tube:443] 2024-05-22 08:22:40.997 info: Cannot fetch remote actor count https://mastodon.social/users/dudoanbongda01/following. {
May 22 08:29:24 redbox.tankie.tube peertube[24436]: [tankie.tube:443] 2024-05-22 08:29:24.043 info: Cannot fetch remote actor count https://wehavecookies.social/users/sicbogames/followers. {
May 22 08:29:24 redbox.tankie.tube peertube[24436]: [tankie.tube:443] 2024-05-22 08:29:24.095 info: Cannot fetch remote actor count https://wehavecookies.social/users/sicbogames/following. {
May 22 08:31:42 redbox.tankie.tube peertube[24436]: [tankie.tube:443] 2024-05-22 08:31:42.945 info: Cannot fetch remote actor count https://mastodon.social/users/bongdanet68com/followers. {
May 22 08:31:42 redbox.tankie.tube peertube[24436]: [tankie.tube:443] 2024-05-22 08:31:42.966 info: Cannot fetch remote actor count https://mastodon.social/users/bongdanet68com/following. {
May 22 11:15:02 redbox.tankie.tube peertube[25634]: [tankie.tube:443] 2024-05-22 11:15:02.770 info: Cannot fetch remote actor count https://mastodon.social/users/fthbrmnby/followers. {
May 22 11:15:02 redbox.tankie.tube peertube[25634]: [tankie.tube:443] 2024-05-22 11:15:02.894 info: Cannot fetch remote actor count https://mastodon.social/users/fthbrmnby/following. {
May 22 14:11:38 redbox.tankie.tube peertube[27512]: [tankie.tube:443] 2024-05-22 14:11:38.620 info: Cannot fetch remote actor count https://mastodon.social/users/benjaminfaivre/followers. {
May 22 14:11:38 redbox.tankie.tube peertube[27512]: [tankie.tube:443] 2024-05-22 14:11:38.642 info: Cannot fetch remote actor count https://mastodon.social/users/benjaminfaivre/following. {
May 22 14:12:22 redbox.tankie.tube peertube[27512]: [tankie.tube:443] 2024-05-22 14:12:22.756 info: Cannot fetch remote actor count https://mastodon.social/users/hotchaos/followers. {
May 22 14:12:22 redbox.tankie.tube peertube[27512]: [tankie.tube:443] 2024-05-22 14:12:22.792 info: Cannot fetch remote actor count https://mastodon.social/users/hotchaos/following. {
May 22 14:18:00 redbox.tankie.tube peertube[27512]: [tankie.tube:443] 2024-05-22 14:18:00.242 info: Cannot fetch remote actor count https://mastodon.social/users/CalvinPowers/followers. {
May 22 14:18:00 redbox.tankie.tube peertube[27512]: [tankie.tube:443] 2024-05-22 14:18:00.266 info: Cannot fetch remote actor count https://mastodon.social/users/CalvinPowers/following. {
May 22 14:47:19 redbox.tankie.tube peertube[27819]: [tankie.tube:443] 2024-05-22 14:47:19.068 info: Cannot fetch remote actor count https://mastodon.social/users/spalasyf/followers. {
May 22 14:47:19 redbox.tankie.tube peertube[27819]: [tankie.tube:443] 2024-05-22 14:47:19.092 info: Cannot fetch remote actor count https://mastodon.social/users/spalasyf/following. {
May 22 15:04:19 redbox.tankie.tube peertube[27819]: [tankie.tube:443] 2024-05-22 15:04:19.649 info: Cannot fetch remote actor count https://baraag.net/users/alois/followers. {
May 22 15:04:19 redbox.tankie.tube peertube[27819]: [tankie.tube:443] 2024-05-22 15:04:19.817 info: Cannot fetch remote actor count https://baraag.net/users/alois/following. {

Thanks, I’ll fix PeerTube code to delete remote actors when the instance returns a 410 HTTP code :slight_smile:

EDIT: updated in Handle 410 HTTP response code for AP objects · Chocobozzz/PeerTube@6a4db88 · GitHub

1 « J'aime »