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

erGW error with gtplib 2.0.0 #25

Closed
gantonie opened this issue Mar 25, 2021 · 2 comments · Fixed by #26
Closed

erGW error with gtplib 2.0.0 #25

gantonie opened this issue Mar 25, 2021 · 2 comments · Fixed by #26
Assignees
Labels

Comments

@gantonie
Copy link

Hi,

I have the following error since I updated gtplib to 2.0.0. This happens when I try to connect a physical UE to the eNodeB. It tries to connect then fails, returning this error.

2021-03-23T15:46:56.266560+01:00 <0.1120.0> error: crasher: initial call: ergw_context:'-port_message/2-fun-0-'/0, pid: <0.1120.0>, registered_name: [], error: {undef,[{ppp_frame,decode,[<<128,33,1,1,0,16,129,6,0,0,0,0,131,6,0,0,0,0>>],[]},{gtp_packet,decode_protocol_opts,3,[{file,"/home/epc/ergw/_build/default/lib/gtplib/src/gtp_packet.erl"},{line,402}]},{gtp_packet,decode_protocol_config_opts,1,[{file,"/home/epc/ergw/_build/default/lib/gtplib/src/gtp_packet.erl"},{line,396}]},{gtp_packet,decode_v2_element,3,[{file,"/home/epc/ergw/_build/default/lib/gtplib/src/gtp_packet.erl"},{line,3324}]},{gtp_packet,decode_v2,2,[{file,"/home/epc/ergw/_build/default/lib/gtplib/src/gtp_packet.erl"},{line,559}]},{gtp_packet,decode_ies,2,[{file,"/home/epc/ergw/_build/default/lib/gtplib/src/gtp_packet.erl"},{line,60}]},{ergw_context,port_message_run,2,[{file,"/home/epc/ergw/src/ergw_context.erl"},{line,100}]},{ergw_context,port_message_h,2,[{file,"/home/epc/ergw/src/ergw_context.erl"},{line,85}]}]}, ancestors: [<0.1001.0>,ergw_socket_sup,ergw_sup,<0.982.0>], message_queue_len: 0, messages: [], links: [], dictionary: [], trap_exit: false, status: running, heap_size: 1598, stack_size: 28, reductions: 586; neighbours:

In my configuration, all the components except the eNodeB are placed in a virtual machine.
I use srsLTE for the eNodeB, the MME and HSS from Open5GS and erGW + UPG-VPP for the control and user planes.

I didn't have this problem with gtplib 1.3.0 and I still don't have this problem if I use an emulated UE with srsue.

@vkatsuba
Copy link
Contributor

vkatsuba commented Mar 25, 2021

Hi,

Looks like this is not a gtplib issue, I suppose this is issue in incorrect building of erGW after update lib inside of erGW. Try clean erGW and try again.

Regards,
--V

@RoadRunnr
Copy link
Member

commit db599b0 broke that. It removed the ppp dependency, it should have replaced it with ppplib.

@vkatsuba can you please prepare a change and add ppplib to src/gtplib.app.src.

@vkatsuba vkatsuba linked a pull request Mar 25, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants