Phoenix suddenly not serving asset content

My Phoenix app seems to be trying to serve my assets on my dev machine, and it responds with 200 and other headers, including the content-length, but it doesn’t send any content. HTML content is being sent, but JS and CSS get a content-length, but no actual content.

It was working fine the last time I was developing it, about 6 weeks ago, and I haven’t changed anything since then. I’m using my system versions of erlang and elixir, however, so that’s probably changed since I update my machine regularly.

The server output is not giving any indication of errors, or even that a request is being processed. So I can’t figure out where to even start looking for the issue.

I’ve tried using asdf to downgrade elixir, but to no avail.

Anyone have any ideas on what might be wrong, or how I can try to debug it?

Could this be relevant?: Cowboy issue with kernel 5.16 - #2 by kuon

2 Likes

Yes, that’s it!

I’m on arch linux, kernel 5.16.8 with ZFS.

I guess I’ll use the “protocol_options: [sendfile: false]” workaround until it’s fixed

Thanks so much.