Nix: Stream error in the HTTP/2 framing layer

Created on 27 Feb 2017  Â·  12Comments  Â·  Source: NixOS/nix

Observed a few times from BinaryCacheStore:

unable to download ‘https://cache.nixos.org/nar/1vwg4rs3rqzy2pia1ll8cnz066m8pjhz3q8qnqj5mrz6ayxd5m9n.nar.xz’: Stream error in the HTTP/2 framing layer (92)
unable to download ‘https://cache.nixos.org/nar/023m6mfkb4akkb7zpmcg8z2r4ly5yvz9gfp7g8an5rwn4y96284q.nar.xz’: Stream error in the HTTP/2 framing layer (92)

This seems to be pretty random. It may be a bug in curl or in nghttp2, or a CloudFront issue.

bug

All 12 comments

Have others experienced this problem? Can we consider it fixed in view of the referenced commit?

Have others experienced this problem? Can we consider it fixed in view of the referenced commit?

I also experienced this/similar issue eg:
unable to download 'https://cache.nixos.org/nar/1n9cyv2q974r14yr6823zwkvfs4k80vlfpp3xh2jlgcqw2z2g5dn.nar.xz': HTTP error 200 (curl error: Stream error in the HTTP/2 framing layer);

To me it seems to be curl related (on slow connections especially?)

I am seeing this same error in conjunction with "error 9 while decompressing xz file" ... using a very slow internet connection. NixOS 18.09

Same.

Meanwhile the error also surfaced here, but on a very fast connection (100 Mbit/s).

warning: unable to download 'https://cache.nixos.org/nar/12mabyfb0m7jl32kxadkcjamlhmnbwp46fnlxxhh7m6sam1s724d.nar.xz': HTTP error 200 (curl error: Stream error in the HTTP/2 framing layer); retrying in 312 ms error 9 while decompressing xz file

When executing nixos-rebuild switch,always with the error.

The "HTTP 200" errors were more lengthily discussed on the forum; maybe they are unrelated to these older errors from CloudFront cache.

I noticed that this happens if I run the CPU of my RaspberryPi 3B very slowly (<100MHz).

Does this have anything to do with CloudFront?

cache.nixos.org isn't using CloudFront anymore – it's Fastly now: https://discourse.nixos.org/t/the-nixos-cache-is-now-hosted-by-fastly/1061

@vcunat OK. Does that mean that the diagnostic script linked at http://cache.nixos.org/ is no longer applicable?

Closing, probably not a Nix bug.

Was this page helpful?
0 / 5 - 0 ratings