<div dir="ltr">Hi,<div><br></div><div>I'm encountering an error when using DIAMETER over SCTP.</div><div><br></div><div>I turned on dbg tracing, and this is what I see.</div><div><br></div><div><div>(<0.527.0>) call diameter_sctp:send(10,Bin,{transport,<0.526.0>,accept,#Port<0.10834>,96747,undefined,{16,10},2})</div>


<div>(<0.527.0>) call diameter_sctp:send(#Port<0.10834>,96747,10,Bin)</div><div>(<0.527.0>) call diameter_sctp:x({send,einval})</div><div>(<0.527.0>) exception_from {diameter_sctp,x,1} {exit,{shutdown,{send,einval}}}</div>


<div>(<0.527.0>) exception_from {diameter_sctp,send,4} {exit,{shutdown,{send,einval}}}</div><div>(<0.527.0>) exception_from {diameter_sctp,send,3} {exit,{shutdown,{send,einval}}}</div><div>(<0.527.0>) exception_from {diameter_sctp,send,2} {exit,{shutdown,{send,einval}}}</div>


<div>(<0.527.0>) exception_from {diameter_sctp,transition,2} {exit,{shutdown,{send,einval}}}</div><div>(<0.527.0>) exception_from {diameter_sctp,t,2} {exit,{shutdown,{send,einval}}}</div><div>(<0.527.0>) exception_from {diameter_sctp,handle_info,2} {exit,{shutdown,{send,einval}}}</div>


<div>(<0.527.0>) call diameter_sctp:terminate({shutdown,{send,einval}},{transport,<0.526.0>,accept,#Port<0.10834>,96747,undefined,{16,10},2})</div><div>(<0.527.0>) call diameter_sctp:close(#Port<0.10834>,96747)</div>


<div>(<0.527.0>) returned from diameter_sctp:close/2 -> ok</div><div>(<0.527.0>) returned from diameter_sctp:terminate/2 -> ok</div><div>(<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,</div>


</div><div><br></div><div>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?</div>


<div><br></div><div>Thanks,</div><div>Sharmila</div><div><br></div></div>