net::ERR_HTTP2_PROTOCOL_ERROR 200 (OK)

Since a few days I’m getting sporadic net::ERR_HTTP2_PROTOCOL_ERROR 200 (OK) errors on assets on a Rails 7 app.

The app is running fine otherwise, it’s just that css/js assets don’t get loaded sometimes and I have no idea where or what to fix.

Anyone got any ideas?

Ok, looks like the errors are connected to the [[statics]] block in fly.toml.

After removing:

[[statics]]
  guest_path = '/rails/public'
  url_prefix = '/'

the sporadic error seems to have gone away :crossed_fingers:

Might be a Cache-Control issue.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.