mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2026-02-03 14:13:26 +00:00
Error 413 #89
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jm33-m0 on GitHub.
I did a search and found it might be a size limit issue, then I looked at the README, which is extremely confusing.
How should I pass those "parameters" to
transfer.shor its docker container? According to "usage" table it looks like I should use environment variables but passingMAX_UPLOAD_SIZEdidn't work.@paolafrancesca commented on GitHub:
@jm33-m0 how do you run the service?
it's either setting
MAX_UPLOAD_SIZEenv variable or passing--max-upload-sizeas paramater directly to transfer.sh binary@jm33-m0 commented on GitHub:
I tried both and they didn't solve the problem. My setup was docker container on a raspberry pi, haven't seen such error on x86_64 platform though.
@paolafrancesca commented on GitHub:
@jm33-m0 still an issue?
can you share the details (systemd unit/init script, docker/docker compose file, whatever) on the raspberry pi?
@mchalupiak commented on GitHub:
I also have this same issue. Flag or env variable, it doesn't seem to fix it. I'm running it with
docker run --publish 8888:8888 dutchcoders/transfer.sh:latest --listener :8888 --provider local --basedir /tmp/and it returns 413 when I try to upload a 38mb log file. I'm also running on a raspberry pi as well, not sure if that is relevant