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

diam_sctp_client is crashing on connection #170

Closed
rudchenkos opened this issue Sep 14, 2022 · 0 comments
Closed

diam_sctp_client is crashing on connection #170

rudchenkos opened this issue Sep 14, 2022 · 0 comments

Comments

@rudchenkos
Copy link
Contributor

The example SCTP client is crashing with on a type cast when a connection is accepted:

$ ./main --addr=127.0.0.1:3868
2022/09/14 10:02:05 Connecting to SCTP server at 127.0.0.1:3868
panic: interface conversion: net.Conn is *diam.SCTPConn, not *sctp.SCTPConn

goroutine 1 [running]:
main.main()
        /home/sergii/devel/go-diameter/examples/diam_sctp_client/main.go:58 +0x792
rudchenkos added a commit to rudchenkos/go-diameter that referenced this issue Sep 14, 2022
The example SCTP client was crashing on connection:
> panic: interface conversion: net.Conn is *diam.SCTPConn, not *sctp.SCTPConn
fiorix pushed a commit that referenced this issue Mar 1, 2023
The example SCTP client was crashing on connection:
> panic: interface conversion: net.Conn is *diam.SCTPConn, not *sctp.SCTPConn
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