-
Notifications
You must be signed in to change notification settings - Fork 34
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
ATProto: check blob size before storing [blocked on Bluesky] #1348
Comments
Interesting plot twist, evidently the AppView itself currently isn't enforcing these limits, at least for images and maybe for video too. Here's where both have |
Asked on Discord, @ericvolp12 is looking into it. |
…Size hopefully we'll bring this back once we figure out why the AppView isn't currently enforcing this: snarfed/bridgy-fed#1348 (comment) ...and maybe also advocate for raising it from 1MiB :)
for #1348, using snarfed/arroba@f8526e1 not images yet though
We're now doing this for videos but not images. |
Asked about this in bluesky-social/atproto#2845 |
We're finally rolling out lexicon schema validation, #1327 / snarfed/lexrpc#3, and started seeing a few failed blobs that were over the embed limits. Traceback below.
Also, related but not quite the same, we should check
Content-Length
and bail if a blob is too big before fetching it to hash and store inAtpRemoteBlob
. Here's an example of downloading a 900MB (!) video:The text was updated successfully, but these errors were encountered: