Errors in PeerTube and Podping/Podcating 2.0

What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 12.0.10
What app is this about: PeerTube

Describe your issue

I’m trying to broadcast my podcast via Podcasting 2.0, RSS applications update but PC2.0 nearly always fails.

I have the following error log.

### Share relevant logs or error messages
error[1/18/2025, 8:59:03 AM] uncaughtException: proxyUrl is not defined ReferenceError: proxyUrl is not defined at pingPI (/home/yunohost.app/peertube/storage/plugins/node_modules/peertube-plugin-podcast2/main.js:2176:52) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
{
  "error": {
    "stack": "ReferenceError: proxyUrl is not defined\n    at pingPI (/home/yunohost.app/peertube/storage/plugins/node_modules/peertube-plugin-podcast2/main.js:2176:52)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)",
    "message": "proxyUrl is not defined"
  },
  "stack": "ReferenceError: proxyUrl is not defined\n    at pingPI (/home/yunohost.app/peertube/storage/plugins/node_modules/peertube-plugin-podcast2/main.js:2176:52)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)",
  "exception": true,
  "date": "Sat Jan 18 2025 08:59:03 GMT+0000 (Greenwich Mean Time)",
  "process": {
    "pid": 70335,
    "uid": 993,
    "gid": 993,
    "cwd": "/var/www/peertube",
    "execPath": "/opt/node_n/n/versions/node/20.18.1/bin/node",
    "version": "v20.18.1",
    "argv": [
      "/opt/node_n/n/versions/node/20.18.1/bin/node",
      "/var/www/peertube/dist/server"
    ],
    "memoryUsage": {
      "rss": 558211072,
      "heapTotal": 134139904,
      "heapUsed": 128639304,
      "external": 127324303,
      "arrayBuffers": 123306359
    }
  },
  "os": {
    "loadavg": [
      0.15,
      0.16,
      0.14
    ],
    "uptime": 150797.05
  },
  "trace": [
    {
      "column": 52,
      "file": "/home/yunohost.app/peertube/storage/plugins/node_modules/peertube-plugin-podcast2/main.js",
      "function": "pingPI",
      "line": 2176,
      "method": null,
      "native": false
    },
    {
      "column": 5,
      "file": "node:internal/process/task_queues",
      "function": "process.processTicksAndRejections",
      "line": 95,
      "method": "processTicksAndRejections",
      "native": false
    }
  ]
}
error[1/18/2025, 8:59:03 AM] uncaughtException: proxyUrl is not defined ReferenceError: proxyUrl is not defined at pingPI (/home/yunohost.app/peertube/storage/plugins/node_modules/peertube-plugin-podcast2/main.js:2176:52) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
{
  "error": {
    "stack": "ReferenceError: proxyUrl is not defined\n    at pingPI (/home/yunohost.app/peertube/storage/plugins/node_modules/peertube-plugin-podcast2/main.js:2176:52)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)",
    "message": "proxyUrl is not defined"
  },
  "stack": "ReferenceError: proxyUrl is not defined\n    at pingPI (/home/yunohost.app/peertube/storage/plugins/node_modules/peertube-plugin-podcast2/main.js:2176:52)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)",
  "exception": true,
  "date": "Sat Jan 18 2025 08:59:03 GMT+0000 (Greenwich Mean Time)",
  "process": {
    "pid": 70335,
    "uid": 993,
    "gid": 993,
    "cwd": "/var/www/peertube",
    "execPath": "/opt/node_n/n/versions/node/20.18.1/bin/node",
    "version": "v20.18.1",
    "argv": [
      "/opt/node_n/n/versions/node/20.18.1/bin/node",
      "/var/www/peertube/dist/server"
    ],
    "memoryUsage": {
      "rss": 558481408,
      "heapTotal": 134139904,
      "heapUsed": 128683768,
      "external": 127324367,
      "arrayBuffers": 123306383
    }
  },
  "os": {
    "loadavg": [
      0.15,
      0.16,
      0.14
    ],
    "uptime": 150797.05
  },
  "trace": [
    {
      "column": 52,
      "file": "/home/yunohost.app/peertube/storage/plugins/node_modules/peertube-plugin-podcast2/main.js",
      "function": "pingPI",
      "line": 2176,
      "method": null,
      "native": false
    },
    {
      "column": 5,
      "file": "node:internal/process/task_queues",
      "function": "process.processTicksAndRejections",
      "line": 95,
      "method": "processTicksAndRejections",
      "native": false
    }
  ]
}
error[1/18/2025, 8:59:03 AM] uncaughtException: proxyUrl is not defined ReferenceError: proxyUrl is not defined at pingPI (/home/yunohost.app/peertube/storage/plugins/node_modules/peertube-plugin-podcast2/main.js:2176:52) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
{
  "error": {
    "stack": "ReferenceError: proxyUrl is not defined\n    at pingPI (/home/yunohost.app/peertube/storage/plugins/node_modules/peertube-plugin-podcast2/main.js:2176:52)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)",
    "message": "proxyUrl is not defined"
  },
  "stack": "ReferenceError: proxyUrl is not defined\n    at pingPI (/home/yunohost.app/peertube/storage/plugins/node_modules/peertube-plugin-podcast2/main.js:2176:52)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)",
  "exception": true,
  "date": "Sat Jan 18 2025 08:59:03 GMT+0000 (Greenwich Mean Time)",
  "process": {
    "pid": 70335,
    "uid": 993,
    "gid": 993,
    "cwd": "/var/www/peertube",
    "execPath": "/opt/node_n/n/versions/node/20.18.1/bin/node",
    "version": "v20.18.1",
    "argv": [
      "/opt/node_n/n/versions/node/20.18.1/bin/node",
      "/var/www/peertube/dist/server"
    ],
    "memoryUsage": {
      "rss": 558481408,
      "heapTotal": 134139904,
      "heapUsed": 128716256,
      "external": 127324367,
      "arrayBuffers": 123306383
    }
  },
  "os": {
    "loadavg": [
      0.15,
      0.16,
      0.14
    ],
    "uptime": 150797.05
  },
  "trace": [
    {
      "column": 52,
      "file": "/home/yunohost.app/peertube/storage/plugins/node_modules/peertube-plugin-podcast2/main.js",
      "function": "pingPI",
      "line": 2176,
      "method": null,
      "native": false
    },
    {
      "column": 5,
      "file": "node:internal/process/task_queues",
      "function": "process.processTicksAndRejections",
      "line": 95,
      "method": "processTicksAndRejections",
      "native": false
    }
  ]
}
error[1/18/2025, 8:59:03 AM] uncaughtException: proxyUrl is not defined ReferenceError: proxyUrl is not defined at pingPI (/home/yunohost.app/peertube/storage/plugins/node_modules/peertube-plugin-podcast2/main.js:2176:52) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
{
  "error": {
    "stack": "ReferenceError: proxyUrl is not defined\n    at pingPI (/home/yunohost.app/peertube/storage/plugins/node_modules/peertube-plugin-podcast2/main.js:2176:52)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)",
    "message": "proxyUrl is not defined"
  },
  "stack": "ReferenceError: proxyUrl is not defined\n    at pingPI (/home/yunohost.app/peertube/storage/plugins/node_modules/peertube-plugin-podcast2/main.js:2176:52)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)",
  "exception": true,
  "date": "Sat Jan 18 2025 08:59:03 GMT+0000 (Greenwich Mean Time)",
  "process": {
    "pid": 70335,
    "uid": 993,
    "gid": 993,
    "cwd": "/var/www/peertube",
    "execPath": "/opt/node_n/n/versions/node/20.18.1/bin/node",
    "version": "v20.18.1",
    "argv": [
      "/opt/node_n/n/versions/node/20.18.1/bin/node",
      "/var/www/peertube/dist/server"
    ],
    "memoryUsage": {
      "rss": 558481408,
      "heapTotal": 134139904,
      "heapUsed": 128748040,
      "external": 127324367,
      "arrayBuffers": 123306383
    }
  },
  "os": {
    "loadavg": [
      0.15,
      0.16,
      0.14
    ],
    "uptime": 150797.05
  },
  "trace": [
    {
      "column": 52,
      "file": "/home/yunohost.app/peertube/storage/plugins/node_modules/peertube-plugin-podcast2/main.js",
      "function": "pingPI",
      "line": 2176,
      "method": null,
      "native": false
    },
    {
      "column": 5,
      "file": "node:internal/process/task_queues",
      "function": "process.processTicksAndRejections",
      "line": 95,
      "method": "processTicksAndRejections",
      "native": false
    }
  ]
}
error[1/18/2025, 8:59:03 AM] uncaughtException: proxyUrl is not defined ReferenceError: proxyUrl is not defined at pingPI (/home/yunohost.app/peertube/storage/plugins/node_modules/peertube-plugin-podcast2/main.js:2176:52) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
{
  "error": {
    "stack": "ReferenceError: proxyUrl is not defined\n    at pingPI (/home/yunohost.app/peertube/storage/plugins/node_modules/peertube-plugin-podcast2/main.js:2176:52)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)",
    "message": "proxyUrl is not defined"
  },
  "stack": "ReferenceError: proxyUrl is not defined\n    at pingPI (/home/yunohost.app/peertube/storage/plugins/node_modules/peertube-plugin-podcast2/main.js:2176:52)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)",
  "exception": true,
  "date": "Sat Jan 18 2025 08:59:03 GMT+0000 (Greenwich Mean Time)",
  "process": {
    "pid": 70335,
    "uid": 993,
    "gid": 993,
    "cwd": "/var/www/peertube",
    "execPath": "/opt/node_n/n/versions/node/20.18.1/bin/node",
    "version": "v20.18.1",
    "argv": [
      "/opt/node_n/n/versions/node/20.18.1/bin/node",
      "/var/www/peertube/dist/server"
    ],
    "memoryUsage": {
      "rss": 558481408,
      "heapTotal": 134139904,
      "heapUsed": 128779688,
      "external": 127324367,
      "arrayBuffers": 123306383
    }
  },
  "os": {
    "loadavg": [
      0.15,
      0.16,
      0.14
    ],
    "uptime": 150797.05
  },
  "trace": [
    {
      "column": 52,
      "file": "/home/yunohost.app/peertube/storage/plugins/node_modules/peertube-plugin-podcast2/main.js",
      "function": "pingPI",
      "line": 2176,
      "method": null,
      "native": false
    },
    {
      "column": 5,
      "file": "node:internal/process/task_queues",
      "function": "process.processTicksAndRejections",
      "line": 95,
      "method": "processTicksAndRejections",
      "native": false
    }
  ]
}
error[1/18/2025, 8:59:03 AM] uncaughtException: proxyUrl is not defined ReferenceError: proxyUrl is not defined at pingPI (/home/yunohost.app/peertube/storage/plugins/node_modules/peertube-plugin-podcast2/main.js:2176:52) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
{
  "error": {
    "stack": "ReferenceError: proxyUrl is not defined\n    at pingPI (/home/yunohost.app/peertube/storage/plugins/node_modules/peertube-plugin-podcast2/main.js:2176:52)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)",
    "message": "proxyUrl is not defined"
  },
  "stack": "ReferenceError: proxyUrl is not defined\n    at pingPI (/home/yunohost.app/peertube/storage/plugins/node_modules/peertube-plugin-podcast2/main.js:2176:52)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)",
  "exception": true,
  "date": "Sat Jan 18 2025 08:59:03 GMT+0000 (Greenwich Mean Time)",
  "process": {
    "pid": 70335,
    "uid": 993,
    "gid": 993,
    "cwd": "/var/www/peertube",
    "execPath": "/opt/node_n/n/versions/node/20.18.1/bin/node",
    "version": "v20.18.1",
    "argv": [
      "/opt/node_n/n/versions/node/20.18.1/bin/node",
      "/var/www/peertube/dist/server"
    ],
    "memoryUsage": {
      "rss": 558481408,
      "heapTotal": 134139904,
      "heapUsed": 128811336,
      "external": 127332559,
      "arrayBuffers": 123314575
    }
  },
  "os": {
    "loadavg": [
      0.15,
      0.16,
      0.14
    ],
    "uptime": 150797.06
  },
  "trace": [
    {
      "column": 52,
      "file": "/home/yunohost.app/peertube/storage/plugins/node_modules/peertube-plugin-podcast2/main.js",
      "function": "pingPI",
      "line": 2176,
      "method": null,
      "native": false
    },
    {
      "column": 5,
      "file": "node:internal/process/task_queues",
      "function": "process.processTicksAndRejections",
      "line": 95,
      "method": "processTicksAndRejections",
      "native": false
    }
  ]
}

