Open AbdulBasitAlvi opened 4 years ago
I am seeing similar problem. When I run the server example directly from this repo, all works fine, CER/CEA is successful. However, if I create my own module (consisting of this exact server example) and import this repo as a module, CER/CEA fails with "no common capabilities" error. I will try to troubleshoot this further, however being total golang beginner not sure from where to start.
This is because if hopbyhop and endtoend are zero, random numbers are assigned to them. https://github.com/fiorix/go-diameter/blob/master/diam/message.go#L166
When creating a simple server to respond to CER/CEA messages, the CEA message generated has the wrong session ID which makes the client give an error saying "Unexpected (no scenario found) call with session-id [xxxxxxxxx]"
I am using seagul to generate client side traffic.
My server code: