Skip to content
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

UERAN container ping failed #32

Closed
minziran opened this issue Aug 16, 2021 · 8 comments
Closed

UERAN container ping failed #32

minziran opened this issue Aug 16, 2021 · 8 comments

Comments

@minziran
Copy link

I added the iptables command mentioned in https://githubmemory.com/repo/free5gc/free5gc-compose/issues/26?page=1

The ping still failed.

uerancontainer

Thank you for your time and help!

@minziran
Copy link
Author

@abousselmi I found 2 error messages.

  1. After running docker-compose up

nrf | 2021-08-17T16:11:14Z [INFO][NRF][MGMT] Create NF Profile

nrf | 2021-08-17T16:11:14Z [INFO][NRF][MGMT] Location header: http://nrf.free5gc.org:8000/nnrf-nfm/v1/nf-instances/15cbd9c6-1167-4224-9461-31d486851da6

nrf | 2021-08-17T16:11:14Z [INFO][NRF][GIN] | 201 | 10.100.200.14 | PUT | /nnrf-nfm/v1/nf-instances/15cbd9c6-1167-4224-9461-31d486851da6 |

nrf | 2021/08/17 16:11:14 http2: server connection error from 10.100.200.13:48868: connection error: PROTOCOL_ERROR

  1. After running sudo build/nr-ue -c config/free5gc-ue.yaml

sudo build/nr-ue -c config/free5gc-ue.yaml

Then I tried ping -I uesimtun0 127.0.0.1 still failed.

Thank you in advance.

@abousselmi
Copy link
Collaborator

The error message that you see in the NRF is caused by http2 library. According to http2 specs

Clients and servers MUST treat an invalid connection preface as a
connection error (Section 5.4.1) of type PROTOCOL_ERROR. A GOAWAY
frame (Section 6.8) MAY be omitted in this case, since an invalid
preface indicates that the peer is not using HTTP/2.

Who has the ip address 10.100.200.13 ?

@minziran
Copy link
Author

@abousselmi Thank you for reply. The Ip address is belong to UDM container.

@abousselmi
Copy link
Collaborator

Hi @minziran, this is weird, I'm not sure why UDM made a wrong request to the NRF. Can you confirm whether this PROTOCOL_ERROR is due to the ueransim container somehow or not ?

@minziran
Copy link
Author

minziran commented Sep 2, 2021

Hi @minziran, this is weird, I'm not sure why UDM made a wrong request to the NRF. Can you confirm whether this PROTOCOL_ERROR is due to the ueransim container somehow or not ?

Thank you so much! I upgrade UERANSIM and it works.

@abousselmi
Copy link
Collaborator

Could you please let us know which version of UERANSIM that you upgraded to ?

@minziran
Copy link
Author

Could you please let us know which version of UERANSIM that you upgraded to ?

git checkout v3.1.0

@free5gc-org
Copy link
Contributor

This issue has been mentioned on free5GC. There might be relevant details there:

https://forum.free5gc.org/t/free5gc-http2-server-connection-error-from-ip-connection-error-protocol-error/1316/3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants