Skip navigation
nHeroGo
Currently Being Moderated

Task: Connection Failure...

May 10, 2012 11:47 AM

Dear Forum,

 

Running a task on localhost. No protected directories or anything.

 

Step 1: I run a cfm-file manually, and it works as intended.

Step 2: I manually run the task from the administrator. It says it runs successfully.

Step 3: There are no exeptions in any logs.

Step 4: I check the output file and it says Connection Failure.

Step 5: No changes made to the database

 

Any ideas?

///johan

 
Replies
  • Currently Being Moderated
    May 10, 2012 9:59 PM   in reply to nHeroGo

    Is it an SSL path the task is attempting to access? 

     

    Is this all on a local machine, or is the task on a remote server? A remote server may not be able to get to the same pathway as your workstation.  If a remote server, can you log-in and browse the url?

     
    |
    Mark as:
  • Currently Being Moderated
    May 11, 2012 1:38 PM   in reply to nHeroGo

    Things to check.  Don't use an SSL pathway. If the certificate doesn't match the server then CF would return this type of error.  You'd have to import the certificate as a trusted certificate in the java cacerts to get this to work.

     

    Or it could be some sort of redirection, if the path is inside an application that requires a login or something like that.

     

    Is there an web server authentication that might be causing an issue.

     

    Try a test file that has a cfhttp call to the url and dump the cfhttp contents to see what the http status code being returned is?  This is pretty much the same thing that the scheduled task would do.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points