Hi mxtthxw,

From the log:

error[1/18/2025, 8:59:03 AM] uncaughtException: proxyUrl is not defined ReferenceError: proxyUrl is not defined at pingPI

Does the Podping-plugin have any settings related to proxies? Does Podcast?

Yes, there is a setting…

" PeerTube proxy instance for podpinging

Setting this value enables podping proxy for the configurable legacy RSS feed, ignored if API Key set"

I’ve tried adding the Podcast feed here and leaving it bank as the API key is already set (which is the setting above in the plugin".

Thanks for your assistance, I find this stuff quite confusing!

Yeah, I have no idea what podpinging is :stuck_out_tongue:

From your description I can not make up what the result of your investigations is.

I mean it says Proxy but I’ve no idea what the proxy is, or where I find it. There’s no info on the plugins github and I’ve made the dev grumpy because I don’t know how to do markdown properly…

Hahaha, Markdown can be learned. With fewer than 5 properties, you can do almost anything in Markdown.

What do you mean by that? What is your goal? I looked for “Podcasting Peertube”, my search engine came back with this: How to subscribe to PeerTube channels through podcast apps | Fedi.Tips – An Unofficial Guide to Mastodon and the Fediverse

So I want to podcast to propagate over both RSS and to Podcasting 2.0 apps like Podverse. Podcast 2.0 has some features I’d like to make use of.

Ah, ok, some searching revealed that “Podcast 2.0” is an emerging standard to extend RSS with podcast specific atributes, as described at https://podcasting2.org/

I have Peertube instances running, but do no active maintenance of RSS or subscribership and have not before looked into this.

There was a (short) thread over at Framasaft, did you see it and does it give any handles for your situation?

Ah no but going to take a look now, thanks!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.