<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
<br>
just an idea, as i had similar issues in the past (not opensips
related). Did you try example.com or your own domain? Did you try
other domains also?<br>
<br>
Maybe it has something to do with the certificate e.g.
intermediate certificate missing or something like that...? I
would recommend testing with another https url to see if this
happens only for this domain/url. It might help to narrow down the
problem.<br>
<br>
<br>
BR<br>
<br>
Max M.<br>
<br>
<br>
On 13.03.2017 13:44, Liviu Chircu wrote:<br>
</div>
<blockquote
cite="mid:85ad1676-dec6-90dd-5ee8-3a7b0e78467c@opensips.org"
type="cite">Hi,
<br>
<br>
I've moved the ticket over to GitHub, and Iposted a suggestion on
how to make progress[1]
<br>
<br>
Cheers,
<br>
<br>
[1]:
<a class="moz-txt-link-freetext" href="https://github.com/OpenSIPS/opensips/issues/1072#issuecomment-286091628">https://github.com/OpenSIPS/opensips/issues/1072#issuecomment-286091628</a>
<br>
<br>
Liviu Chircu
<br>
OpenSIPS Developer
<br>
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
<br>
<br>
OpenSIPS Summit May 2017 Amsterdam
<br>
<a class="moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2017Amsterdam.html">http://www.opensips.org/events/Summit-2017Amsterdam.html</a>
<br>
<br>
On 10.03.2017 21:18, Ramachandran, Agalya (Contractor) wrote:
<br>
<blockquote type="cite">
<br>
Hi Liviu,
<br>
<br>
I tried the following and my observations for the same.
<br>
<br>
1)Compiled and installed OpenSIPS of 2.2.3 code(no other patches
applied).
<br>
<br>
2)async(rest_get("*https*://example.com"
<a class="moz-txt-link-rfc2396E" href="https://example.com"><https://example.com></a>, "$var(body)"),
resume_route);ècrashes on my machine. Same dump as I shared
before.
<br>
<br>
3)async(rest_get("*http*://example.com"
<%22http:/example.com%22>, "$var(body)"),
resume_route);èNo crash observed.
<br>
<br>
4)Long back I tried to run a sample curl program that will reach
<a class="moz-txt-link-freetext" href="https://example.comèWorked">https://example.comèWorked</a> without any crash
<br>
<br>
5)I have also tried a sample curl program that interacts with
REST server (async, <a class="moz-txt-link-freetext" href="https://URL">https://URL</a>) èWorked on the same machine
without crash.
<br>
<br>
Only when the same payload is passed using OpenSIPS, and when
processing the response of it, OpenSIPS is being crashed.
<br>
<br>
6)Tried with async (rest_post(<a class="moz-txt-link-freetext" href="http://">http://</a> URL)); èNo crash
<br>
<br>
7)Tried with async(rest_post(<a class="moz-txt-link-freetext" href="https://URL">https://URL</a>)
<a class="moz-txt-link-rfc2396E" href="https://URL%29"><https://URL%29></a>); èCrash occurred
<br>
<br>
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)
<br>
<br>
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.
<br>
<br>
Let me know if you need more information on any of these.
<br>
<br>
Regards,
<br>
Agalya
<br>
<br>
*From:*Liviu Chircu [<a class="moz-txt-link-freetext" href="mailto:liviu@opensips.org">mailto:liviu@opensips.org</a>]
<br>
*Sent:* Thursday, March 09, 2017 5:06 AM
<br>
*To:* Ramachandran, Agalya (Contractor)
<a class="moz-txt-link-rfc2396E" href="mailto:Agalya_Ramachandran@comcast.com"><Agalya_Ramachandran@comcast.com></a>; OpenSIPS users mailling
list <a class="moz-txt-link-rfc2396E" href="mailto:users@lists.opensips.org"><users@lists.opensips.org></a>
<br>
*Subject:* Re: [OpenSIPS-Users] [RELEASE] OpenSIPS minor
releases: 2.2.3 and 1.11.10
<br>
<br>
No luck on a CentOS 7.2 system with libcurl 7.29.0 with async
rest_get. Some more questions:
<br>
<br>
- 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).
<br>
<br>
async(rest_get(<a class="moz-txt-link-rfc2396E" href="https://example.com">"https://example.com"</a>
<a class="moz-txt-link-rfc2396E" href="https://example.com"><https://example.com></a>, "$var(body)"), resume_route);
<br>
<br>
- 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
<br>
<br>
Regards,
<br>
<br>
Liviu Chircu
<br>
OpenSIPS Developer
<br>
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
<br>
OpenSIPS Summit May 2017 Amsterdam
<br>
<a class="moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2017Amsterdam.html">http://www.opensips.org/events/Summit-2017Amsterdam.html</a>
<br>
<br>
On 08.03.2017 18:05, Ramachandran, Agalya (Contractor) wrote:
<br>
<br>
Hi Liviu,
<br>
<br>
You got time to reproduce this issue? If you need any help
towards
<br>
it let me know.
<br>
<br>
Regards,
<br>
Agalya
<br>
<br>
</blockquote>
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<p><br>
</p>
<div class="moz-signature">-- <br>
Max Mühlbronner<br>
42com Telecommunication GmbH<br>
Straße der Pariser Kommune 12-16<br>
10243 Berlin<br>
E-Mail: <a class="moz-txt-link-abbreviated" href="mailto:mm@42com.com">mm@42com.com</a><br>
Web: <a class="moz-txt-link-abbreviated" href="http://www.42com.com">www.42com.com</a><br>
<br>
Firmenangaben/Company information:<br>
Handelsregister/Commercial register: Amtsgericht Berlin HRB 99071
B<br>
Umsatzsteuer-ID/VAT-ID: DE223812306<br>
Geschäftsführer/CEO: Thomas Reinig, Alexander Reinig<br>
<br>
Diese E-Mail enthält Informationen von 42com Telecommunication
GmbH. Diese sind möglicherweise vertraulich und ausschließlich für
den Adressaten bestimmt.<br>
Sollten Sie diese elektronische Nachricht irrtümlicherweise
erhalten haben, so informieren Sie uns bitte unverzüglich
telefonisch oder per E-Mail.<br>
This message is intended only for the use of the individual or
entity to which it is addressed. <br>
If you have received this message by mistake, please notify us
immediately.<br>
</div>
</body>
</html>