i try to ping 192.188.2.3 and it is not working
for webconsole for dashboard part i find this message :
Real Time Status
Fetch Registered UE Request fail
What should i do to make this test sucessful ?
Thank you a lot for your support
i try to ping 192.188.2.3 and it is not working
for webconsole for dashboard part i find this message :
What should i do to make this test sucessful ?
Thank you a lot for your support
We’re not quite understand. Can you describe your problem with more details?
Hi firstly when I run AMF
INFO[2020-06-14T10:27:11Z]/src/amf/amf.go:25 main.main() amf AMF=app
INFO[2020-06-14T10:27:11Z]/src/amf/amf.go:26 main.main() AMF version: 2020-03-31-01 AMF=app
CommonConfig file: config/free5GC.conf
INFO[2020-06-14T10:27:11Z]/lib/nas/logger/logger.go:45 free5gc/lib/nas/logger.SetLogLevel() set log level : info NAS=message
INFO[2020-06-14T10:27:11Z]/lib/nas/logger/logger.go:50 free5gc/lib/nas/logger.SetReportCaller() set report call : true NAS=message
INFO[2020-06-14T10:27:11Z]/lib/fsm/logger/logger.go:43 free5gc/lib/fsm/logger.SetLogLevel() set log level : info fsm=fsm
INFO[2020-06-14T10:27:11Z]/lib/fsm/logger/logger.go:48 free5gc/lib/fsm/logger.SetReportCaller() set report call : true fsm=fsm
INFO[2020-06-14T10:27:11Z]/lib/ngap/logger/logger.go:43 free5gc/lib/ngap/logger.SetLogLevel() set log level : info NGAP=NGAP
INFO[2020-06-14T10:27:11Z]/lib/ngap/logger/logger.go:48 free5gc/lib/ngap/logger.SetReportCaller() set report call : true NGAP=NGAP
INFO[2020-06-14T10:27:11Z]/lib/Namf_Communication/logger/logger.go:43 free5gc/lib/Namf_Communication/logger.SetLogLevel() set log level : info Namf=Comm
INFO[2020-06-14T10:27:11Z]/lib/Namf_Communication/logger/logger.go:48 free5gc/lib/Namf_Communication/logger.SetReportCaller() set report call : true Namf=Comm
INFO[2020-06-14T10:27:11Z]/lib/Namf_EventExposure/logger/logger.go:43 free5gc/lib/Namf_EventExposure/logger.SetLogLevel() set log level : info Namf=Event
INFO[2020-06-14T10:27:11Z]/lib/Namf_EventExposure/logger/logger.go:48 free5gc/lib/Namf_EventExposure/logger.SetReportCaller() set report call : true Namf=Event
INFO[2020-06-14T10:27:11Z]/lib/Nsmf_PDUSession/logger/logger.go:43 free5gc/lib/Nsmf_PDUSession/logger.SetLogLevel() set log level : info Nsmf=PDUSession
INFO[2020-06-14T10:27:11Z]/lib/Nsmf_PDUSession/logger/logger.go:48 free5gc/lib/Nsmf_PDUSession/logger.SetReportCaller() set report call : true Nsmf=PDUSession
INFO[2020-06-14T10:27:11Z]/lib/Nudr_DataRepository/logger/logger.go:43 free5gc/lib/Nudr_DataRepository/logger.SetLogLevel() set log level : info Nudr=DataRepository
INFO[2020-06-14T10:27:11Z]/lib/Nudr_DataRepository/logger/logger.go:48 free5gc/lib/Nudr_DataRepository/logger.SetReportCaller() set report call : true Nudr=DataRepository
INFO[2020-06-14T10:27:11Z]/lib/openapi/logger/logger.go:43 free5gc/lib/openapi/logger.SetLogLevel() set log level : info OpenApi=OpenApi
INFO[2020-06-14T10:27:11Z]/lib/openapi/logger/logger.go:48 free5gc/lib/openapi/logger.SetReportCaller() set report call : true OpenApi=OpenApi
INFO[2020-06-14T10:27:11Z] set log level : info aper=aper
INFO[2020-06-14T10:27:11Z] set report call : true aper=aper
INFO[2020-06-14T10:27:11Z]/lib/CommonConsumerTestData/logger/logger.go:46 free5gc/lib/CommonConsumerTestData/logger.SetLogLevel() set log level : info CommonTest=comm
INFO[2020-06-14T10:27:11Z]/lib/CommonConsumerTestData/logger/logger.go:51 free5gc/lib/CommonConsumerTestData/logger.SetReportCaller() set report call : true CommonTest=comm
INFO[2020-06-14T10:27:12Z]/src/amf/factory/factory.go:35 free5gc/src/amf/factory.InitConfigFactory() Successfully initialize configuration config/amfcfg.conf AMF=init
INFO[2020-06-14T10:27:12Z]/src/amf/amf_service/amf_init.go:83 free5gc/src/amf/amf_service.(*AMF).Initialize() AMF debug level(string): info AMF=init
INFO[2020-06-14T10:27:12Z]/src/amf/amf_service/amf_init.go:108 free5gc/src/amf/amf_service.(*AMF).Start() Server started AMF=init
[GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- using env: export GIN_MODE=release
- using code: gin.SetMode(gin.ReleaseMode)
[GIN-debug] GET /namf-callback/v1/ --> free5gc/src/amf/HttpCallback.Index (4 handlers)
[GIN-debug] POST /namf-callback/v1/smContextStatus/:guti/:pduSessionId --> free5gc/src/amf/HttpCallback.SmContextStatusNotify (4 handlers)
[GIN-debug] POST /namf-callback/v1/am-policy/:polAssoId/update --> free5gc/src/amf/HttpCallback.AmPolicyControlUpdateNotifyUpdate (4 handlers)
[GIN-debug] POST /namf-callback/v1/am-policy/:polAssoId/terminate --> free5gc/src/amf/HttpCallback.AmPolicyControlUpdateNotifyTerminate (4 handlers)
[GIN-debug] GET /namf-oam/v1/ --> free5gc/src/amf/OAM.Index (4 handlers)
[GIN-debug] GET /namf-oam/v1/registered-ue-context --> free5gc/src/amf/OAM.RegisteredUEContext (4 handlers)
[GIN-debug] GET /namf-oam/v1/registered-ue-context/:supi --> free5gc/src/amf/OAM.RegisteredUEContext (4 handlers)
[GIN-debug] GET /namf-comm/v1/ --> free5gc/src/amf/Communication.Index (4 handlers)
[GIN-debug] PUT /namf-comm/v1/subscriptions/:subscriptionId --> free5gc/src/amf/Communication.AMFStatusChangeSubscribeModfy (4 handlers)
[GIN-debug] DELETE /namf-comm/v1/subscriptions/:subscriptionId --> free5gc/src/amf/Communication.AMFStatusChangeUnSubscribe (4 handlers)
[GIN-debug] PUT /namf-comm/v1/ue-contexts/:ueContextId --> free5gc/src/amf/Communication.CreateUEContext (4 handlers)
[GIN-debug] POST /namf-comm/v1/ue-contexts/:ueContextId/assign-ebi --> free5gc/src/amf/Communication.EBIAssignment (4 handlers)
[GIN-debug] POST /namf-comm/v1/ue-contexts/:ueContextId/transfer-update --> free5gc/src/amf/Communication.RegistrationStatusUpdate (4 handlers)
[GIN-debug] POST /namf-comm/v1/ue-contexts/:ueContextId/release --> free5gc/src/amf/Communication.ReleaseUEContext (4 handlers)
[GIN-debug] POST /namf-comm/v1/ue-contexts/:ueContextId/transfer --> free5gc/src/amf/Communication.UEContextTransfer (4 handlers)
[GIN-debug] DELETE /namf-comm/v1/ue-contexts/:ueContextId/n1-n2-messages/subscriptions/:subscriptionId --> free5gc/src/amf/Communication.N1N2MessageUnSubscribe (4 handlers)
[GIN-debug] POST /namf-comm/v1/ue-contexts/:ueContextId/n1-n2-messages --> free5gc/src/amf/Communication.N1N2MessageTransfer (4 handlers)
[GIN-debug] GET /namf-comm/v1/ue-contexts/:ueContextId/n1-n2-messages/:n1N2MessageId --> free5gc/src/amf/Communication.N1N2MessageTransferStatus (4 handlers)
[GIN-debug] POST /namf-comm/v1/ue-contexts/:ueContextId/n1-n2-messages/subscriptions --> free5gc/src/amf/Communication.N1N2MessageSubscribe (4 handlers)
[GIN-debug] DELETE /namf-comm/v1/non-ue-n2-messages/subscriptions/:n2NotifySubscriptionId --> free5gc/src/amf/Communication.NonUeN2InfoUnSubscribe (4 handlers)
[GIN-debug] POST /namf-comm/v1/non-ue-n2-messages/transfer --> free5gc/src/amf/Communication.NonUeN2MessageTransfer (4 handlers)
[GIN-debug] POST /namf-comm/v1/non-ue-n2-messages/subscriptions --> free5gc/src/amf/Communication.NonUeN2InfoSubscribe (4 handlers)
[GIN-debug] POST /namf-comm/v1/subscriptions --> free5gc/src/amf/Communication.AMFStatusChangeSubscribe (4 handlers)
[GIN-debug] GET /namf-evts/v1/ --> free5gc/src/amf/EventExposure.Index (4 handlers)
[GIN-debug] DELETE /namf-evts/v1/subscriptions/:subscriptionId --> free5gc/src/amf/EventExposure.DeleteSubscription (4 handlers)
[GIN-debug] PATCH /namf-evts/v1/subscriptions/:subscriptionId --> free5gc/src/amf/EventExposure.ModifySubscription (4 handlers)
[GIN-debug] POST /namf-evts/v1/subscriptions --> free5gc/src/amf/EventExposure.CreateSubscription (4 handlers)
[GIN-debug] GET /namf-mt/v1/ --> free5gc/src/amf/MT.Index (4 handlers)
[GIN-debug] GET /namf-mt/v1/ue-contexts/:ueContextId --> free5gc/src/amf/MT.ProvideDomainSelectionInfo (4 handlers)
[GIN-debug] POST /namf-mt/v1/ue-contexts/:ueContextId/ue-reachind --> free5gc/src/amf/MT.EnableUeReachability (4 handlers)
[GIN-debug] GET /namf-loc/v1/ --> free5gc/src/amf/Location.Index (4 handlers)
[GIN-debug] POST /namf-loc/v1/:ueContextId/provide-loc-info --> free5gc/src/amf/Location.ProvideLocationInfo (4 handlers)
[GIN-debug] POST /namf-loc/v1/:ueContextId/provide-pos-info --> free5gc/src/amf/Location.ProvidePositioningInfo (4 handlers)
INFO[2020-06-14T10:27:12Z]/src/amf/amf_util/initContext.go:14 free5gc/src/amf/amf_util.InitAmfContext() amfconfig Info: Version[1.0.0] Description[AMF initial local configuration] AMF=Util
**ERRO[2020-06-14T10:27:12Z]/home/release3/gofree5gc/release/src/free5gc/lib/ngap/ngapSctp/sctp.go:78 free5gc/lib/ngap/ngapSctp.Server() failed to listen: address already in use NGAP=NGAP**
**panic: runtime error: invalid memory address or nil pointer dereference**
**[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xb0a0c6]**
goroutine 1 [running]:
git.cs.nctu.edu.tw/calee/sctp.(*SCTPListener).Addr(...)
/home/release3/go/src/git.cs.nctu.edu.tw/calee/sctp/sctp.go:636
free5gc/lib/ngap/ngapSctp.Server(0xc00070cc80, 0x9, 0xc00070d6e0)
/home/release3/gofree5gc/release/src/free5gc/lib/ngap/ngapSctp/sctp.go:80 +0x366
free5gc/src/amf/amf_ngap/ngap_sctp.Server(0xc00070cc80, 0x9, 0xc000133938)
/root/go/src/free5gc/src/amf/amf_ngap/ngap_sctp/amf_ngap_sctp.go:27 +0x39
free5gc/src/amf/amf_service.(*AMF).Start(0x169d3e0)
/root/go/src/free5gc/src/amf/amf_service/amf_init.go:141 +0x460
main.action(0xc0000c31e0)
/root/go/src/free5gc/src/amf/amf.go:38 +0x8e
github.com/urfave/cli.HandleAction(0xcb63e0, 0xe6c0b0, 0xc0000c31e0, 0xc0000659e0, 0x0)
/root/go/src/github.com/urfave/cli/app.go:492 +0x7c
github.com/urfave/cli.(*App).Run(0xc000700000, 0xc000020270, 0x1, 0x1, 0x0, 0x0)
/root/go/src/github.com/urfave/cli/app.go:264 +0x590
main.main()
/root/go/src/free5gc/src/amf/amf.go:30 +0x217
Then when i show smf file config as an example we have :
up_nodes:
gNB1:
type: AN
an_ip: **192.188.2.3**
ANUPF:
type: UPF
node_id: 127.0.0.3
up_resource_ip: **192.188.2.2**
IUPF1:
type: UPF
node_id: 127.0.0.4
up_resource_ip: **192.188.2.4**
BranchingUPF1:
type: UPF
node_id: 127.0.0.5
up_resource_ip: **192.188.2.5**
BranchingUPF2:
type: UPF
node_id: 127.0.0.6
up_resource_ip: **192.188.2.6**
AnchorUPF1:
type: UPF
node_id: 127.0.0.7
up_resource_ip: 192.188.2.7
AnchorUPF2:
type: UPF
node_id: 127.0.0.8
up_resource_ip: **192.188.2.8**
AnchorUPF3:
type: UPF
node_id: 127.0.0.9
up_resource_ip: **192.188.2.9**
AnchorUPF4:
type: UPF
node_id: 127.0.0.10
up_resource_ip: **192.188.2.10**
AnchorUPF5:
type: UPF
node_id: 127.0.0.11
up_resource_ip: **192.188.2.11**
ANUPF2:
type: UPF
node_id: 127.0.0.12
up_resource_ip: **192.188.2.12**
If 192.188.0.0/16 is public address range then when i try to ping 192.188.2.2
root@free5g:~/go/src/free5gc/config# ping 192.188.2.2
PING 192.188.2.2 (192.188.2.2) 56(84) bytes of data.
64 bytes from 192.188.2.2: icmp_seq=1 ttl=46 time=97.0 ms
64 bytes from 192.188.2.2: icmp_seq=2 ttl=46 time=97.3 ms
It work BUT if i do ping 192.188.2.3 or 192.188.2.4 (.5.6.7) it doesn’t work
Also when I try to capture traffic by wireshark it doesn’t show me the http2 protocol and in webconsole it fail to Registered UE Request
THANK YOU SO MUCH FOR YOUR SUPPORT
For the first problem, it is same as the issue
For this problem, why are you except to ping an public IP that are not control by you and expect to be working?
You can try to capture the interface “any” because we do not know which interface are you used to bind at.
when i do Test Registration, it show me this also :
goroutine 54 [chan receive]:
free5gc/src/nssf/nssf_handler.Handle()
/root/go/src/free5gc/src/nssf/nssf_handler/handler.go:32 +0x66
created by free5gc/src/nssf/nssf_service.(*NSSF).Start
/root/go/src/free5gc/src/nssf/nssf_service/nssf_init.go:111 +0xd2
rax 0xca
rbx 0x22e7d40
rcx 0x460833
rdx 0x0
rdi 0x22e7e88
rsi 0x80
rbp 0x7ffca373e6f8
rsp 0x7ffca373e6b0
r8 0x0
r9 0x0
r10 0x0
r11 0x286
r12 0x24
r13 0xfe
r14 0x17d9c54
r15 0x0
rip 0x460831
rflags 0x286
cs 0x33
fs 0x0
gs 0x0
*** Test killed with quit: ran too long (10m0s).
exit status 2
FAIL free5gc/src/test 600.599s
What do you think about this ?
Thank you again