>- see footer for list info -<
I tried making a connection using the following
<cfset jUrl = CreateObject( "java", "java.net.URL" ).Init( 
'http://www.google.com/') />

<cfdump var="#jUrl.getContent()#">

and I got back

Security: The requested template has been denied access to
www.google.com:80. 
So it would appear that the security sandbox is denying access to port 80,
funny how CFHTTP doesn't report that.

Now this is because I do have a rule in the server/ports section of my
default sandbox to allow a connection to mysql, which was another issue I
had in the past that without an explicit rule to allow this connection, CF
simply will not connect to mysql, the DSN will work briefly when created due
to authentication by the cfadmin role, but when that connection has timed
out, the next one will fail as ot creates the connection as a new user. No
idea why as other servers do not have this issue.
Anyway because I have a server/port in my default sandbox, it is denying
everything else by default as a result, so I don't know how I can get around
that as I cannot enter the IP of every server that every user may want to
connect to that would seem to be a exorbitant workaround.
If I remove the MySQL rule then CFHTTP works, by all the mySQL DSN's will
then fail.

Russ

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Adrian Lynch
Sent: 28 August 2009 14:57
To: 'Coldfusion Development'
Subject: RE: [CF-Dev] cfhttp instant timeout

>- see footer for list info -<
What was the problem?

> -----Original Message-----
> From: [email protected] [mailto:dev-
> [email protected]] On Behalf Of Snake
> Sent: 28 August 2009 14:43
> To: 'Coldfusion Development'
> Subject: RE: [CF-Dev] cfhttp instant timeout
> 
> >- see footer for list info -<
> Sorted now :-)
> 
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Adrian Lynch
> Sent: 28 August 2009 13:20
> To: 'Coldfusion Development'
> Subject: RE: [CF-Dev] cfhttp instant timeout
> 
> >- see footer for list info -<
> Probably not the issue but worth trying, can you hit any of those URLs
> from
> a browser on the same box?
> 
> > -----Original Message-----
> > From: [email protected] [mailto:dev-
> > [email protected]] On Behalf Of Snake
> > Sent: 28 August 2009 11:08
> > To: 'Coldfusion Development'
> > Cc: 'ColdFusion Guru List'
> > Subject: [CF-Dev] cfhttp instant timeout
> >
> > >- see footer for list info -<
> > I am having an issue on the cfdeveloper server where cfhttp calls are
> > throwing a timeout error immediately
> >
> > "The request has exceeded the allowable time limit Tag: cfhttp"
> >
> > This happens for any url, and ignores the timeout attribute.
> >
> > Anyone seen this before?



_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<



_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to