-
-
Notifications
You must be signed in to change notification settings - Fork 348
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
[bug] Reposts notifications not being sent #3508
Comments
I've looked at it a bit more and tried some things. Even from an instance that was able to repost something of mine and a notification was sent to me, reposting from the same instance did not notify me, nor did favoriting the post. Furthermore, I see a handful of different warning messages in the logs that look like this: |
This post seems to have gotten 2 favorites, however, my notifications are still empty. |
Suddenly, all of the notifications appeared just now, not exactly sure why. Actually, the one from wafrn did not appear still. |
This sounds more like a client problem to me, tbh, given the error you posted. Which client are you using? Re: that wafrn post, isn't it the reply to your post that's been boosted, and not your post itself? |
Not likely to be the client, as I said it doesn't show on the actual gotosocial itself the interactions (until when I mentioned they randomly appeared). The wafrn post is my own post that's been reposted. Furthermore, I checked on 3 different clients (fedilab, elk, and phanpy), the same was the case on all 3. I'd be incredibly surprised were it not a problem with gotosocial itself thusly. |
Hmm okay. The only thing I can think of that might be causing this would be a rate limiting issue due to a misconfiguration. In your server logs, do you see the same client-ip value for all incoming connections? |
I thought it might be that, but then wouldn't adding |
Yes, turning off rate limiting would prevent that issue from occurring, though if you're seeing different client IP values then you should leave rate limiting enabled to avoid your instance being overwhelmed. Beyond that I'm not really sure what might be causing the issue. Could you try updating your instance to 0.17.3 from 0.17.1 just to be sure you're on the latest release version, and see if the problem persists? |
Updated, will report back. |
Looked like it was running fine, but woke up today and the last notes were from 10 hours ago. It usually took less time to break (about 6 hours maybe?), the only difference outside of updating is that i limited the cache to 1 day and every 8 hours, and turned back on ratelimiting to the default. |
If the cache size is something, maybe it's something regarding storage? My instance's server is only a 25gb SSD. Before pruning the cache gotosocial took up 11gb, whereas after the fact only 6gb, it lasts way longer now so I can't imagine it's not significant. |
Mm, if it's the case that you simply didn't have enough room left on your machine to store a new notification in the database I can imagine that causing problems. But I'd be surprised if that was the issue. Has it persisted? |
Yes it still happens, though I have set my server to just restart every 4 hours or so to prevent it from happening. The machine has never once been actually full as I've checked it, so I really don't know what it could be. |
Describe the bug with a clear and concise description of what the bug is.
When a post is reposted from another instance, it seems that the fact that it has been reposted by someone is not being sent to the server.
What's your GoToSocial Version?
v0.17.1+git-8a93300
GoToSocial Arch
amd64 Binary
What happened?
I made a post here on my server, and shortly after I was informed by my friend that a big account had reposted it here, however, checking my notifications, I saw nothing. Furthermore, the number of reposts listed on the post has not gone up, either.
What you expected to happen?
I expected to receive a notification and the repost number to go up.
How to reproduce it?
Repost a post from a gotosocial instance onto another instance.
Anything else we need to know?
I directed my friend to repost from a Misskey 2024.10.1 and Hollo 0.1.6 instance as well, and I did not receive notifications for either of these as well (the reposts are now gone as they un-reposted the post.)
The text was updated successfully, but these errors were encountered: