boghe icon indicating copy to clipboard operation
boghe copied to clipboard

***[DOUBANGO ERROR]: function: "tnet_get_peerip_n_port()" file: ".\src\tnet_utils.c" line: "1216" MSG: TNET_GET_SOCKADDR has failed with status code: -1

Open gustavobsch opened this issue 10 years ago • 3 comments

What steps will reproduce the problem? 1.Build Boghe from source code 2.Enable IPSec from Options tab 3.Try to Register / Sign In

What is the expected output? What do you see instead? After receiving 200OK from P-CSCF, I expect Boghe to complete registration process, instead, it does not act upon the 200OK.

2016-01-12 11:30:07,959 ERROR [1] BogheCore.Services.Impl.SipService:1078 - ***[DOUBANGO ERROR]: function: "tnet_get_peerip_n_port()" file: ".\src\tnet_utils.c" line: "1216" MSG: TNET_GET_SOCKADDR has failed with status code: -1

2016-01-12 11:30:07,960 INFO [6] BogheCore.Services.Impl.SipService:675 - OnStackEvent (Stack started) 2016-01-12 11:30:07,965 INFO [6] BogheCore.Services.Impl.SipService:502 - OnDialogEvent (Dialog connecting) 2016-01-12 11:30:07,968 INFO [6] BogheCore.Services.Impl.SipService:502 - OnDialogEvent ((un)REGISTER request successfully sent.) 2016-01-12 11:30:08,497 INFO [6] BogheCore.Services.Impl.SipService:502 - OnDialogEvent ((un)REGISTER request successfully sent.) 2016-01-12 11:30:10,409 DEBUG [5] BogheCore.Services.Impl.XmlConfigurationService:270 - Saving configuration... 2016-01-12 11:30:40,497 INFO [6] BogheCore.Services.Impl.SipService:502 - OnDialogEvent (Transport error.) 2016-01-12 11:30:40,498 INFO [6] BogheCore.Services.Impl.SipService:502 - OnDialogEvent (Dialog terminated) 2016-01-12 11:30:40,498 INFO [6] BogheCore.Services.Impl.SipService:602 - OnDialogEvent (Unregistered) 2016-01-12 11:30:40,500 INFO [6] BogheCore.Services.Impl.SipService:675 - OnStackEvent (Stack stopping) 2016-01-12 11:30:40,501 INFO [6] BogheCore.Services.Impl.SipService:675 - OnStackEvent (Stack stopped)

What version of the product are you using? On what operating system? Windows 7/8 Boghe v2.0.201.1317, Doubango branch 2.0

Please provide any additional information below.

I confirmed the SA's are being installed into the OS, I've tried all auth and encryption protocols combinations.

In the attached PCAP it can be seen P-CSCF replies the REGISTER with a 200OK on packet # 18. boghe_ipsec.zip

gustavobsch avatar Jan 12 '16 15:01 gustavobsch

Hi Doubango,

Can you look into this real quick? I just need confirmation that the issue lies on the client and not my P-CSCF.

Thanks

gustavobsch avatar Jan 16 '16 22:01 gustavobsch

Anything?

gustavobsch avatar Feb 06 '16 21:02 gustavobsch

same error here when i try to register new account

Mancy avatar May 26 '16 01:05 Mancy