s-alad / toofake

View friends BeReals without posting or them knowing. Post custom BeReal's whenever. Add custom realmojis
https://toofake.lol/
MIT License
152 stars 33 forks source link

Posts not loading for large friend feeds due to lambda limit (413/405) #40

Open Maximapple opened 1 year ago

Maximapple commented 1 year ago

2023-07-02 at 08 20 59@2x

s-alad commented 1 year ago

@Maximapple I just pushed an update right now, could you check if the error still persists.

Could you expand the message under "FETCHING ERROR" Does the above error only happen occasionally?

Maximapple commented 1 year ago

@s-alad The error unfortunately still persists. Refreshed 10 times, always error. Will post a screenshot of the fetching error shortly.

Maximapple commented 1 year ago

@s-alad 2023-07-02 at 08 47 38@2x

s-alad commented 1 year ago

@s-alad The error unfortunately still persists. Refreshed 10 times, always error. Will post a screenshot of the fetching error shortly.

I checked out logs and know why, this error happens to only some users who have too many friends added on bereal and too many items on the feed; therefore my proxy server cant handle the request. Unfortunately there's not much I can do server-wise right now, but I'll take a deeper look

Maximapple commented 1 year ago

@s-alad The error unfortunately still persists. Refreshed 10 times, always error. Will post a screenshot of the fetching error shortly.

I checked out logs and know why, this error happens to only some users who have too many friends added on bereal and too many items on the feed; therefore my proxy server cant handle the request. Unfortunately there's not much I can do server-wise right now, but I'll take a deeper look

Oh okay. But it was working before?

s-alad commented 1 year ago

@s-alad The error unfortunately still persists. Refreshed 10 times, always error. Will post a screenshot of the fetching error shortly.

I checked out logs and know why, this error happens to only some users who have too many friends added on bereal and too many items on the feed; therefore my proxy server cant handle the request. Unfortunately there's not much I can do server-wise right now, but I'll take a deeper look

Oh okay. But it was working before?

When was it working? It might have been working because a smaller amount of your friends posted

Maximapple commented 1 year ago

@s-alad The error unfortunately still persists. Refreshed 10 times, always error. Will post a screenshot of the fetching error shortly.

I checked out logs and know why, this error happens to only some users who have too many friends added on bereal and too many items on the feed; therefore my proxy server cant handle the request. Unfortunately there's not much I can do server-wise right now, but I'll take a deeper look

Oh okay. But it was working before?

When was it working? It might have been working because a smaller amount of your friends posted

It was working last week when you adjusted a limit: https://github.com/s-alad/toofake/issues/23

But yeah, it's possible that it was working before because of less posts made by my friends...

s-alad commented 1 year ago

@s-alad The error unfortunately still persists. Refreshed 10 times, always error. Will post a screenshot of the fetching error shortly.

I checked out logs and know why, this error happens to only some users who have too many friends added on bereal and too many items on the feed; therefore my proxy server cant handle the request. Unfortunately there's not much I can do server-wise right now, but I'll take a deeper look

Oh okay. But it was working before?

When was it working? It might have been working because a smaller amount of your friends posted

It was working last week when you adjusted a limit: #23

But yeah, it's possible that it was working before because of less posts made by my friends...

Oh yes I recall I upped the limit. The limit is still its increased version, but that still may not be enough. I'm guessing the reason is due to amount of posts.

Sorry about that, there's not much I can really do right now unless I completely change the structure on how I handle these requests.

If you would like, I think Rvaiduns project can handle very large friend feeds as he just uses a proxy server instead of edge functions, you may be able to fork his and run your own instance.

Maximapple commented 1 year ago

@s-alad The error unfortunately still persists. Refreshed 10 times, always error. Will post a screenshot of the fetching error shortly.

I checked out logs and know why, this error happens to only some users who have too many friends added on bereal and too many items on the feed; therefore my proxy server cant handle the request. Unfortunately there's not much I can do server-wise right now, but I'll take a deeper look

Oh okay. But it was working before?

When was it working? It might have been working because a smaller amount of your friends posted

It was working last week when you adjusted a limit: #23 But yeah, it's possible that it was working before because of less posts made by my friends...

Oh yes I recall I upped the limit. The limit is still its increased version, but that still may not be enough. I'm guessing the reason is due to amount of posts.

Sorry about that, there's not much I can really do right now unless I completely change the structure on how I handle these requests.

If you would like, I think Rvaiduns project can handle very large friend feeds as he just uses a proxy server instead of edge functions, you may be able to fork his and run your own instance.

Yeah, his project works just fine. One thing I'm still missing there is being able to react to all posts (using one of the saved reactions). But maybe he'll add that one day. Who knows.

s-alad commented 1 year ago

Yeah his should continue to support larger feeds.

I do plan to add react all to my feed, and I will add this issue to the Todo list, but unsure when I'll realistically get these done due to time and other constraints