-
Notifications
You must be signed in to change notification settings - Fork 601
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AMF to NRF #56
Comments
It seems that it cannot register itself to the NRF. Are you running NRF before running AMF? |
i run the nrf INFO[2020-06-01T16:12:11Z]/src/nrf/nrf.go:32 main.main() NRF version: 2020-03-31-01 NRF=app [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
[GIN-debug] GET / --> free5gc/src/nrf/AccessToken.Index (3 handlers) |
But when i run the other function I find the same problem : |
Are you running the AMF and NRF in the same machine, or in different ones? |
on the same machine |
Dear @Lahbak , For questions and support please use the official forum. The issue list of this repo is exclusively for bug reports and feature requests. Also, please provide the pcap file, config zip file, kernel version, whether you have installing gtp5g module, using docker, or other useful information for debugging so that we can check what the problem is caused by. Thanks a lot. |
We may move to forum and close this issue. |
…#56) [AMF] Feature: modify return data model of OAM API registered UE context
After running AMF
cd $GOPATH/src/free5gc
./bin/amf
it shows me this message at THE END :
INFO[2020-06-01T15:43:45Z]/src/amf/amf.go:25 main.main() amf AMF=app
INFO[2020-06-01T15:43:45Z]/src/amf/amf.go:26 main.main() AMF version: 2020-03-31-01 AMF=app
CommonConfig file: config/free5GC.conf
INFO[2020-06-01T15:43:45Z]/lib/nas/logger/logger.go:45 free5gc/lib/nas/logger.SetLogLevel() set log level : info NAS=message
INFO[2020-06-01T15:43:45Z]/lib/nas/logger/logger.go:50 free5gc/lib/nas/logger.SetReportCaller() set report call : true NAS=message
INFO[2020-06-01T15:43:45Z]/lib/fsm/logger/logger.go:43 free5gc/lib/fsm/logger.SetLogLevel() set log level : info fsm=fsm
INFO[2020-06-01T15:43:45Z]/lib/fsm/logger/logger.go:48 free5gc/lib/fsm/logger.SetReportCaller() set report call : true fsm=fsm
INFO[2020-06-01T15:43:45Z]/lib/ngap/logger/logger.go:43 free5gc/lib/ngap/logger.SetLogLevel() set log level : info NGAP=NGAP
INFO[2020-06-01T15:43:45Z]/lib/ngap/logger/logger.go:48 free5gc/lib/ngap/logger.SetReportCaller() set report call : true NGAP=NGAP
INFO[2020-06-01T15:43:45Z]/lib/Namf_Communication/logger/logger.go:43
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
.
.
.
[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-01T15:43:45Z]/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
INFO[2020-06-01T15:43:45Z]/home/release3/gofree5gc/release/src/free5gc/lib/ngap/ngapSctp/sctp.go:80 free5gc/lib/ngap/ngapSctp.Server() Listen on 127.0.0.1:38412 NGAP=NGAP
AMF register to NRF Error[Put https://localhost:29510/nnrf-nfm/v1/nf-instances/eca51c70-27c1-4530-bfc3-9e16e3475de5: dial tcp 127.0.0.1:29510: connect: connection refused]
How to resolve this problem please ?
The text was updated successfully, but these errors were encountered: