-
-
Notifications
You must be signed in to change notification settings - Fork 231
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
gun-2.0.0-rc.1 - HTTP/2 connection process exits after 2 hours of no-use? #263
Comments
jainygaurav
changed the title
Does gun-2.0.0-rc.1 close HTTP/2 connection after 2 hours on no-use?
Does gun-2.0.0-rc.1 close/terminates HTTP/2 connection after 2 hours on no-use?
Mar 9, 2021
jainygaurav
changed the title
Does gun-2.0.0-rc.1 close/terminates HTTP/2 connection after 2 hours on no-use?
Does gun-2.0.0-rc.1 close/terminates HTTP/2 connection after 2 hours of no-use?
Mar 9, 2021
jainygaurav
changed the title
Does gun-2.0.0-rc.1 close/terminates HTTP/2 connection after 2 hours of no-use?
gun-2.0.0-rc.1 close/terminates HTTP/2 connection after 2 hours of no-use?
Mar 9, 2021
jainygaurav
changed the title
gun-2.0.0-rc.1 close/terminates HTTP/2 connection after 2 hours of no-use?
gun-2.0.0-rc.1 - HTTP/2 connection process exits after 2 hours of no-use?
Mar 10, 2021
This is probably the server closing the connection because Gun no longer sends pings by default (see |
@essen thank you for confirming. I was able to resolve this issue by:
|
jainygaurav
pushed a commit
to jainygaurav/apns4erl
that referenced
this issue
Mar 19, 2021
For details, please refer to: inaka#242 inaka#245 ninenines/gun#261 ninenines/gun#263
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I use
apns4erl
which usesgun-1.3.3
which runs into issue CRASH REPORT Process with 0 neighbours crashed with reason: no function clause matching gun_http2:parse(<<>>, close) #261.So, I used
gun-2.0.0-rc.1
withapns4erl
as suggested in CRASH REPORT Process with 0 neighbours crashed with reason: no function clause matching gun_http2:parse(<<>>, close) #261.However,
gun-2.0.0-rc.1
- HTTP/2 connection process exits if there is no activity on the connection for 2 hours.apns4erl
receivesDOWN
message fromgun
and reconnects.For more information on this issue: With gun-2.0.0-rc.1, apns reconnections are much more frequent than with gun-1.3.3 inaka/apns4erl#245.
Is there a
gun config option
that would make it work like 1.3.3 (i.e.gun-1.3.3
does not disconnect after 2 hours of no-use)?Please help.
The text was updated successfully, but these errors were encountered: