Closed fungalcofe closed 10 months ago
The first part is because GoToSocial doesn't implement the Mastodon API in the same way:
With Mastodon, you'd get back the following HTTP header when the rate limit is hit:
X-RateLimit-Reset: 2023-08-17T08:42:22.000Z
What you got back was
X-RateLimit-Reset: 1692259524
FedFetcher tried to parse that number as a year (rather than Unix Epoch seconds) and that's why you are seeing that error.
I'll see what I can do about this.
With regards to the 500 / 429 errors: FediFetcher literally just logs the response code it receives. Either your GoToSocial log relates to a different event/request, or something sits between that log and FediFetcher that converts the 429 to 500.
I'm closing this issue now, as it appears to have been fixed in GoToSocial.
Hi, I'm using FediFetcher with GoToSocial who also implements the Masto-API (API Swagger)
However, I get this fatal error:
My wild guess is FediFetcher is getting rate-limited and don't know how to properly act or parse the value, given the Unix timestamp
1692259524
; but I haven't checked source code. I've parsed logs and confirm that GoToSocial sent HTTP 429 to FediFetcher:Docker image is
8a76c4cb6946
Also related, an HTTP 429 seems to be understood as an error 500 when for most actions, e.g.:
I could 100% confirm if FediFetcher prints the
requestID
, but it seems like 500 is a wildcard error.