Open MGlolenstine opened 4 months ago
Looks like it is the same issue as this one: https://github.com/zhaofengli/attic/issues/24
While it does look similar at the first glance, they seem to get errors inside of attic logs, where I don't get any and the error, while occurring in both issues, seem to differ a bit.
The "not a result of an error" is a symptom of https://github.com/hyperium/hyper/issues/2500. I noticed this error with an attic instance deployed in a kubernetes cluster and behind the nginx ingress since nginx sends a GOAWAY after handling a certain number of requests.
Does it work with Caddy? I don’t have the possibility to test it myself for the next few days but I will if no one else does.
I don't actually control this kubernetes cluster, so I don't have an easy way to test it myself. I would say "This behavior is within-spec, and attic should handle it." except that that it looks to me like reqwest doesn't expose sufficient detail to make that happen, and handling it today would require using hyper directly.
Maybe the same as: https://github.com/zhaofengli/attic/issues/170
Whenever I try to upload larger files that have been added to the
/nix/store
(I need to package a proprietary project for our projects, so I'm unable to redistribute), which I add by manually downloading and then runningnix store add-file ~/Downloads/<file>
, the file weighs about 980MB.I tried pushing it using
attic push work /nix/store/<path>
, but it fails to upload (withSQLite
, it failed at 10MB, withPostgreSQL
it fails at 250MB).Log:
I can see that the database is getting spammed with the insert and update requests, so I guess that's where the difference between SQLite and PostgreSQL comes in.
I'm wondering if there's something else I could do to improve the performance and allow this to be uploaded.