Hello Mosh!!
Good Day!!
There is no error in the code as it has worked fine for first 400
requests. Anyway I am posting the code how it looks like
<!--- Get the name and password from table --->
<cfquery name="get_name" datasource="datasourcename" maxrows=10>
select username,password
from tablename
where status='N'
</cfquery>
<cfloop query="get_name">
<!--- Get the authentication done first --->
<cfhttp url="http://site2.com/authenticate.cfm" method="post">
<cfhttpparam name="username" value="#Variables.username#"
type="formfield">
<cfhttpparam name="password" value="#Variables.password#"
type="formfield">
</cfhttp>
<cfset Variables.result = Trim(#cfhttp.filecontent#)>
<!--- First post the data to site2 and get the required
data --->
<cfhttp url=http://site2.com/getdata.cfm" method="post">
<cfhttpparam name="name" value="#Variables.username#"
type="formfield">
<cfhttpparam name="pwd" value="#Variables.password#"
type="formfield">
<cfhttpparam name="result" value="#Variables.result#"
type="formfield">
<cfhttpparam name="Get" value="Get" type="formfield">
</cfhttp>
<cfoutput>#cfhttp.filecontent#</cfoutput>
</cfloop>
Then I insert the data into a table. It was working fine for first 400
requests and then started to give an error
Error Occurred While Processing Request
Error Diagnostic Information
Request canceled or ignored by serverServer busy or unable to fulfill
request. The server is unable to fulfill your request due to extremely high
traffic or an unexpected internal error. Please attempt your request again
(if you are repeatedly unsuccessful you should notify the site
administrator). (Location Code: 26)
Thanks
Ash
----- Original Message -----
From: "Mosh Teitelbaum" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, October 23, 2002 10:43 AM
Subject: RE: Please hint me on what could be the problem!!
> Judging by the error message, I'd say that either the server is too busy
to
> handle the request or there's an error in the code. Or, the CFHTTP was
> coded incorrectly. Care to post some of the code (specifically, your
CFHTTP
> code and the code of the page that CFHTTP is hitting) so we could take a
> closer look?
>
> --
> Mosh Teitelbaum
> evoch, LLC
> Tel: (301) 625-9191
> Fax: (301) 933-3651
> Email: [EMAIL PROTECTED]
> WWW: http://www.evoch.com/
>
>
> > -----Original Message-----
> > From: Ashok [mailto:ashok@;experthost.com]
> > Sent: Wednesday, October 23, 2002 1:03 AM
> > To: CF-Talk
> > Subject: Please hint me on what could be the problem!!
> >
> >
> > Hello CFers!!
> >
> > Good Day!!
> > I am facing a weired problem with the scripts which is
> > using CFHTTP to
> > get some data from another site of ours. It has gone weel for 400
request
> > out of 7500 and is giving the following error stated below. Please hint
me
> > where could be the problem
> >
> > Error Occurred While Processing Request
> > Error Diagnostic Information
> > Request canceled or ignored by serverServer busy or unable
> > to fulfill
> > request. The server is unable to fulfill your request due to
> > extremely high
> > traffic or an unexpected internal error. Please attempt your request
again
> > (if you are repeatedly unsuccessful you should notify the site
> > administrator). (Location Code: 26)
> >
> >
> >
> >
> > Thanks for the help
> > Ash
> >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm