Peertube cant install plugins/themes (timeout)

hey

I hope im right here, i have problem installing plugins/themes, i have the docker version of peertube (6.3.0) behind nginx proxy.

this 2 lines comes from peertube log after try to install a plugin:

{"level":"error","message":"Cannot install plugin peertube-plugin-simplelogo, removing it...","label":"domain.de:443","err":{"err":{"stack":"Error: Command failed: yarn add peertube-plugin-simplelogo@0.0.5\nwarning package.json: No license field\nwarning No license field\nerror An unexpected error occurred: \"https://registry.yarnpkg.com/peertube-plugin-simplelogo: ETIMEDOUT\".\n\n    at ChildProcess.exithandler (node:child_process:422:12)\n    at ChildProcess.emit (node:events:517:28)\n    at maybeClose (node:internal/child_process:1098:16)\n    at ChildProcess._handle.onexit (node:internal/child_process:303:5)","message":"Command failed: yarn add peertube-plugin-simplelogo@0.0.5\nwarning package.json: No license field\nwarning No license field\nerror An unexpected error occurred: \"https://registry.yarnpkg.com/peertube-plugin-simplelogo: ETIMEDOUT\".\n","code":1,"killed":false,"signal":null,"cmd":"yarn add peertube-plugin-simplelogo@0.0.5"},"stdout":"yarn add v1.22.19\ninfo No lockfile found.\n[1/4] Resolving packages...\ninfo There appears to be trouble with your network connection. Retrying...\ninfo There appears to be trouble with your network connection. Retrying...\ninfo There appears to be trouble with your network connection. Retrying...\ninfo There appears to be trouble with your network connection. Retrying...\ninfo If you think this is a bug, please open a bug report with the information provided in \"/data/plugins/yarn-error.log\".\ninfo Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.\n","stderr":"warning package.json: No license field\nwarning No license field\nerror An unexpected error occurred: \"https://registry.yarnpkg.com/peertube-plugin-simplelogo: ETIMEDOUT\".\n"},"timestamp"}

{"level":"warn","message":"Cannot install plugin peertube-plugin-simplelogo.","label":"domain.de:443","err":{"err":{"stack":"Error: Command failed: yarn add peertube-plugin-simplelogo@0.0.5\nwarning package.json: No license field\nwarning No license field\nerror An unexpected error occurred: \"https://registry.yarnpkg.com/peertube-plugin-simplelogo: ETIMEDOUT\".\n\n    at ChildProcess.exithandler (node:child_process:422:12)\n    at ChildProcess.emit (node:events:517:28)\n    at maybeClose (node:internal/child_process:1098:16)\n    at ChildProcess._handle.onexit (node:internal/child_process:303:5)","message":"Command failed: yarn add peertube-plugin-simplelogo@0.0.5\nwarning package.json: No license field\nwarning No license field\nerror An unexpected error occurred: \"https://registry.yarnpkg.com/peertube-plugin-simplelogo: ETIMEDOUT\".\n","code":1,"killed":false,"signal":null,"cmd":"yarn add peertube-plugin-simplelogo@0.0.5"},"stdout":"yarn add v1.22.19\ninfo No lockfile found.\n[1/4] Resolving packages...\ninfo There appears to be trouble with your network connection. Retrying...\ninfo There appears to be trouble with your network connection. Retrying...\ninfo There appears to be trouble with your network connection. Retrying...\ninfo There appears to be trouble with your network connection. Retrying...\ninfo If you think this is a bug, please open a bug report with the information provided in \"/data/plugins/yarn-error.log\".\ninfo Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.\n","stderr":"warning package.json: No license field\nwarning No license field\nerror An unexpected error occurred: \"https://registry.yarnpkg.com/peertube-plugin-simplelogo: ETIMEDOUT\".\n"}

i hope someone can help me!

Greetings, please look at the forum, not so long ago this was resolved, as far as I remember, there were a number of reasons, one of them is IPv6

Hey, thanks for response
can you give the link to them will be nice

thx

There is a similar topic here, please show the Nginx logs

To check if it is a routing issue (IPv6 or IPv4), you can try this in a shell on your Peertube server:

curl -4 'https://registry.yarnpkg.com'
curl -6 'https://registry.yarnpkg.com'

Both should return:

{}

If one of them is not working, you probably have a routing issue (IPv4 for the first one, IPv6 for the second).
Once we know the error, we could help forward (or search for another issue).