holo
Mai 22, 2024, 12:16
1
looking to install some plugins/new themes on a recent installation of peertube, however I get this error whheen I search for plugins/themes.
journalctl output:
May 22 12:09:25 z133 peertube[152702]: [video.lamer-ethos.site:443] 2024-05-22 12:09:25.563 error: Client log: Backend returned code 503, errorMessage is: Plugin index unavailable. Please retry later {
May 22 12:09:25 z133 peertube[152702]: "username": "holo",
May 22 12:09:25 z133 peertube[152702]: "userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0",
May 22 12:09:25 z133 peertube[152702]: "url": "https://video.lamer-ethos.site/admin/plugins/search?pluginType=1"
May 22 12:09:25 z133 peertube[152702]: }
May 22 12:09:25 z133 peertube[152702]: [video.lamer-ethos.site:443] 2024-05-22 12:09:25.564 info: 121.99.166.202 - - [22/May/2024:00:09:25 +0000] "POST /api/v1/server/logs/client HTTP/1.0" 204 - "https://video.lamer-ethos.site/admin/plugins/search?pluginType=1" "Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0"
May 22 12:09:25 z133 peertube[152702]: [video.lamer-ethos.site:443] 2024-05-22 12:09:25.565 error: Client log: {"message":"Plugin index unavailable. Please retry later","status":503,"body":{"type":"about:blank","title":"Service Unavailable","detail":"Plugin index unavailable. Please retry later","status":503,"docs":"https://docs.joinpeertube.org/api-rest-reference.html#operation/getAvailablePlugins","error":"Plugin index unavailable. Please retry later"},"headers":{"normalizedNames":{},"lazyUpdate":null}} {
May 22 12:09:25 z133 peertube[152702]: "username": "holo",
May 22 12:09:25 z133 peertube[152702]: "userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0",
May 22 12:09:25 z133 peertube[152702]: "url": "https://video.lamer-ethos.site/admin/plugins/search?pluginType=1"
May 22 12:09:25 z133 peertube[152702]: }
May 22 12:09:25 z133 peertube[152702]: [video.lamer-ethos.site:443] 2024-05-22 12:09:25.565 info: 121.99.166.202 - - [22/May/2024:00:09:25 +0000] "POST /api/v1/server/logs/client HTTP/1.0" 204 - "https://video.lamer-ethos.site/admin/plugins/search?pluginType=1" "Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0"
May 22 12:09:25 z133 peertube[152702]: [video.lamer-ethos.site:443] 2024-05-22 12:09:25.568 error: Client log: Error: The plugin index is not available. Please retry later. {
May 22 12:09:25 z133 peertube[152702]: "username": "holo",
May 22 12:09:25 z133 peertube[152702]: "userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0",
May 22 12:09:25 z133 peertube[152702]: "url": "https://video.lamer-ethos.site/admin/plugins/search?pluginType=1"
May 22 12:09:25 z133 peertube[152702]: }
May 22 12:09:25 z133 peertube[152702]: [video.lamer-ethos.site:443] 2024-05-22 12:09:25.568 info: 121.99.166.202 - - [22/May/2024:00:09:25 +0000] "POST /api/v1/server/logs/client HTTP/1.0" 204 - "https://video.lamer-ethos.site/admin/plugins/search?pluginType=1" "Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0"
any support would be appreciated.
holo
Mai 22, 2024, 7:37
2
this is likely an issue with search index interval, thanks to @JohnLivingston for their help in a previous thread.
will check back up in twelve hours or so.
thanks!
holo
Mai 22, 2024, 8:03
3
ok it is definitely 12 hours or longer since installing however the plugin/theme list has not indexed. are there any suggestions for creating an index for the extensions?
mherrb
Juillet 30, 2024, 12:18
4
Hi,
I’ve the same issue on a 6.0.3 installation. In the log I’ve further details about an SSL/TLS session error :
Jul 30 14:09:28 victoria2 peertube[1056]: [peertube2.laas.fr:443] 2024-07-30 14:09:28.384 error: Cannot list available plugins from index https://packages.joinpeertube.org/api/v1/plugins. {
Jul 30 14:09:28 victoria2 peertube[1056]: "err": {
Jul 30 14:09:28 victoria2 peertube[1056]: "stack": "RequestError: write EPROTO 00E8B9C14E7F0000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:355:\n\n at ClientRequest.<anonymous> (file:///var/www/peertube/versions/peertube-v6.0.3/node_modules/got/dist/source/core/index.js:792:107)\n at Object.onceWrapper (node:events:632:26)\n at ClientRequest.emit (node:events:529:35)\n at _destroy (node:_http_client:882:13)\n at onSocketNT (node:_http_client:902:5)\n at process.processTicksAndRejections (node:internal/process/task_queues:83:21)\n at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:94:16)",
Jul 30 14:09:28 victoria2 peertube[1056]: "message": "write EPROTO 00E8B9C14E7F0000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:355:\n",
Jul 30 14:09:28 victoria2 peertube[1056]: "name": "RequestError",
Jul 30 14:09:28 victoria2 peertube[1056]: "requestHeaders": {
Jul 30 14:09:28 victoria2 peertube[1056]: "user-agent": "PeerTube/6.0.3 (+https://peertube2.laas.fr)",
Jul 30 14:09:28 victoria2 peertube[1056]: "date": "Tue, 30 Jul 2024 12:09:28 GMT",
Jul 30 14:09:28 victoria2 peertube[1056]: "accept": "application/json",
Jul 30 14:09:28 victoria2 peertube[1056]: "accept-encoding": "gzip, deflate, br",
Jul 30 14:09:28 victoria2 peertube[1056]: "host": "packages.joinpeertube.org"
Jul 30 14:09:28 victoria2 peertube[1056]: }
Jul 30 14:09:28 victoria2 peertube[1056]: }
Jul 30 14:09:28 victoria2 peertube[1056]: }
Jul 30 14:09:28 victoria2 peertube[1056]: [peertube2.laas.fr:443] 2024-07-30 14:09:28.389 info: 2001:660:6602:4:6600:6aff:fe90:be61 - - [30/Jul/2024:12:09:28 +0000] "GET /api/v1/plugins/available?start=0&count=10&sort=-popularity&pluginType=1 HTTP/1.0" 503 269 "https://peertube2.laas.fr/admin/plugins/search?pluginType=1" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0"
Jul 30 14:09:28 victoria2 peertube[1056]: [peertube2.laas.fr:443] 2024-07-30 14:09:28.467 error: Client log: Backend returned code 503, errorMessage is: Plugin index unavailable. Please retry later {
Jul 30 14:09:28 victoria2 peertube[1056]: "username": "root",
Jul 30 14:09:28 victoria2 peertube[1056]: "userAgent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0",
Jul 30 14:09:28 victoria2 peertube[1056]: "url": "https://peertube2.laas.fr/admin/plugins/search?pluginType=1"
Jul 30 14:09:28 victoria2 peertube[1056]: }
Jul 30 14:09:28 victoria2 peertube[1056]: [peertube2.laas.fr:443] 2024-07-30 14:09:28.469 error: Client log: {"message":"Plugin index unavailable. Please retry later","status":503,"body":{"type":"about:blank","title":"Service Unavailable","detail":"Plugin index unavailable. Please retry later","status":503,"docs":"https://docs.joinpeertube.org/api-rest-reference.html#operation/getAvailablePlugins","error":"Plugin index unavailable. Please retry later"},"headers":{"normalizedNames":{},"lazyUpdate":null}} {
Jul 30 14:09:28 victoria2 peertube[1056]: "username": "root",
Peetube version 6.03
Ubuntu 22.04
Nodejs v18.20.4
Any clues ?
Hi,
Do you use a proxy in PeerTube or on your server?
mherrb
Juillet 30, 2024, 12:47
6
No. Its directly conected to the internet. It has IPv6 and IPv4 (and no NAT)
Do you have the same error when you enable the search index and make a search ? (Configuration | PeerTube documentation ) using https://search.joinpeertube.org/ ?
mherrb
Juillet 30, 2024, 1:18
8
Hmm in fact I was wrong about the proxy. We had a proxy configured in the systemd startup unit and it was using it.
Disabling the proxy (which is not required here) makes the listing work. Thanks for the clue.