Skip to content
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

Transfer stops in the middle #31

Open
mobihen opened this issue Aug 8, 2023 · 7 comments
Open

Transfer stops in the middle #31

mobihen opened this issue Aug 8, 2023 · 7 comments

Comments

@mobihen
Copy link

mobihen commented Aug 8, 2023

Hi :),

First, great work!!! thank you very much!
I will try to contribute to this great work very soon (I'm an android dev)

So, I'm running the shop and everything is great, I can see the games, I can see "New Games", "DLC" sections, (I can't see UPDATE section yet, but maybe it's my issue related..)
When I'm trying to install a game, xci or other, it's stops in the middle of the downloading and I can't install it because it's not fully downloading it. there is no logs for that container on that operation. First, I though it was cutting 2GB+ but it occures also for 16GB files somewhere in the middle of it.

Is there anything I can do in order to solve this?

Thanks !

@velvetpants1975
Copy link

velvetpants1975 commented Sep 20, 2023

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

@a1ex4
Copy link
Owner

a1ex4 commented Sep 21, 2023

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.

@velvetpants1975
Copy link

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!

@a1ex4
Copy link
Owner

a1ex4 commented Sep 21, 2023

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.

@velvetpants1975
Copy link

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

@FourEyedPanda
Copy link

@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;

@velvetpants1975
Copy link

@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;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants