Umesh Chandran

Forum Replies Created

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • in reply to: HTTP-Client configuration setup for real-time #74174
    Umesh Chandran
    Participant

      turned on the EO and below is an error (not sure what this implies ?).

      ***********************************************************

      [pd  :pdtd:ERR /0:to_destin:04/25/2011 14:04:40] Tcl error:

             msgId   = none

             proc    = ‘httpQueryCurl’

             args    = ‘{MSGUSE DATA}’

             result  = ‘can’t read “HTTPS”: variable is array’

             errorInfo: ‘

      can’t read “HTTPS”: variable is array

         while executing

      “lappend configCmd -sslcert $HTTPS”

         (procedure “curlSubs::buildConfigure” line 76)

         invoked from within

      “curlSubs::buildConfigure”

         (“start” arm line 48)

         invoked from within

      “switch -exact — $mode {

             start {

                 # Set name of procedure

                 set curlSubs::myName “$::HciConnName/[lindex [info level 1] 0]”

                 # Get and …”

         (procedure “httpQueryCurl” line 5)

      ++++++++++++++++++++++++++++++++++++++++++++++

      httpQueryCurl has this block of code. In my example, I am using TLSV1.

      lappend configCmd -sslcert $HTTPS

                         lappend configCmd -keypasswd $HTTPS(PASSWORD)

                     }

                     # SSL Version

                     switch -exact —  [string toupper $HTTPS(SSL_PROTOCOL)] {

                         SSLV2 {set type sslv2}

                         SSLV3 {set type sslv3}

                         TLSV1 {set type tlsv1}

                         default {set type default}

    Viewing 1 replies (of 1 total)