This content has been marked as final. Show 2 replies
> "Error while executing task Connection Failure: Status code unavailable"
> "Connection Failure: Status code unavailable"
What this error actually means is that when ColdFusion made a HTTP
request to the web server it never received a HTTP response with a HTTP
A common cause of this can be authentication where the web server says
I'm not going to respond to you because I do not know who you are. But
it is not the only reason. Anything the breaks the cycle so that
ColdFusion does not get a response from the web server will cause this
It may help to remember that when ColdFusion is doing schedule tasks it
has a bit of a split personality thing going on. One personality is a
web client making a request to a web server. Another personality is an
Application server that responds to requests passed to it by the web
server. These two personalities often reside inside the same CPU (but
not necessarily so) and are completely separate from each other.
also, in addition to Ian's reply, make sure you allow enough time for
your server to restart after the reboot before you run your scheduled task.
if you reboot your server every morning at 3:00AM and have a task
scheduled to run at 3:01AM your server may not have fully restarted by
that time. run the task at 3:05 or later instead to be on the safe side.