Comments (7)
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.
from free5gc.
It seems that it cannot register itself to the NRF. Are you running NRF before running AMF?
Or it can be a configuration problem, where NRF is not running at 127.0.0.1
as is specified in the config file.
from free5gc.
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
CommonConfig file: config/free5GC.conf
INFO[2020-06-01T16:12:11Z]/lib/nas/logger/logger.go:45 free5gc/lib/nas/logger.SetLogLevel() set log level : info NAS=message
INFO[2020-06-01T16:12:11Z]/lib/nas/logger/logger.go:50 free5gc/lib/nas/logger.SetReportCaller() set report call : true NAS=message
INFO[2020-06-01T16:12:11Z]/lib/fsm/logger/logger.go:43 free5gc/lib/fsm/logger.SetLogLevel() set log level : info fsm=fsm
INFO[2020-06-01T16:12:11Z]/lib/fsm/logger/logger.go:48 free5gc/lib/fsm/logger.SetReportCaller() set report call : true fsm=fsm
INFO[2020-06-01T16:12:11Z]/lib/ngap/logger/logger.go:43 free5gc/lib/ngap/logger.SetLogLevel() set log level : info NGAP=NGAP
INFO[2020-06-01T16:12:11Z]/lib/ngap/logger/logger.go:48 free5gc/lib/ngap/logger.SetReportCaller() set report call : true NGAP=NGAP
INFO[2020-06-01T16:12:11Z]/lib/Namf_Communication/logger/logger.go:43 free5gc/lib/Namf_Communication/logger.SetLogLevel() set log level : info Namf=Comm
INFO[2020-06-01T16:12:11Z]/lib/Namf_Communication/logger/logger.go:48 free5gc/lib/Namf_Communication/logger.SetReportCaller() set report call : true Namf=Comm
INFO[2020-06-01T16:12:11Z]/lib/Namf_EventExposure/logger/logger.go:43 free5gc/lib/Namf_EventExposure/logger.SetLogLevel() set log level : info Namf=Event
INFO[2020-06-01T16:12:11Z]/lib/Namf_EventExposure/logger/logger.go:48 free5gc/lib/Namf_EventExposure/logger.SetReportCaller() set report call : true Namf=Event
INFO[2020-06-01T16:12:11Z]/lib/Nsmf_PDUSession/logger/logger.go:43 free5gc/lib/Nsmf_PDUSession/logger.SetLogLevel() set log level : info Nsmf=PDUSession
INFO[2020-06-01T16:12:11Z]/lib/Nsmf_PDUSession/logger/logger.go:48 free5gc/lib/Nsmf_PDUSession/logger.SetReportCaller() set report call : true Nsmf=PDUSession
INFO[2020-06-01T16:12:11Z]/lib/Nudr_DataRepository/logger/logger.go:43 free5gc/lib/Nudr_DataRepository/logger.SetLogLevel() set log level : info Nudr=DataRepository
INFO[2020-06-01T16:12:11Z]/lib/Nudr_DataRepository/logger/logger.go:48 free5gc/lib/Nudr_DataRepository/logger.SetReportCaller() set report call : true Nudr=DataRepository
INFO[2020-06-01T16:12:11Z]/lib/openapi/logger/logger.go:43 free5gc/lib/openapi/logger.SetLogLevel() set log level : info OpenApi=OpenApi
INFO[2020-06-01T16:12:11Z]/lib/openapi/logger/logger.go:48 free5gc/lib/openapi/logger.SetReportCaller() set report call : true OpenApi=OpenApi
INFO[2020-06-01T16:12:11Z] set log level : info aper=aper
INFO[2020-06-01T16:12:11Z] set report call : true aper=aper
INFO[2020-06-01T16:12:11Z]/lib/CommonConsumerTestData/logger/logger.go:46 free5gc/lib/CommonConsumerTestData/logger.SetLogLevel() set log level : info CommonTest=comm
INFO[2020-06-01T16:12:11Z]/lib/CommonConsumerTestData/logger/logger.go:51 free5gc/lib/CommonConsumerTestData/logger.SetReportCaller() set report call : true CommonTest=comm
INFO[2020-06-01T16:12:11Z]/src/nrf/factory/factory.go:35 free5gc/src/nrf/factory.InitConfigFactory() Successfully initialize configuration config/nrfcfg.conf NRF=init
INFO[2020-06-01T16:12:11Z]/src/nrf/nrf_service/nrf_init.go:73 free5gc/src/nrf/nrf_service.(*NRF).Initialize() NRF debug level(string): info NRF=init
INFO[2020-06-01T16:12:11Z]/src/nrf/nrf_service/nrf_init.go:98 free5gc/src/nrf/nrf_service.(*NRF).Start() Server started NRF=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 / --> free5gc/src/nrf/AccessToken.Index (3 handlers)
[GIN-debug] POST /oauth2/token --> free5gc/src/nrf/AccessToken.AccessTokenRequest (3 handlers)
[GIN-debug] GET /nnrf-disc/v1/ --> free5gc/src/nrf/Discovery.Index (3 handlers)
[GIN-debug] GET /nnrf-disc/v1/nf-instances --> free5gc/src/nrf/Discovery.SearchNFInstances (3 handlers)
[GIN-debug] GET /nnrf-nfm/v1/ --> free5gc/src/nrf/Management.Index (3 handlers)
[GIN-debug] DELETE /nnrf-nfm/v1/nf-instances/:nfInstanceID --> free5gc/src/nrf/Management.DeregisterNFInstance (3 handlers)
[GIN-debug] GET /nnrf-nfm/v1/nf-instances/:nfInstanceID --> free5gc/src/nrf/Management.GetNFInstance (3 handlers)
[GIN-debug] PUT /nnrf-nfm/v1/nf-instances/:nfInstanceID --> free5gc/src/nrf/Management.RegisterNFInstance (3 handlers)
[GIN-debug] PATCH /nnrf-nfm/v1/nf-instances/:nfInstanceID --> free5gc/src/nrf/Management.UpdateNFInstance (3 handlers)
[GIN-debug] GET /nnrf-nfm/v1/nf-instances --> free5gc/src/nrf/Management.GetNFInstances (3 handlers)
[GIN-debug] DELETE /nnrf-nfm/v1/subscriptions/:subscriptionID --> free5gc/src/nrf/Management.RemoveSubscription (3 handlers)
[GIN-debug] PATCH /nnrf-nfm/v1/subscriptions/:subscriptionID --> free5gc/src/nrf/Management.UpdateSubscription (3 handlers)
[GIN-debug] POST /nnrf-nfm/v1/subscriptions --> free5gc/src/nrf/Management.CreateSubscription (3 handlers)
INFO[2020-06-01T16:12:11Z]/src/nrf/nrf_context/nrf_context.go:19 free5gc/src/nrf/nrf_context.InitNrfContext() nrfconfig Info: Version[1.0.0] Description[NRF initial local configuration] NRF=init
INFO[2020-06-01T16:12:11Z]/src/nrf/nrf_service/nrf_init.go:111 free5gc/src/nrf/nrf_service.(*NRF).Start() 127.0.0.1:29510 NRF=init
from free5gc.
But when i run the other function I find the same problem :
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]
from free5gc.
Are you running the AMF and NRF in the same machine, or in different ones?
from free5gc.
on the same machine
from free5gc.
We may move to forum and close this issue.
from free5gc.
Related Issues (20)
- [Bugs] AMF crashed when receving invalid NGAP messages HOT 1
- [Docs] Improvements to the Ubuntu vm install demo page
- [Docs] Update the Appendix F URLs HOT 3
- [Docs] Improve new subscriber webconsole instructions
- [Bugs]Amf crashed when failed to resolve the IP of ngap message , resulting in a null pointer reference. HOT 1
- [Bugs] Re-association starvation with 2 connected UPFs HOT 9
- How to broadcast wifi using 5g core network HOT 1
- [Bugs] UPF build error with go 1.21 HOT 2
- [Bugs] SMF startup failed with some staticPools value HOT 1
- [Question] UEIP&FTUP Options HOT 1
- [Docs] Update gtp5g version and add iptables troubleshooting steps HOT 1
- mongodb is not found HOT 4
- TestRegistration Failed HOT 30
- [Docs] Add information regarding MongoDB installation on Ubuntu Server 22.04 HOT 1
- [Docs] Update tested environment information and test URL on install page
- [Feat] Add a script to assist reloading the host configs after rebooting
- Establish Wi-Fi signal using non 3GPP access to connect 5G core network HOT 1
- About 2020-03-31-01 in upf directory HOT 2
- [Bugs] AMF crashed with malformed NAS packets from UE HOT 2
- [Bugs] In kernel 6.2, testing gtp5g with scripts for go-gtp5gnl, the ping fails after the script ends.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from free5gc.