Open arifulislam2007 opened 4 years ago
Hi,
I can't see peer[CBSService.com] or realm[www.cbpadpt451.com] anywhere in your jdiameter configuration, so find it hard to believe that you can send any messages with this destination host or realm.
Any destination realm that you submit a request for into the jdiameter stack needs to be defined in the Network section of the jdiameter config.
By the way, you shouldn't need to populate the destination host prior to submission, as jdiameter will route messages to an appropriate host for the destination realm, based on your config.
Hope this helps.
Hi Steve, Thank you very much for your reply. Sorry for missing that information, we defined that in another config file and were using them. So we'll remove the destination host from there and will use only the destination Realm. Let's hope this will solve the problem.
But I din't understand one point, how the initial connection is established with this configuration? It is working and we faced problem only in case of re-connection.
We developed a basic client based on the example client available on https://github.com/RestComm/jdiameter/blob/master/examples/guide1/src/main/java/org/example/client/ExampleClient.java
Regards.
Hi @arifulislam2007 ,
i am facing the problem of connecting to diameter server as from the start i get this error :
org.jdiameter.api.RouteException: Unable to find valid connection to peer[aaa://15.185.219.107:3868] in realm[cgrates.org]
my cgrates server is on this instance 15.185.219.107 and diameter agent is running on 127.0.0.1:3868
i am attaching the files can you please point out what i am missing ?
Hi, Sorry for duplicating the issue from Mobicents Public Forum on Google groups (https://groups.google.com/forum/#!topic/mobicents-public/1xdTZ-E_t34)
We're using jDimaeter for Event Charging Direct Debiting purpose. Recently we faced a strange problem - sometimes we have fluctuations in the network connectivity and Diameter server becomes unavailable and peer connection is lost. But even after the connectivity is restored, our diameter stack is not reconnecting automatically. We're continuously getting the exception "org.jdiameter.api.RouteException: Unable to find valid connection to peer" in our log file but Diameter server is reachable from the client server. Once we restart the application, the connectivity is restored and application starts working normally again.
Can anyone please suggest if this is a bug or some configuration mistake?
Below is my diameter configuration: `