CFMX Connection failure with cfhttp (SSL)

Discussion in 'Programming' started by craigdunn, May 21, 2007.

  1. #1
    HI All, CFMX is not my speciality but I've inherited a project that needs some modification.

    It's CFMX6.1 on JRun4, Windows 2003....

    I'm trying to get it to make a cfhttp call to an SSL tomcat server and constantly get back "Connection Failed" - no other errors or helpful information

    I've tried importing the SSL cert into the keystore of the only JRE I can find on the machine (suggested by many Google results), and a tcpdump on the SSL server confirms that it's definatley talking to it on the right port so that rules out simple things like DNS and firewalls or configuration problems with the SSL server I'm connecting to...etc.

    Also, SSL posts seem to work to a variety of other machine of it's own ilk (same platform), but not to this new server.

    Any help would be greatly appreciated.

    Cheers
    Craig
     
    craigdunn, May 21, 2007 IP
  2. newbish

    newbish Peon

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I know some java webservers (resin, tomcat) run on 8080 and 8433 instead of the default port is it possible that you need to specify the port?
     
    newbish, Jun 19, 2007 IP
  3. datropics

    datropics Peon

    Messages:
    309
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    0
    #3
    newBish may be correct, try specifying that port. You could also try specifying a userAgent. Try finding out the user agent for a popular browser (firefox) then plug that value in the useragent property for cfhttp. See if that helps

    PS: Finding useragent. Do a dump of cgi and you'll see <cfdump var="#cgi#">

    HTH

    daTropics
     
    datropics, Jun 21, 2007 IP