AMF: SCTP read timeout after processing Create SM Context

I’m trying to run Registration test case but it fails at the stage after processing Create SM Context:

2021-06-07T00:59:11Z [DEBU][AMF][GMM][AMF_UE_NGAP_ID:1][SUPI:imsi-2089300000000] GmmMessageEvent at GMM State[Registered]
2021-06-07T00:59:11Z [INFO][AMF][GMM][AMF_UE_NGAP_ID:1][SUPI:imsi-2089300000000] Handle UL NAS Transport
2021-06-07T00:59:11Z [INFO][AMF][GMM][AMF_UE_NGAP_ID:1][SUPI:imsi-2089300000000] Transport 5GSM Message to SMF
2021-06-07T00:59:11Z [INFO][AMF][GMM][AMF_UE_NGAP_ID:1][SUPI:imsi-2089300000000] Select SMF [snssai: {Sst:1 Sd:010203}, dnn: internet]
2021-06-07T00:59:11Z [DEBU][AMF][GMM][AMF_UE_NGAP_ID:1][SUPI:imsi-2089300000000] Search SMF from NRF[http://free5gc-nrf-svc:29510]
2021-06-07T00:59:11Z [INFO][AMF][GMM][AMF_UE_NGAP_ID:1][SUPI:imsi-2089300000000] create smContext[pduSessionID: 10] Success
2021-06-07T00:59:13Z [DEBU][AMF][NGAP] SCTP read timeout
2021-06-07T00:59:15Z [DEBU][AMF][NGAP] SCTP read timeout
2021-06-07T00:59:17Z [DEBU][AMF][NGAP] SCTP read timeout
2021-06-07T00:59:19Z [DEBU][AMF][NGAP] SCTP read timeout
2021-06-07T00:59:21Z [DEBU][AMF][NGAP] SCTP read timeout
2021-06-07T00:59:23Z [DEBU][AMF][NGAP] SCTP read timeout

And test case keeps on waiting for PDU Session Resource Setup Request from AMF:

Security Header Type Integrity Protected With New 5g Nas Security Context
cmac value: 0x9627d12a
err <nil>
2021-06-07T00:59:10Z [INFO][NAS][Message] Encode ExtendedProtocolConfigurationOptions in EncodePDUSessionEstablishmentRequest
^C 

Any idea what is wrong/missing here?
PCAP attached here. FYI, this is with latest commit - b1172c3

temp.pcapng (67.8 KB)

@free5GC Any idea about this issue? Attaching the logs herewith. Appreciate your help, Thanks! amf_free5gc.txt (219.6 KB)

For me I see similar error , I am trying to run free5gc and UERANSIM , in free5gc side I see error as
2021-06-11T18:29:09Z [INFO][N3IWF][NGAP] [N3IWF] Handle NG Setup Response
ubuntu@free5gc:~/free5gc$ 2021-06-11T18:29:11Z [DEBU][AMF][NGAP] SCTP read timeout
2021-06-11T18:29:13Z [DEBU][AMF][NGAP] SCTP read timeout
2021-06-11T18:29:15Z [DEBU][AMF][NGAP] SCTP read timeout
2021-06-11T18:29:17Z [DEBU][AMF][NGAP] SCTP read timeout
2021-06-11T18:29:17Z [INFO][LIB][PFCP] Remove Request Transaction [1]
2021-06-11T18:29:19Z [DEBU][AMF][NGAP] SCTP read timeout
2021-06-11T18:29:21Z [DEBU][AMF][NGAP] SCTP read timeout
2021-06-11T18:29:23Z [DEBU][AMF][NGAP] SCTP read timeout
2021-06-11T18:29:25Z [DEBU][AMF][NGAP] SCTP read timeout
2021-06-11T18:29:27Z [DEBU][AMF][NGAP] SCTP read timeout

and on UERANSIM side its not able to make SCTP connection ,
^Cubuntu@ueransim:~/UERANSIM/config$ …/build/nr-gnb -c free5gc-gnb.yaml
UERANSIM v3.1.0
[2021-06-11 18:27:30.289] [sctp] [info] Trying to establish SCTP connection… (192.168.56.102:38412)
[2021-06-11 18:27:30.308] [sctp] [error] Connecting to 192.168.56.102:38412 failed. SCTP could not connect: Connection refused

I just reinstalled gtp5g and it worked for me ,
I mean first I uninstalled it and then again installed back .I am able to run both free5gc and UERANSIM successfully.

Thanks, @Sarfraj! Re-installing gtp5g module worked for me too.