go-diameter | Diameter stack and Base Protocol (RFC 6733) for the Go programming language | Networking library
kandi X-RAY | go-diameter Summary
kandi X-RAY | go-diameter Summary
Diameter stack and Base Protocol (RFC 6733) for the Go programming language
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of go-diameter
go-diameter Key Features
go-diameter Examples and Code Snippets
Community Discussions
Trending Discussions on go-diameter
QUESTION
To work with the diameter protocol, I use the library https://github.com/fiorix/go-diameter.
When I try to send CER (Capabilities-Exchange-Request) to the diameter-server, I get a failed Result-Code AVP: 5012
.
I think these are unspecified reasons. I don't have access to the server logs.
How to solve this error on the client side ?
Where do I start with the diagnostics?
ANSWER
Answered 2022-Jan-12 at 13:12Im not familiar with this library, however you can find all result-codes here: result-codes
5012 means:
DIAMETER_UNABLE_TO_COMPLY 5012 This error is returned when a request is rejected for unspecified reasons.
There are 2 options to your situation:
- There is some problem with your CER, so the Diameter node you are trying to reach is sending you back CEA with result-code 5012.
- The open source library you are trying to use do not let you send the CER and gives you a message with 5012 as a response to your CER.
To solve the issue:
- If your CER went to the network take a capture using wireshark/tcpdump and make sure you received CEA. You can look at your CER and check what is wrong with it (you can also send it here). Maybe your CER is not according to RFC 3588/6733?
- If the library do not let you send the CER look at the library log and see if you can spot any error. If you do see an error you can consult the guy who wrote the library.
QUESTION
I am writing a stats in a csv file for incoming diameter traffic in my golang server but the file contain a "" character at the start of rach row.
01.;34642222231118599998;21;6588283272|6588283272|300|0|46692|1582611861|,|2001|01.;34642222231118599998;21;6588283272|gytwocsdr.circles.asia|circles.asia|0|1|1582611861 ****01.;34642222231118599998;22;6588080153|6588080153|300|0|46692|1582611861|,|2001|01.;34642222231118599998;22;6588080153|gytwocsdr.circles.asia|circles.asia|0|1|1582611861 ****01.;34642222231118599998;23;6587508893|6587508893|300|0|46692|1582611861|,|2001|01.;34642222231118599998;23;6587508893|gytwocsdr.circles.asia|circles.asia|0|1|1582611861
Please guide me on how to fix this.
stats.go>>
...ANSWER
Answered 2020-Feb-08 at 12:44Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install go-diameter
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page