Log in Sign up

Errors pushing to Blot via Git

When I tried to push a file to Blot using Git, I encountered the following : HTTP 413 Error despite reasonable file sizes:

  git commit -m "changes"
  git push
  shell: /usr/bin/bash -e {0}
  env:
    BLOT_REPO_NAME: ***
    BLOT_REPO_URL: ***
    BLOT_USER_EMAIL: ***
    BLOT_USER_NAME: ***
[master 8ba9cc2] changes
 5 files changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 assets/_L1000146.jpg
 create mode 100644 assets/_L1000189.jpg
 create mode 100644 assets/_L1000205.jpg
 create mode 100644 assets/_L1000213.jpg
error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413

I thought the files might be too large, so I checked their sizes, but they weren't excessively big:

-rw-r--r--@ 1 xxx  staff  354982  9 11 22:32 _L1000137.jpg
-rw-r--r--@ 1 xxx  staff  837096  9 11 22:32 _L1000146.jpg
-rw-r--r--@ 1 xxx  staff  626368  9 11 22:32 _L1000189.jpg
-rw-r--r--@ 1 xxx  staff  585994  9 11 22:32 _L1000205.jpg
-rw-r--r--@ 1 xxx  staff  502986  9 11 22:32 _L1000213.jpg

Is there any workaround for this issue?


a year ago, 3 replies   git   bug   Edit question

After resizing a larger file (about 5MB) that was already uploaded to Blot, I was able to successfully push it to Git, along with the files mentioned above.

Currently, the size of the "assets" folder is around 100MB. Is there a capacity limit?

Answered a year ago · Edit answer

The limit should be removed soon – I am experimenting with Blot's reverse proxy and accidentally removed the HTTP request limit size rules for the git routes.

Answered a year ago · Edit answer

Thank you for your response. I'll try again when I have some time.

Answered a year ago · Edit answer