[OpenSIPS-Users] [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10

Ramachandran, Agalya (Contractor) Agalya_Ramachandran at comcast.com
Mon Mar 13 14:05:00 EDT 2017


Hi Liviu,

I have followed the steps you have mentioned in the below link, and with the debug build, I have reproduced issue again.
Stack trace uploaded in the same URL.  Let me know if this helps. I am seeing out of bound with User-Agent header.

Tried to reproduce with async(rest_get("https://example.com"<https://example.com>, "$var(body)"), resume_route);

Regards,
Agalya
From: Liviu Chircu [mailto:liviu at opensips.org]
Sent: Monday, March 13, 2017 8:44 AM
To: Ramachandran, Agalya (Contractor) <Agalya_Ramachandran at comcast.com>; OpenSIPS users mailling list <users at lists.opensips.org>
Subject: Re: [OpenSIPS-Users] [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10


Hi,

I've moved the ticket over to GitHub, and I posted a suggestion on how to make progress [1]

Cheers,

[1]: https://github.com/OpenSIPS/opensips/issues/1072#issuecomment-286091628

Liviu Chircu

OpenSIPS Developer

http://www.opensips-solutions.com



OpenSIPS Summit May 2017 Amsterdam

  http://www.opensips.org/events/Summit-2017Amsterdam.html
On 10.03.2017 21:18, Ramachandran, Agalya (Contractor) wrote:
Hi Liviu,

I tried the following and my observations for the same.


1)      Compiled and installed OpenSIPS of 2.2.3 code(no other patches applied).

2)      async(rest_get("https://example.com"<https://example.com>, "$var(body)"), resume_route);==> crashes on my machine. Same dump as I shared before.

3)      async(rest_get("http://example.com"<%22http:/example.com%22>, "$var(body)"), resume_route);==> No crash observed.

4)      Long back I tried to run a sample curl program that will reach https://example.com ==> Worked without any crash

5)      I have also tried a sample curl program that interacts with REST server (async, https://URL) ==> Worked on the same machine without crash.

Only when the same payload is passed using OpenSIPS, and when processing the response of it, OpenSIPS is being crashed.

6)      Tried with async (rest_post(http:// URL)); ==> No crash

7)      Tried with async(rest_post(https://URL)<https://URL%29>); ==> Crash occurred

I am attaching here with the sample curl file,  where I try to reach example.com(getHttps.c) and sample curl program which will do the actual PUT request I want to do( asyncPutHttps.c)
With asyncPutHttps.c, whatever I do in the sample program, the same I do OpenSIPS too, but not crashing in my sample program and crash occurs only with OpenSIPS.

Let me know if you need more information on any of these.

Regards,
Agalya


From: Liviu Chircu [mailto:liviu at opensips.org]
Sent: Thursday, March 09, 2017 5:06 AM
To: Ramachandran, Agalya (Contractor) <Agalya_Ramachandran at comcast.com><mailto:Agalya_Ramachandran at comcast.com>; OpenSIPS users mailling list <users at lists.opensips.org><mailto:users at lists.opensips.org>
Subject: Re: [OpenSIPS-Users] [RELEASE] OpenSIPS minor releases: 2.2.3 and 1.11.10


No luck on a CentOS 7.2 system with libcurl 7.29.0 with async rest_get. Some more questions:

- does the following crash your system? If not, please detail the nature of your HTTP transfer that's causing the crash (server location and a .pcap of a successful curl would be nice).

   async(rest_get("https://example.com"<https://example.com>, "$var(body)"), resume_route);

- are you using any custom patches for rest_client? I suggest we only use the 2.2.3 tag code when debugging this issue, from now on

Regards,

Liviu Chircu

OpenSIPS Developer

http://www.opensips-solutions.com



OpenSIPS Summit May 2017 Amsterdam

  http://www.opensips.org/events/Summit-2017Amsterdam.html
On 08.03.2017 18:05, Ramachandran, Agalya (Contractor) wrote:
Hi Liviu,

You got time to reproduce this issue? If you need any help towards it let me know.

Regards,
Agalya


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170313/dff0518c/attachment-0001.html>


More information about the Users mailing list