Open jcarnat opened 3 months ago
Try turning off or on signed fetches in your production.yaml file
Try turning off or on signed fetches in your production.yaml file
Wether "federation: sign_federated_fetches" is set to true or false doesn't seem to change anything.
{"level":"info","message":"Fetching remote actor https://gts.nogoo.me/users/chirp/main-key.","label":"eggflix.foolbazar.eu:443","timestamp":"2024-07-03T12:35:29.095Z"} {"err":{"stack":"Error: Cannot fetch remote actor https://gts.nogoo.me/users/chirp/main-key\n at getOrCreateAPActor (file:///var/www/peertube/versions/peertube-v6.1.0/dist/core/lib/activitypub/actors/get.js:18:19)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async file:///var/www/peertube/versions/peertube-v6.1.0/dist/core/middlewares/activitypub.js:78:23\n at async checkSignature (file:///var/www/peertube/versions/peertube-v6.1.0/dist/core/middlewares/activitypub.js:11:38)","message":"Cannot fetch remote actor https://gts.nogoo.me/users/chirp/main-key"},"level":"warn","message":"Error in ActivityPub signature checker.","label":"eggflix.foolbazar.eu:443","timestamp":"2024-07-03T12:35:29.272Z"}
Can you enable debug logs in PeerTube, restart the server, follow the peertube account from GTS and paste them?
Can you enable debug logs in PeerTube, restart the server, follow the peertube account from GTS and paste them?
Here's the log attached.
I ran grep -A 2 -B 2 gts.nogoo.me /var/www/peertube/storage/logs/peertube.log
.
nogoome.log.gz
Thanks! With the GTS documentation I was able to understand the issue. I'll work on this in the coming months.
Describe the current behavior
Hello,
If it try to follow my Peertube account from one of my GoToSocial account, I'm stuck in the "waiting for approval" step on the GtS side. But my Peertube account is open and accept every request.
Looking at my peertube log, I can see:
peertube34.log:{"level":"info","message":"Fetching remote actor https://gts.nogoo.me/users/chirp/main-key.","label":"eggflix.foolbazar.eu:443","timestamp":"2024-07-02T15:51:57.037Z"} peertube34.log:{"err":{"stack":"Error: Cannot fetch remote actor https://gts.nogoo.me/users/chirp/main-key\n at getOrCreateAPActor (file:///var/www/peertube/versions/peertube-v6.1.0/di st/core/lib/activitypub/actors/get.js:18:19)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async file:///var/www/peertube/versions/peertube-v6 .1.0/dist/core/middlewares/activitypub.js:78:23\n at async checkSignature (file:///var/www/peertube/versions/peertube-v6.1.0/dist/core/middlewares/activitypub.js:11:38)","message":"Can not fetch remote actor https://gts.nogoo.me/users/chirp/main-key"},"level":"warn","message":"Error in ActivityPub signature checker.","label":"eggflix.foolbazar.eu:443","timestamp":"2024- 07-02T15:51:57.106Z"} peertube35.log:{"level":"info","message":"Fetching remote actor https://gts.nogoo.me/users/chirp/main-key.","label":"eggflix.foolbazar.eu:443","timestamp":"2024-07-02T15:53:23.052Z"} peertube35.log:{"err":{"stack":"Error: Cannot fetch remote actor https://gts.nogoo.me/users/chirp/main-key\n at getOrCreateAPActor (file:///var/www/peertube/versions/peertube-v6.1.0/di st/core/lib/activitypub/actors/get.js:18:19)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async file:///var/www/peertube/versions/peertube-v6 .1.0/dist/core/middlewares/activitypub.js:78:23\n at async checkSignature (file:///var/www/peertube/versions/peertube-v6.1.0/dist/core/middlewares/activitypub.js:11:38)","message":"Can not fetch remote actor https://gts.nogoo.me/users/chirp/main-key"},"level":"warn","message":"Error in ActivityPub signature checker.","label":"eggflix.foolbazar.eu:443","timestamp":"2024- 07-02T15:53:23.116Z"}
I've also tested following @chocobozzz@peertube2.cpy.re and this behaves the same.
There's an issue in GtS's Github which refers to signature too https://github.com/superseriousbusiness/gotosocial/issues/624 but there don't seem to be a solution from the GtS side.
Steps to reproduce
Describe the expected behavior
No response
Additional information
PeerTube instance:
Browser name, version and platforms on which you could reproduce the bug:
Link to browser console log if relevant:
Link to server log if relevant (
journalctl
or/var/www/peertube/storage/logs/
):