[erlang-questions] diameter_sctp problem

Sharmila Pillai pillai.sharmila@REDACTED
Tue Jan 21 10:21:24 CET 2014


Hi,

I'm encountering an error when using DIAMETER over SCTP.

I turned on dbg tracing, and this is what I see.

(<0.527.0>) call
diameter_sctp:send(10,Bin,{transport,<0.526.0>,accept,#Port<0.10834>,96747,undefined,{16,10},2})
(<0.527.0>) call diameter_sctp:send(#Port<0.10834>,96747,10,Bin)
(<0.527.0>) call diameter_sctp:x({send,einval})
(<0.527.0>) exception_from {diameter_sctp,x,1}
{exit,{shutdown,{send,einval}}}
(<0.527.0>) exception_from {diameter_sctp,send,4}
{exit,{shutdown,{send,einval}}}
(<0.527.0>) exception_from {diameter_sctp,send,3}
{exit,{shutdown,{send,einval}}}
(<0.527.0>) exception_from {diameter_sctp,send,2}
{exit,{shutdown,{send,einval}}}
(<0.527.0>) exception_from {diameter_sctp,transition,2}
{exit,{shutdown,{send,einval}}}
(<0.527.0>) exception_from {diameter_sctp,t,2}
{exit,{shutdown,{send,einval}}}
(<0.527.0>) exception_from {diameter_sctp,handle_info,2}
{exit,{shutdown,{send,einval}}}
(<0.527.0>) call
diameter_sctp:terminate({shutdown,{send,einval}},{transport,<0.526.0>,accept,#Port<0.10834>,96747,undefined,{16,10},2})
(<0.527.0>) call diameter_sctp:close(#Port<0.10834>,96747)
(<0.527.0>) returned from diameter_sctp:close/2 -> ok
(<0.527.0>) returned from diameter_sctp:terminate/2 -> ok
(<0.315.0>) call
diameter_sctp:handle_info({'DOWN',#Ref<0.0.0.47966>,process,<0.527.0>,{shutdown,{send,einval}}},{listener,#Ref<0.0.0.1361>,#Port<0.4307>,2,786532,

I'm not sure why {error, einval} is being returned when a response is being
sent on the SCTP connection. If I look at the packet capture, it looks like
an SCTP SHUTDOWN is being sent back. Any pointers please?

Thanks,
Sharmila
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140121/162403d1/attachment.htm>


More information about the erlang-questions mailing list