1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Working example with Coldfusion?

Discussion in 'Plesk for Linux - 8.x and Older' started by cfnick1, Sep 26, 2006.

  1. cfnick1

    cfnick1 Guest

    0
     
    Does anybody have the API RPC working using Coldfusion? I'm unable to send or receive XML from plesk, which is on an SSL, using <cfhttp>. When attempting to receive XML back, the error messages are:
    COM.Allaire.ColdFusion.HTTPFailure
    Connection Failure: Status code unavailable

    Connection failure


    The server is a virtual server on Linux. Any idea how to get this working? Any Coldfusion code samples?
    Thank you!
     
  2. simpliq_adi

    simpliq_adi Guest

    0
     
    Hello,

    COM.Allaire.ColdFusion.HTTPFailure: Thrown by CFHTTP when the Web server specified in the URL attribute cannot be reached.
    This looks like a stupid question but...can your web server see the internet?

    Some examples on how to use cfhttp can be found here:

    http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-p58.htm

    If you still have any issues, please provide me exactly the source code that failed and I'll try to help you.
     
  3. cfnick1

    cfnick1 Guest

    0
     
    SSL mismatch

    So it can't reach the webserver at all.. thank you for the idea.

    I found http://www.houseoffusion.com/groups/CF-Talk/thread.cfm/threadid:47893 which says if there is a domain mismatch with the SSL, which there is in my case, cfhttp will fail. I'll import the correct SSL into the keystore on the server as explained and get the SSL fixed.
     
  4. cfnick1

    cfnick1 Guest

    0
     
    Solution found!

    That was it, the mis-match on the SSL caused the cfhttp to fail!
     
Loading...