Code Monkey home page Code Monkey logo

Comments (7)

velvetpants1975 avatar velvetpants1975 commented on May 14, 2024

I am also having the same issue. Files will stop transferring halfway through if they are larger than 1gb. It appears as though an error msg is thrown but it disappears too quickly.
This was the error codes from the console.

image

from ownfoil.

a1ex4 avatar a1ex4 commented on May 14, 2024

Are you running / accessing Ownfoil through a reverse proxy? If so it could be a configured limit of max file size, see #33.

Else it should be fixed in the rewrite of Ownfoil v2, see #43, it should not happen anymore.

from ownfoil.

velvetpants1975 avatar velvetpants1975 commented on May 14, 2024

Are you running / accessing Ownfoil through a reverse proxy? If so it could be a configured limit of max file size, see #33.

Else it should be fixed in the rewrite of Ownfoil v2, see #43, it should not happen anymore.

Yes, I am running a reverse proxy through Cloudflare and Nginx!
In that #33, the solution has me add that block to the Ownfoil compose file or to the Nginx one?
Thanks!

from ownfoil.

a1ex4 avatar a1ex4 commented on May 14, 2024

It's not related directly to Ownfoil, but depending on how you run Nginx settings can be in different places. You should add those lines to the nginx.conf that's used by Nginx.

from ownfoil.

velvetpants1975 avatar velvetpants1975 commented on May 14, 2024

Got it, thanks for the help! Looking forward to giving v2 a go.

from ownfoil.

FourEyedPanda avatar FourEyedPanda commented on May 14, 2024

@velvetpants1975 btw, I had the same issue. It wasn't an issue with file size setting for me though it did happen only for bigger files.

What clued me in was checking my NextCloud configuration. Add this to your ownfoil configuration in nginx:

proxy_buffering off;

from ownfoil.

velvetpants1975 avatar velvetpants1975 commented on May 14, 2024

@velvetpants1975 btw, I had the same issue. It wasn't an issue with file size setting for me though it did happen only for bigger files.

What clued me in was checking my NextCloud configuration. Add this to your ownfoil configuration in nginx:

proxy_buffering off;

Thanks! Ill give this a go as well. I added these settings referenced in #33 and it seems to have solved it...

proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_max_temp_file_size 0;
client_max_body_size 0;

from ownfoil.

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.