SMF Handle PDU Session Resource Setup Response Transfer failed: Align Bit is not zero

Hi @free5GC and everyone,

Could you pls help on my below issue.

When I do pdu session, looks like registration is successful (UE got IP), but there is an error on SMF handling NGAP ‘PDUSessionResourceSetupResponse’ message, as highlighted below.

NGAP log:

Here is my setup:

free5gc (including UPF) IP: 192.168.5.60
UE (gnbsim): 192.168.5.72

I also have a web server *172.16.1.2) connected to free5gc, as below

‘sudo ufw allow from any to 172.16.1.2 port 8080 proto tcp’ successfully ran on web server
on free5gc server, successful run ‘sudo ufw allow from 172.16.1.2 to any port 8080 proto tcp’

on free5gc side, I can open this page ‘http:172.16.1.2’

on the web server, below is successfully:
sudo ip route add 60.60.0.0/24 via 172.16.1.1

gnbsim (UE side log): (although it says ‘failed to GET http://172.16.1.2:8080/’, I guess the issue is on the NGAP message 'PDUSessionResourceSetupResponse, as this message is not received on gnbsim ue side

Item 2
Protocol IE: id-PDUSessionResourceSetupListSUReq (74)
IE length: 116
number of sequence: 1
PDU Session ID: 1
EPD: 5G Mobility Management (0x7e)
Security Header: 0x2
mac: 710437e1
seq: 2
***** Integrity check passed
EPD: 5G Mobility Management (0x7e)
Security Header: 0x0
Message Type: DL NAS Transport (0x68)
DL NAS Transport
Payload container type
Type: N1 SM Information(0x1)
Payload container
Length: 58
EPD: 5G Session Management (0x2e)
PDU Session Identity: 0x1
Procedure Transaction Identity: 0x1
Message Type: PDU Session Establishment Accept (0xc2)
PDU Session Establishment Accept
Selected PDU session type
PDU Session Type: IPv4(1)
Selected SSC mode
SSC Mode: SSC mode 1(1)
Authorized QoS rules
QoS rules
Length: 9
Qos rule 0
QoS rule identifier: 1
Length: 6
Rule operation code: Create new QoS rule(1)
the QoS rule is the default QoS rule
Number of packet filters: 1
packet filter 0
Packet filter identifier: 1
Packet filter direction: Bidirectional
Length of packet filter contents: 1
Packet filter content 0: Match-all type(1)
QoS rule precedence: 255
Segregation: Segregation not requested
QoS flow identifier: QFI9
Session AMBR
Length of Session-AMBR contents: 6
unit for Session-AMBR for downlink: 1Kbps(1)
Session-AMBR for downlink: 10000
unit for Session-AMBR for uplink: 1Kbps(1)
Session-AMBR for uplink: 10000
5GSM cause: 0x59
cause: PDU session type IPv4 only allowed(50)
PDU address: 0x29
Length: 5
PDU session type: IPv4(1)
PDU address information: 60.60.0.5
PDU session ID: 0x12
PDU session identity 2 value: 1
S-NSSAI
SST: 1
SD: 0x010203
PDU Session Resource Setup Request Transfer
Protocol IEs: 3 items
Item 0
Protocol IE: id-UL-NGU-UP-TNLInformation (139)
IE length: 10
dump: 01f0c0a8053c00000009
Transport Layer Address
bit string length: 32
address: 192.168.5.60
GTP TEID: 9
Item 1
Protocol IE: id-PDUSessionType (134)
IE length: 1
PDU Session Type: ipv4 (0)
Item 2
Protocol IE: id-QosFlowSetupRequestList (136)
IE length: 7
dump: 00000000093800
Item 0
Qos Flow Identifier: 0
Qos Flow Level Qos Prameters: not supported yet
[gnbsim]2021/02/08 16:48:34.365061 example.go:122: read: timeout
[gnbsim]2021/02/08 16:48:34.365250 example.go:90: write: len 35, info: &{Stream:0 SSN:4 Flags:0 _:0 PPID:1006632960 Context:0 TTL:0 TSN:1718609730 CumTSN:0 AssocID:7}
[gnbsim]2021/02/08 16:48:35.365588 example.go:300: GTPuIFname: eno1
[gnbsim]2021/02/08 16:48:35.365644 example.go:301: GTP-U Peer: 192.168.5.60
[gnbsim]2021/02/08 16:48:35.365662 example.go:302: GTP-U Peer TEID: 9
[gnbsim]2021/02/08 16:48:35.365693 example.go:303: GTP-U Local TEID: 2596996162
[gnbsim]2021/02/08 16:48:35.365708 example.go:304: QoS Flow ID: 0
[gnbsim]2021/02/08 16:48:35.365724 example.go:305: UE address: 60.60.0.5
test: gNB UDP local address: :2152
runUPlane
[gnbsim]2021/02/08 16:48:43.369463 example.go:558: failed to GET http://172.16.1.2:8080/: Get “http://172.16.1.2:8080/”: context deadline exceeded (Client.Timeout exceeded while awaiting headers)

UPF log:

this was an issue with gnbsim, pls close it, thanks.