GithubHelp home page GithubHelp logo

Comments (6)

wxiaoguang avatar wxiaoguang commented on June 15, 2024 2

There are some guesses for this problem:

  1. The uploading on nginx side timeouts (eg: improper timeout setting, laggy network, browser proxy, etc)
  2. The uploading on Gitea side timeouts

For the first case, you could try to double-check your config/environment.

For the second case, could you provide a reproducible setup with detailed steps? eg: a docker compose file, and the steps to reproduce. If it could be reproduced on a developer's machine, then it could be fixed soon.

from gitea.

eeyrjmr avatar eeyrjmr commented on June 15, 2024 1

What is your nginx setting with respect to payload?

from gitea.

KN4CK3R avatar KN4CK3R commented on June 15, 2024

Check your client_max_body_size setting in nginx.

from gitea.

exodrifter avatar exodrifter commented on June 15, 2024

client_max_body_size is 0, which I believe disables checking of the client request body size.

As an aside, I tried testing this on try.gitea.io again, but trying to register an account returns a 500. I'll try again a different day.

from gitea.

exodrifter avatar exodrifter commented on June 15, 2024

I am planning on putting aside some time in two weeks to see if I can create a reproducible setup.

from gitea.

exodrifter avatar exodrifter commented on June 15, 2024

I was able to test this locally with a docker installation on 1.21.11 as well as on the demo site (which is on 1.23.0+dev-197-gab1948d4a3), and was unable to reproduce it.

I mistakenly assumed that if it worked with cURL that it would be a problem with Gitea, but it is clear to me now that is an issue with how the forward proxy is configured.

from gitea.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.