-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NS_ERROR_NET_HTTP2_SENT_GOAWAY
errors
#20
Comments
We use a self-signed certificate with HTTPS in development. When I'm on 1.0.1 I see a If I manually change the URL to hit our app, neither our fonts nor our CSS load, with |
In chrome this represents as a |
Interesting. It totally could be related. @mtrudel have you seen this? |
It's likely related; I'm setting up a repro now |
I've pushed up a basic phoenix install here with a self-serve cert generated per
I am attempting to repro by loading https://localhost:4001/assets/app.js in either Chrome or Firefox. In all cases (I've tried hundreds of reloads) they both load without issue. If folks are able to either try the above repo and see if they can repro the issue, it would be greatly appreciated. For bonus points, if you're able to share a minimal case that DOES reproduce this that would be super as well. Data points that would be interesting:
|
I pulled this repo. It seems to be using a much older version of In our app that has the issue:
All requests to our local js and css assets, from what I can tell.
A different hostname. We use an internal hostname that maps to localhost.
Mac M1
Erlang/OTP 27 [erts-15.2] [source] [64-bit] [smp:10:10] [ds:10:10:10] [async-threads:1] [jit] [dtrace] Elixir 1.17.3 (compiled with Erlang/OTP 27)
I'm hoping to get a chance to replicate this in a repo if I can find some time later today. |
My bad - I didn't notice that my push failed because I already had a repo named |
You're accessing it directly though? Like, there's no intermediate proxy or anything? |
Nice - I'll grab that new repo at some point today and try it.
Correct, no intermediate proxy. |
@dustinaleksiuk I've dialled in all of those settings you had above (using https://localtest.me:4001/assets/app.js, recompiled erlang 27.1 against openssl 3.4.0) and I still cannot reproduce the issue. Hopefully you have better luck on your side |
@mtrudel I can absolutely reproduce it locally on my machine and anytime in the next 42h I can be available to screenshare and walk you through it to debug it directly if it'd help. |
@krainboltgreene Great! Reaching out on Elixir slack (or somewhere else if that's easier) |
Thanks for taking a look at this folks! Let me know if I can help. 💟 |
With @krainboltgreene's help I've got an explanation - the remote end is closing with a |
Closer reading of RFC9113§4.3.1para¶4 (https://www.rfc-editor.org/rfc/rfc9113.html#section-4.3.1) suggests that we should always send a dynamic resize Fixes elixir-mint#20
Fix is up if anyone wants to try and confirm it fixes the issue for you (it does for me locally):
|
This works! It resolved the |
v1.0.2 is out. |
With #19 released, within a Phoenix app we are getting some page load network failures in the dev env, probably caused by
NS_ERROR_NET_HTTP2_SENT_GOAWAY
, as long as the app is using HTTPS with a self-signed certificate. Could this be related? I am not deep into this stuff.The text was updated successfully, but these errors were encountered: