cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

CURL error acess behind proxy

From: Hortensio C. L. Fernandes <hortensio_at_portimar.pt>
Date: Mon, 5 Mar 2007 14:27:15 -0000

Hello All,
 
I am tried to access a SMS webservice (portuguese) -
https://smsexpress.tmn.pt/smsexpress-webservices/glue/SubmissionManager.wsdl
and always get this error.
 
I am behind a proxy (10.51.0.94:8080) without any login/password to it.
Server: Windows2003
Apache: 1.3.33
PHP: 4.3.10
 
Already tried Linux also but got the same mistake.
 
I believe that NuSoap is not parsing correctly the proxy configuration,
because the url address starts with "smsexpress.tmn.pt" and in the Errors
logs shows as "10.51.0.94:8080" which is the proxy url and port.
 
Did anyone had a similiar problem? Can anyone give me a hand in resolving
this?
 
Thank you for all the support.
 
Regards,
hort
 
###############
 
Constructor error
 
HTTP Error: cURL ERROR: 35: SSL: error:00000000:lib(0):func(0):reason(0)
url:
https://10.51.0.94:8080/smsexpress-webservices/glue/SubmissionManager.wsdl
http_code: 0
header_size: 0
request_size: 0
filetime: -1
ssl_verify_result: 0
redirect_count: 0
total_time: 0
namelookup_time: 0
connect_time: 0
pretransfer_time: 0
size_upload: 0
size_download: 0
speed_download: 0
speed_upload: 0
download_content_length: 0
upload_content_length: 0
starttransfer_time: 0
redirect_time: 0
 
Error
 
HTTP Error: cURL ERROR: 35: SSL: error:00000000:lib(0):func(0):reason(0)
url:
https://10.51.0.94:8080/smsexpress-webservices/glue/SubmissionManager.wsdl
http_code: 0
header_size: 0
request_size: 0
filetime: -1
ssl_verify_result: 0
redirect_count: 0
total_time: 0
namelookup_time: 0
connect_time: 0
pretransfer_time: 0
size_upload: 0
size_download: 0
speed_download: 0
speed_upload: 0
download_content_length: 0
upload_content_length: 0
starttransfer_time: 0
redirect_time: 0
 
Request
 
POST
https://smsexpress.tmn.pt/smsexpress-webservices/glue/SubmissionManager.wsdl
HTTP/1.0
Host: smsexpress.tmn.pt
User-Agent: NuSOAP/0.7.2 (1.94)
Content-Type: text/xml; charset=ISO-8859-1
SOAPAction: "sendMultiSms"
Content-Length: 1056
 
<?xml version="1.0" encoding="ISO-8859-1"?><SOAP-ENV:Envelope
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><S
ubmissionManager><AuthInfoWS><application
xsi:type="xsd:string">SMSExpress</application><login
xsi:type="xsd:string">LOGIN</login><password
xsi:type="xsd:string">PASS</password></AuthInfoWS><Submission><message
xsi:type="xsd:string">Teste TMN ws</message><contactLists
xsi:type="SOAP-ENC:Array"
SOAP-ENC:arrayType="xsd:anyType[0]"></contactLists><recipients
xsi:type="xsd:string">962831810</recipients><sender
xsi:type="xsd:string">portimar</sender><validity
xsi:type="xsd:string">24</validity><notification
xsi:type="xsd:string">no</notification><deliveryDate
xsi:type="xsd:string">2007-02-26T10:21:18Z</deliveryDate></Submission></Subm
issionManager></SOAP-ENV:Body></SOAP-ENV:Envelope>
 
Response
 
Debug
 
2007-02-26 10:21:18.478562 soapclient: instantiating wsdl class with doc:
https://smsexpress.tmn.pt/smsexpress-webservices/glue/SubmissionManager.wsdl

2007-02-26 10:21:18.479249 wsdl: initial wsdl URL:
https://smsexpress.tmn.pt/smsexpress-webservices/glue/SubmissionManager.wsdl

2007-02-26 10:21:18.479736 wsdl: getting WSDL http(s) URL
https://smsexpress.tmn.pt/smsexpress-webservices/glue/SubmissionManager.wsdl

2007-02-26 10:21:18.480446 soap_transport_http: scheme = https
2007-02-26 10:21:18.480639 soap_transport_http: host = smsexpress.tmn.pt
2007-02-26 10:21:18.480778 soap_transport_http: path =
/smsexpress-webservices/glue/SubmissionManager.wsdl
2007-02-26 10:21:18.480963 soap_transport_http: set Host: smsexpress.tmn.pt
2007-02-26 10:21:18.481221 soap_transport_http: set User-Agent: NuSOAP/0.7.2
(1.94)
2007-02-26 10:21:18.481412 soap_transport_http: set Accept-Encoding: gzip,
deflate
2007-02-26 10:21:18.481558 soap_transport_http: set Connection: close
2007-02-26 10:21:18.481731 soap_transport_http: entered send() with data of
length: 0
2007-02-26 10:21:18.482038 soap_transport_http: connect connection_timeout
0, response_timeout 30, scheme https, host 10.51.0.94, port 8080
2007-02-26 10:21:18.482227 soap_transport_http: connect using https
2007-02-26 10:21:18.482547 soap_transport_http: cURL connection set up
2007-02-26 10:21:18.482778 soap_transport_http: set Content-Length: 0
2007-02-26 10:21:18.482920 soap_transport_http: HTTP request: GET
https://smsexpress.tmn.pt/smsexpress-webservices/glue/SubmissionManager.wsdl
HTTP/1.1
2007-02-26 10:21:18.483077 soap_transport_http: HTTP header: Host:
smsexpress.tmn.pt
2007-02-26 10:21:18.483222 soap_transport_http: HTTP header: User-Agent:
NuSOAP/0.7.2 (1.94)
2007-02-26 10:21:18.483360 soap_transport_http: HTTP header:
Accept-Encoding: gzip, deflate
2007-02-26 10:21:18.483505 soap_transport_http: HTTP header: Connection:
close
2007-02-26 10:21:18.483653 soap_transport_http: HTTP header: Content-Length:
0
2007-02-26 10:21:18.483889 soap_transport_http: set cURL payload
2007-02-26 10:21:18.484108 soap_transport_http: send and receive with cURL
2007-02-26 10:21:51.885324 soap_transport_http: cURL ERROR: 35: SSL:
error:00000000:lib(0):func(0):reason(0)<br>url:
https://10.51.0.94:8080/smsexpress-webservices/glue/SubmissionManager.wsdl
<https://10.51.0.94:8080/smsexpress-webservices/glue/SubmissionManager.wsdl%
3Cbr%3Ehttp_code:> <br>http_code: 0<br>header_size: 0<br>request_size:
0<br>filetime: -1<br>ssl_verify_result: 0<br>redirect_count:
0<br>total_time: 0<br>namelookup_time: 0<br>connect_time:
0<br>pretransfer_time: 0<br>size_upload: 0<br>size_download:
0<br>speed_download: 0<br>speed_upload: 0<br>download_content_length:
0<br>upload_content_length: 0<br>starttransfer_time: 0<br>redirect_time:
0<br>
2007-02-26 10:21:51.885609 soap_transport_http: end of send()
 
###
the rest has been removed
###

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2007-03-05