I've got login request first time only with "Invalid server response". Then I am unable to enter login details anymore only if I change proxy for example. Tried with or without proxy. Here what Fiddler says:
REQUEST:
POST http://x.x.x.x/webissues1/server/webissues/handler.php HTTP/1.1
Content-Type: multipart/form-data; boundary="nextPart-RUzkSLBzYnS8"
Content-Length: 109
Connection: Keep-Alive
Accept-Encoding: gzip
Accept-Language: en-IE,*
User-Agent: Mozilla/5.0
Host: x.x.x.x
--nextPart-RUzkSLBzYnS8
Content-Disposition: form-data; name="command"
HELLO
--nextPart-RUzkSLBzYnS8--
RESPONSE:
HTTP/1.1 200 OK
Date: Wed, 01 Sep 2010 13:14:49 GMT
Server: Apache/2.2.3 (Red Hat)
X-Powered-By: PHP/5.3.1
X-WebIssues-Version: 1.0-alpha2
Content-Length: 80
Connection: close
Content-Type: text/plain; charset=UTF-8
S 'Xxxxx Webissues Test' '1a1c25f7-59be-4a3d-83dd-20a908fda2d7' '1.0-alpha2'
Thanks,
Martin
- Log in to post comments
I have the same issue. server on linux, client on windows (alpha3).
fresh install from today, after having player a little with 0.x version.
which responds with
and the client responds as Invalid rerver response.
any ideas?
It looks like there are some additional characters before the response. Content-Length should be 74 (72 characters + CR + LF) and not 78. Perhaps the utf-8 BOM was prepended for some reason?
Regards,
Michał
Hey Michał
you got it right; it turns out that my Apache was configured with
AddDefaultCharset UTF-8
which produced the the extra character. by removing it, it now works fine.
thanks,