|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
[CURL] error curl_easy_setoptHi, I try with every perl and ruby script, and always gives me following error:
# perl Linux_EthernetPort_EnumInstances.pl Aug 27 15:05:31 [5953] Endpoint: http://localhost:5985/wsman Aug 27 15:05:31 [5953] cl->authentication.verify_peer: 1 Aug 27 15:05:31 [5953] Error = 2 (Failed initialization); Could not curl_easy_setopt(curl, CURLOPT_CTX_FUNCTION) Aug 27 15:05:31 [5953] NULL response [ERROR] Could not enumerate instances. 1 at Linux_EthernetPort_EnumInstances.pl line 36. maybe some issue related with new curl implementation? maybe I need to use some specific curl version? regards -- WARPTROSSE {The knowledge of a man belongs to all the humanity} ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Openwsman-devel mailing list Openwsman-devel@... https://lists.sourceforge.net/lists/listinfo/openwsman-devel |
|
|
Re: [CURL] error curl_easy_setoptto continue with tests I just comment
#ifdef ENABLE_EVENTING_SUPPORT // else if (cl->authentication.certificatethumbprint) { // r = curl_easy_setopt(curl, CURLOPT_SSL_CTX_FUNCTION, sslctxfun); // if(r != 0) { // curl_err("Could not curl_easy_setopt(curl, CURLOPT_CTX_FUNCTION)"); // goto DONE; // } // r = curl_easy_setopt(curl, CURLOPT_SSL_CTX_DATA, (void *)cl->authentication.certificatethumbprint); // if(r != 0) { // curl_err("Could not curl_easy_setopt(curl, CURLOPT_SSL_CTX_DATA)"); // goto DONE; // } // } #endif from /src/lib/wsman-curl-client-transport.c regards On Thu, Aug 27, 2009 at 3:08 PM, warptrosse <warptrosse@...> wrote: Hi, I try with every perl and ruby script, and always gives me following error: -- WARPTROSSE {The knowledge of a man belongs to all the humanity} ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Openwsman-devel mailing list Openwsman-devel@... https://lists.sourceforge.net/lists/listinfo/openwsman-devel |
|
|
Re: [CURL] error curl_easy_setopt* warptrosse <warptrosse@...> [Aug 27. 2009 20:08]:
> Hi, I try with every perl and ruby script, and always gives me following > error: > > # perl Linux_EthernetPort_EnumInstances.pl > Aug 27 15:05:31 [5953] Endpoint: http://localhost:5985/wsman > Aug 27 15:05:31 [5953] cl->authentication.verify_peer: 1 > Aug 27 15:05:31 [5953] Error = 2 (Failed initialization); Could not > curl_easy_setopt(curl, CURLOPT_CTX_FUNCTION) That log line is misleading since the actual option is 'CURLOPT_SSL_CTX_FUNCTION' > Aug 27 15:05:31 [5953] NULL response > [ERROR] Could not enumerate instances. > 1 at Linux_EthernetPort_EnumInstances.pl line 36. > > maybe some issue related with new curl implementation? maybe I need to use > some specific curl version? I'm looking into it ... Klaus --- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Openwsman-devel mailing list Openwsman-devel@... https://lists.sourceforge.net/lists/listinfo/openwsman-devel |
|
|
Re: [CURL] error curl_easy_setopt* Klaus Kaempf <kkaempf@...> [Aug 28. 2009 12:39]:
> * warptrosse <warptrosse@...> [Aug 27. 2009 20:08]: > > Hi, I try with every perl and ruby script, and always gives me following > > error: > > > > # perl Linux_EthernetPort_EnumInstances.pl > > Aug 27 15:05:31 [5953] Endpoint: http://localhost:5985/wsman > > Aug 27 15:05:31 [5953] cl->authentication.verify_peer: 1 > > Aug 27 15:05:31 [5953] Error = 2 (Failed initialization); Could not > > curl_easy_setopt(curl, CURLOPT_CTX_FUNCTION) > > That log line is misleading since the actual option is > 'CURLOPT_SSL_CTX_FUNCTION' http://curl.haxx.se/libcurl/c/curl_easy_setopt.html says: "This option does only function for libcurl powered by OpenSSL. If libcurl was built against another SSL library, this functionality is absent." Are you using Redhat/Fedora ? IIRC, those distributions don't use openssl (resp. build curl without openssl). Klaus --- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Openwsman-devel mailing list Openwsman-devel@... https://lists.sourceforge.net/lists/listinfo/openwsman-devel |
| Free embeddable forum powered by Nabble | Forum Help |