attic icon indicating copy to clipboard operation
attic copied to clipboard

Receiving "500 Internal Server error" on each push

Open hamann opened this issue 1 year ago • 0 comments

We're constantly receiving "HTTP 500 Internal Server Error" on each push, only the first one after restarting attic succeeds. attic doesn't log any errors

 from ~/.local/share/nix/trusted-settings.json.
✍️ Overwriting server "sauspiel"
Configuring Nix to use "...." on ".....":
+ Substituter: https://....
+ Trusted Public Key: ...:....
+ Access Token
⚙️ Pushing 12 paths to "..." on "..." (272 already cached, 487 in upstream)...
❌ 0fk4jf0rm8aiv5hldz5pppwpa1dcirh3-etc: HTTP 500 Internal Server Error: <html><body><h1>500 Internal Server Error</h1>
An internal server error occurred.
</body></html>


❌ fp72fl3bi33l4qaip4qdfj754q9ss9my-system-units: HTTP 500 Internal Server Error: <html><body><h1>500 Internal Server Error</h1>
An internal server error occurred.
</body></html>


✅ ciqpdaa8wmpn9rpip76zmgyk2wfmxm43-tmpfiles.d (20.85 KiB/s)
✅ va40ckpfyvpriyx5h6i038fcrbrdqjx3-nixos-tmpfiles.d (7.38 KiB/s)
✅ zkqwcry4zyh20z8qh4gp49vbmvqx3kbh-etc-registry.json (10.04 KiB/s)
✅ g7jj104pfifryyvh53kwgr4vmfy37xcn-closure-info (1.15 MiB/s)
✅ 9sdz0p1m4wkbflf49zcl99qwvminqh8c-manifest.json (6.79 KiB/s)
✅ lpfyhip3ymrwz6hflmv73bhmch6jqwgs-etc-bashrc (62.35 KiB/s)
✅ 6gkgf65nrzyksls0fh2mc4fxpljcs4x7-microvm-cloud-hypervisor-pg-staging (63.71 KiB/s)
✅ lb5jq5qgk98r20ixbdl4i0crsj8gnrrk-source (5.37 MiB/s, 85.2% deduplicated)
✅ pjdgg2kpxpavmm5rpklsnnphn6ym0g13-microvm-run (59.25 KiB/s)
✅ 4yf1bhgrb11zcpyl0vhxbdidkxg3nvqc-nixos-system-pg-staging-dirty-22.05.20220623.ccf8bdf (1.07 MiB/s)
Error: HTTP 500 Internal Server Error: <html><body><h1>500 Internal Server Error</h1>
An internal server error occurred.
</body></html>

Doing another push without changes succeeds, so things get stored and cached at least

api-endpoint = "https://..../"
listen = "0.0.0.0:8080"

[chunking]
avg-size = 65536
max-size = 262144
min-size = 16384
nar-size-threshold = 65536

[database]
url = "postgresql://atticd@localhost:5432/attic"

[storage]
path = "/var/lib/atticd/storage"
type = "local"

hamann avatar Nov 14 '23 14:11 hamann