-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to comment in a video goes to "The page you are looking for isn't here" on e.g. mastodon.social #6718
Comments
This looks like the same issue as #4799 but that was closed and never debugged, so here is a chance to fix it! It might be a setup problem, in which case the installation instructions could be improved, or the log messaging. But I don't know what's happening yet. |
I noticed that the log messages above appeared to be coming from my reverse proxy. In production.yaml the comment on trust_proxy says:
And I added the external address of the proxy. But I realise this probably means the internal address that connects to the backend. So I added the whole lxdbr0 subnet like this:
and now when I try the reproduction steps above, I get IP real IP addresses:
This has not immediately fixed the problem, but it might be related, if Mastodon is doing some sort of validation. |
You can get mastodon.online etc. to attempt to fetch any URL by attempting to load the "authorize_interaction" URL. For example loading https://mastodon.online/authorize_interaction?uri=https%3A%2F%2Ftube.bogus.agency%2Fthis-is-a-test causes this log entry:
That suggests that Mastodon is not getting the a valid reply to this query. The "federation" section of production.yaml has this comment:
Could the signatures be incorrect? How do I check? |
Issue #692 may be related but:
|
Just trying to track this down. You can hand-craft a URL to Mastodon's "authorize_interaction" and get the same results.
So the problem does not seem to be in the first few steps, but in whatever Mastodon is doing to validate my PeerTube with those GET requests.
I can't see any evidence of header signing on any of the working URLs using |
So I set up my own Mastodon at https://mastodon.bogus.agency/ and tried commenting on my test video with @[email protected] , and it worked as far as making a public reply https://mastodon.bogus.agency/@admin/113465899458798333 . So perhaps there is an incompatibility with mastodon.online and mastodon.social . I will try to investigate. |
Hi,
I managed to fetch your video using framapiaf.org. There may be a cache on mastodon.social, did you try using another video? |
It might go up and down as I'm trying to debug transcoding. :)
Yes. This fresh one also won't go to mastodon.online https://tube.bogus.agency/w/iwdxA62535C6SHh3iRZmFQ . Perhaps they have some sort of anti-spam measures that require a server to be up for a while. That might explain why #692 fixed itself mysteriously. And there might be nothing you can do. I'll experiment each day for a while. |
Describe the current behavior
Attempting to comment on a video reaches a 404 error "The page you are looking for isn't here" on mastodon.social, mastodon.online, etc.
Steps to reproduce
Describe the expected behavior
Trying the same thing at e.g. https://v.basspistol.org/w/ddpeu5mmt6BzfDyYWGrEyC opens a draft remote comment. (That site is also PeerTube version 6.3.3.)
Additional information
This is a newly created instance on a fresh Ubuntu 24 LXD container, set up by exactly following the installation instructions, except that the reverse proxy is in another container. The reverse proxy has exactly the Nginx configuration file from the instructions, but with the "optimizations" section removed (since that requires local access to files). Otherwise I made no changes other than setting up minimum configuration.
PeerTube instance:
Browser name, version and platforms on which you could reproduce the bug: Firefox 132.0.1 on Ubuntu 22.04 with fresh blank Firefox profile. Also tried: LibreWolf 132.0.1-1, Fennec F-Droid on Android.
Link to browser console log if relevant:
Link to server log if relevant (
journalctl
or/var/www/peertube/storage/logs/
):Here are the logs generated from reproduction steps above.
Edit: I just noticed these logs are from trying @[email protected], but the effect is the same in each case.
The text was updated successfully, but these errors were encountered: