With latest v3.0.5 free5gc, unknown 'allowed S-NSSAI' in 'registration accept' message and free5gc continues sending 'registration accept' with rejected S-NSSAI IE

@free5GC, would you pls help on an issue, thanks a lot!

UE: huawei mate 30 5G (a very typical 5G phone and it’s very commonly used)

with below NSSAI setting on gNB side:
sst=1
sd=0

when UE does registration request, free5gc keeps on sending ‘registration accept’ and in ‘registration accept’ there is below IE ‘rejected S-NSSAI’:

in my amfcfg.yaml, smfcfg.yaml, and nssfcfg.yaml, I have sst/st: 1/0 and I don’t have sst/sd: 1/65501 (65501 is Dec, binary is 010203) setting, so don’t know how come the below allowed S-NSSAI come from:

pcap log:
416-log11.pcap (2.1 MB)

amfcfg.yaml (4.4 KB) nssfcfg.yaml (22.7 KB) smfcfg.yaml (4.0 KB)

Hi chliny2016,
The S-NSSAI in config yaml file should be same as UE’s S-NSSAI in database (set by webconsole) and S-NSSAI of UE itself.
If they are different, Rejected NSSAI will happen.