cURL cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1460 Longer Voice Message not being posted to Exchange Server with curl release version >=7.24 using SSL(https)

From: Prash Dush <pradush123_at_users.sf.net>
Date: Wed, 17 Dec 2014 20:15:53 +0000

Hi Daniel,

Below is information of my set up where this issue is reproducible, you can directly access this over internet

EXCHANGE SERVER Details :

You just need to RDC (Remote Desk Connection)
Computer : E-SERVER-2010.cloudapp.net:50602
UserName : testing\admin2010
Password : Exchange2010

After Login Open Internet Explorer and Just hit the Url : https://100.80.60.243/owa
Login with following User Details:
Domain\UserName : Dushyant
Password : Ecsbulab1
It will be user Mailbox opened for Dushyant

LINUX SERVER Details:
Now I do have one CentOS machine ,Login into it using Putty or SSH Client port 22
Hostname : E-SERVER-2010.cloudapp.net
UserName : rootacc
Password : Rootacc123

Go to path /home/rootacc

There are following folders:
[rootacc_at_vmCentos7 ~]$ ls -ltr
total 10024
-rwxrwxr-x. 1 rootacc rootacc 9115164 Dec 17 17:43 SampleClient
-rw-rw-r--. 1 rootacc rootacc 367754 Dec 17 19:23 libcurl.so.4_7.22
-rwxr-xr-x. 1 rootacc rootacc 407586 Dec 17 19:33 libcurl.so.4_7.39
-rw-rw-r--. 1 rootacc rootacc 367754 Dec 17 19:37 libcurl.so.4

You Just need to run the sampleclient . It will use libcurl.so.4 placed at path /home/rootacc

(1) First replace libcurl.so.4 with libcurl.so.4_7.22 then Run following command :

./SampleClient https://100.80.60.243 dushyant@testing.com testing\\admin2010:Exchange2010

5MB message will be successfully posted to Exchange Server ,you can just verify with above logged in User Dushyant as mentioned in Exchange Server Details

(2) Second replace libcurl.so.4 with libcurl.so.4_7.39 then Run following command :

./SampleClient https://100.80.60.243 dushyant@testing.com testing\\admin2010:Exchange2010
   
        There will be TIMEOUT that happens after 15 seconds that I have set in my sample application.

Please let me know in case you face any problem in executing the above simple steps.

this issue is very Severe as it is getting hit by other users also as mentioned by Florian in the mail inline ,he is also facing the same problem.

Thanks and Regards
Dushyant

---
** [bugs:#1460] Longer Voice Message not being posted to Exchange Server with curl release version >=7.24 using SSL(https)**
**Status:** open
**Created:** Fri Dec 05, 2014 05:29 AM UTC by Prash Dush
**Last Updated:** Tue Dec 16, 2014 01:41 PM UTC
**Owner:** Daniel Stenberg
Hi Team,
With reference to the following query:
http://curl.haxx.se/mail/lib-2014-12/0011.html
I have written a sample client as a proof of concept that does the POST request for sending a voice message of 5MB.
My application works fine with curl version 7.23.1 while it does not work with 7.24 version.
I have even tried with latest curl version 7.39 but problem is still reproducible.
Attached is sample application code along with 32 bit executable.
Three files are attached in sample_client.zip.
(1) curl-client.cpp
(2) sconstruct   ( sort of makefile )
(3) SampleClient  : ELF 32-bit LSB executable
   Only thing you need is to have 32 bit compiled curl i.e. libcurl.so.4  placed at any Linux box at path /root/
   Try it with different curl versions 7.23.1(works fine) and 7.39 (doesn't work)
 Command Line Arguement for this File
 argv[1] --> Exchange server(2007)  hostname                   :     https://<<hostname>>
 argv[2] --> UserSMTPaddress with Mailbox on Exchange  :     some_user_at_hostname.com
 argv[3] --> PassWord                                                     :     domain\admin:password
  
  How to run:
 ./SampleClient https://hostname.com some_user@hostname.com domain\\admin:password
Here is the Log enabled output for the post request with curl 7.24 ,it just times-out
-----------------------------------------------------------------------------------------------------------------------
* About to connect() to hostname.com port 443 (#0)
*   Trying 10.81.215.16...
* connected
* Connected to hostname.com (10.76.215.16) port 443 (#0)
* successfully set certificate verify locations:
*   CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none
* SSL connection using AES128-SHA
* Server certificate:
*        subject: CN=WIN-R0E6EKCRI4H
*        start date: 2014-10-02 12:01:26 GMT
*        expire date: 2019-10-02 12:01:26 GMT
*        issuer: CN=WIN-R0E6EKCRI4H
*        SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* Server auth using Basic with user 'newexchange\administrator'
> POST /EWS/Exchange.ASMX HTTP/1.1
Authorization: Basic bmV3ZXhjaGFuZ2VcYWRtaW5pc3RyYXRvcjpFY3NidWxhYjI=
User-Agent: Sample Client
Host: hostname..com
Accept: */*
Content-Type: text/xml
Content-Length: 8760991
Operation timed out after 15000 milliseconds with 0 bytes received
* Closing connection #0
* Timeout was reached
Please try it your end and if required  we can have live troubleshooting session.
Let me know your availability I am available from 9.00 A.M IST - 7 P.M. IST
Thanks 
Dushyant
---
Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
Received on 2014-12-17

These mail archives are generated by hypermail.