Huh, weird..... I don't think this is solvable on our side, this is thetyee's cloudflare rules blocking us.
Lemmy.ca Support / Questions
This community is for support requests specific to lemmy.ca.
If you need to contact an admin privately, please message @[email protected].
If you are a technical user and you have questions or need support with the Lemmy software itself, please visit [email protected].
Is there a config option to make the preview generation on the client side?
Can't you make a text post, generate your own preview by downloading the pic, put a link to the article, copy the headline into the title and upload your preview?
That's basically what I do for CBC articles because they don't generate a preview for some reason. You could plausibly automate this in JS on the client side. Could even be a separate, user control where the user has to click a button for the functionality to trigger. Could be implemented in an alt client too. There are options, they just need work. :D
Unfortunately not
That means we'd keep running into stuff like this long term as the server/s IP/s get flagged by various CDNs and what not. Oh well. Not much we can do unless one of us gets the work done and shepherds a PR into Lemmy mainline.
I think that might introduce concerns around a client presenting modified info vs what everyone else would see. I'd imagine Facebook / discord and everyone else that generates link previews, struggle with this problem.
Yes but people can put whatever info in the title, thumbnail, etc. so I imagine the previews are more about convenience than accuracy. I think accuracy is handled by the voting system first and moderation second. There are likely corner cases I'm not considering so yes, there likely would be concerns about that either way. I'm just thinking about it from a low-cost compromise perspective.
Yeah for sure they do and they have large pools of IPs that cost money we probably don't want to spend. They also likely can directly talk to CDNs and IP list providers to allowlist their IPs. :D I used to work for a bit at the VPN side of a security company and the struggle for clean IPs was real. AWS solved that but it was very expensive compared to metal in smaller DCs.
Lemmy mainline could also skip rich link preview generation if it returns a non-2xx status. Have a few retries if link preview generation fails, and omit the preview entirely if retries are exhausted. I think the Attention Required! | Cloudflare
prompt is associated with a 403 Forbidden
status code.
And also generate some logs of what addresses are being refused, so the Lemmy admins can reach out to the content owners and get their servers unblocked, maybe.
The preview generator is an "automated" visit of the page so the site tends to reject it.
Usually, OPs put a short summary of their own in the post body text, plus their thoughts in a top-level comment.