I know nothing about Cold Fusion, but notice the function urlencode() in PHP. Try geocoding addresses that have no spaces in them, like just "chicago". Does that work?
In any case, this is no longer a Google Maps API topic. It's either Cold Fusion or server configuration or code differences. -- Marcelo - http://maps.forum.nu -- On Aug 19, 9:25 pm, reaction <[email protected]> wrote: > That's interesting to see. I am running on those other pages is the > exact same code: > > <cfhttp url="http://maps.google.com/maps/geo?q=123Main St,Denver,CO, > 80202,US&output=xml" > method="get" resolveurl="yes" redirect="yes" charset="utf-8" > timeout="2"></cfhttp> > > I tested to see if other http-based APIs were working on that server, > and they are. Oddly, a similar call for maps also times out, even > though we use on other sites (except we call it via a script there). > > It's looking like it's just ColdFusion CFHTTP calls, just to Google, > and just from that server, that are having a problem. > > On Aug 19, 3:03 pm, Marcelo <[email protected]> wrote: > > > On Aug 19, 8:31 pm, reaction <[email protected]> wrote: > > > > Both return the same: 400 geocode. > > > Without a query, yes. :-) > > > But look at > > this:http://www.reactioncorp.biz/testGeo.php?q=chicagohttp://www.reactionw... > > > Both servers geocode OK. > > There must be differences in your code between the two servers. > > > -- > > Marcelo -http://maps.forum.nu > > -- > > > >http://www.reactioncorp.biz/testGeo.phphttp://www.reactionweb.biz/tes... > > > > The 2nd one is the one that fails. > > > >http://www.reactioncorp.biz/testGeoCode.cfmhttp://www.reactionweb.biz... > > > > On Aug 19, 2:06 pm, Marcelo <[email protected]> wrote: > > > > > If they were blocking you, you should be getting a code 620. > > > > > What you could try to do to demonstrate the problem is to put a small > > > > stand alone PHP file on each server to do geocoding, and post the two > > > > links to the group, so that we can see the problem in action. > > > > > That file could be as simple as this: > > > > > <? > > > > header('Content-type: text/plain'); > > > > $q = urlencode($_GET['q']); > > > > $url = "http://maps.google.com/maps/geo?q=$q&output=xml"; > > > > print file_get_contents($url); > > > > ?> > > > > > I can't think of any other way to demonstrate it. > > > > > -- > > > > Marcelo -http://maps.forum.nu > > > > -- > > > > > On Aug 19, 7:43 pm, reaction <[email protected]> wrote: > > > > > > I appreciate the offer, but I can't provide a login, and we are the > > > > > sys admns (it's a colocated box). > > > > > > The network is fine, and we have 100+ domains working just fine. > > > > > Other HTTP calls (even to google) are working as well. It just seems > > > > > to be this one call to this one service, and nothing else. Both are > > > > > behind the same firewall as well. > > > > > > I'm hoping there's some way to find out if Google itself is blocking > > > > > our requests. > > > > > > On Aug 19, 1:01 pm, Marcelo <[email protected]> wrote: > > > > > > > If you give me a root login to the shell of each server I might be > > > > > > able to tell you what the problem is. > > > > > > It's probably a network issue, and it has nothing to do with the > > > > > > API. > > > > > > Did you ask your systems administrator? > > > > > > > -- > > > > > > Marcelo -http://maps.forum.nu > > > > > > -- > > > > > > > On Aug 19, 5:54 pm, reaction <[email protected]> wrote: > > > > > > > > We have two web severs, and each have a custom tag to make > > > > > > > geocoding > > > > > > > http calls. Both have been workng fine for a year or so at least. > > > > > > > Both maybe make 100 calls a day, on a particularly busy day. > > > > > > > Both use > > > > > > > the exact same code. > > > > > > > > Just yesterday, one is unable to connect anymore. There is no > > > > > > > response from Google at all. It only results in a Connection > > > > > > > Timeout. There are no unusual problems otherwise, and we can make > > > > > > > geomap calls w/o a problem. > > > > > > > > Is there a way to find out if we are being blocked by Google > > > > > > > altogether? We have no response about too many requests, but it > > > > > > > seems > > > > > > > like the requests are being blocked, since geomap calls work > > > > > > > normally.- Hide quoted text - > > > > > > > - Show quoted text -- Hide quoted text - > > > > > - Show quoted text -- Hide quoted text - > > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
