[erlang-questions] Gun process gone

Roberto Ostinelli roberto.ostinelli@REDACTED
Wed Jan 14 19:26:02 CET 2015


> 1. Are you sure the server is not just closing the connection? Then since you set retry to 0, gun doesn't try to reconnect. Have you checked last server response headers?

I'm sure. I do not have this problem with other libraries.


> 2. How consecutive are these calls? gun's default keepalive setting is 5 seconds.

I've set the keepalive to 6000.


> Also, what server are you using?

What difference does this make? I have no control on the server. It's a standard API server.


More information about the erlang-questions mailing list