Skip to content
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

Initial connection time or count limit. #148

Open
bdkc opened this issue Oct 18, 2019 · 0 comments
Open

Initial connection time or count limit. #148

bdkc opened this issue Oct 18, 2019 · 0 comments

Comments

@bdkc
Copy link

bdkc commented Oct 18, 2019

When there is no available server, client throws the following excepiton as expected. However every reconnection try causes to thread count increase . Is there any way to limit reconnection time/count per peer?

] DEBUG org.jdiameter.server.impl.fsm.PeerFSMImpl[36] Can not connect to remote peer
org.jdiameter.api.InternalException: org.jdiameter.client.api.io.TransportException: Cannot init transport:
at org.jdiameter.client.impl.controller.PeerImpl$ActionContext.connect(PeerImpl.java:740) ~[jdiameter-impl-1.7.0.201.jar!/:1.7.0.201]
at org.jdiameter.server.impl.fsm.PeerFSMImpl$4.processEvent(PeerFSMImpl.java:406) ~[jdiameter-impl-1.7.0.201.jar!/:1.7.0.201]
at org.jdiameter.client.impl.fsm.PeerFSMImpl$3.run(PeerFSMImpl.java:235) ~[jdiameter-impl-1.7.0.201.jar!/:1.7.0.201]
at java.lang.Thread.run(Thread.java:834) [?:?]
Caused by: org.jdiameter.client.api.io.TransportException: Cannot init transport:
at org.jdiameter.client.impl.transport.tcp.netty.TCPClientConnection.connect(TCPClientConnection.java:95) ~[jdiameter-impl-1.7.0.201.jar!/:1.7.0.201]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant