I'm having some issues with Coldfusion MX7. An http request that worked for quite a long time now fails with "Connection Failure. Status code unavailable. " and errordetail: "I/O Exception: null".
Submitting the url in my browser returns a successful response, so I've no idea what the problem might be...
Here is the original code, which results in "Variable GEOCODED not defined.":
<cfhttp url="http://geocoder.us/service/csv/geocode?zip=#url.zip#" method="GET" timeout="10" name="geocoded" columns="LATITUDE, LONGITUDE, CITY, STATE, ZIP" delimiter="," firstrowasheaders="no">
<cfdump var="#geocoded#" label="geocoded" />
I tried to simplify things so I could track down what might be happening:
<cfhttp url="http://geocoder.us/service/csv/geocode?zip=#url.zip#" method="GET" timeout="10" result="test">
<cfdump var="#test#" label="test" />
This yields the struct:
test - struct
Charset [empty string]
ErrorDetail I/O Exception: null
Filecontent Connection Failure
Header [undefined struct element]
Mimetype Unable to determine MIME type of file.
test - struct [empty]
Statuscode Connection Failure. Status code unavailable.
Any nudges in the right direction would be greatly appreciated!