Creative Juices Bo. Co.

Satisfy Your Thirst For Something Refreshing!

ColdFusion Error

Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.

I recently started getting this error on most of my client's websites that were being hosted on a ColdFusion shared server. At first, I thought it had to do with something I was doing with a cfquery inside the application.cfc. Doing a little googling on the subject, I soon realized that this was my old friend "Java.lang.NullPointerException" in disguise.

The Solution

To fix this problem you need to have the server admin disable the ColdFusion admin setting "Maintain connections with the Coldfusion Admin". After that is set properly, you should no longer see this message.