"Could not read headers from server"

Questions, problems, suggestions, bug reports, and so on.
Post Reply
velo
Posts: 16
Joined: 2009-06-08 7:04 pm

"Could not read headers from server"

Post by velo » 2009-06-08 7:13 pm

Hi,

I'm trying to use JSCoverage to test my application.

Since this is a complex application and I will use selenium to run test automatically, so, I assumed that using jscoverage-server in proxy mode was a good choice (jscoverage-server.exe --proxy --verbose ).

But, when I try to open my URL I always got the following message:
"Could not read headers from server"

Image

Does anyone has any idea?


VELO

velo
Posts: 16
Joined: 2009-06-08 7:04 pm

Re: "Could not read headers from server"

Post by velo » 2009-06-08 7:18 pm

BTW, the application under test is available online at the following URL:
http://repository.sonatype.org/index.html#welcome


VELO

Ed
Posts: 120
Joined: 2008-10-11 6:52 pm

Re: "Could not read headers from server"

Post by Ed » 2009-06-09 4:32 am

I think the jscoverage-server is getting confused by a Content-Encoding header with an empty value sent by the origin server.

This should be fixed in the Subversion repository.

velo
Posts: 16
Joined: 2009-06-08 7:04 pm

Re: "Could not read headers from server"

Post by velo » 2009-06-09 11:44 am

Nice, it worked, thanks a lot.


VELO

Post Reply