Applications, CFML

cannot decode raw data (NSURLErrorDomain:-1015)

Today we had a "funny" encounter with a ColdFusion page that actually called a file from a database and then delivered the file, as binary, to the browser (set with cfheader and cfcontent to deliver the file as binary).

Customers told us that they could not download the file, but instead got a blank page (FireFox & Internet Explorer) and a message like " "cannot decode raw data” (NSURLErrorDomain:-1015)" within Safari.

After a long time (I already mentioned this) and after finding nothing on Google we started rolling back what we did last on our server (this is/was a Windows 2003 server with IIS and the latest ColdFusion 8 installed). We then came upon the last configuration, which was adding the GzipFilter to compress all .cfm files. But instead of only compressing the .cfm files the configuration read to compress all files, meaning there was a "*" instead of a "*.cfm".

Sure and behold, we set this correctly, restarted ColdFusion and all was back to normal. Well, here you have it, if you come upon this error ever again, then look in your gzip compression filter.

Share and Enjoy:
  • Facebook
  • Digg
  • TwitThis
  • Sphinn
  • del.icio.us
  • Mixx
  • Google
  • MisterWong
  • StumbleUpon

If you enjoyed this post, make sure you subscribe to the RSS feed!

nitai@sixsigns.com