Skip to content
This repository was archived by the owner on Feb 5, 2021. It is now read-only.

Crowd answers with 505 HTTP Version Not Supported #3

Open
schneidr opened this issue Sep 24, 2014 · 2 comments
Open

Crowd answers with 505 HTTP Version Not Supported #3

schneidr opened this issue Sep 24, 2014 · 2 comments

Comments

@schneidr
Copy link

I've been trying to get this module running with nginx (various versions, latest try was with 1.6.2) and Crowd (2.5.2 and 2.7.2) keeps answering with the same error message:

< HTTP/1.1 505 HTTP Version Not Supported
< Server: Apache-Coyote/1.1
< Date: Wed, 24 Sep 2014 12:37:54 GMT
< Connection: close
<
* Recv failure: Connection reset by peer
* Closing connection #0
@schneidr
Copy link
Author

I did some more testing and with wget the login works:

geschnei@gut:~$ wget -H https://test.server.local/ --user geschnei --ask-password
Password for user 'geschnei':
--2014-09-24 14:53:38-- https://test.server.local/
Resolving test.server.local (test.server.local)... 146.140.15.45
Connecting to test.server.local (test.server.local)|146.140.15.45|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://test.server.local/confluence/ [following]
--2014-09-24 14:53:38-- https://test.server.local/confluence/
Reusing existing connection to test.server.local:443.
HTTP request sent, awaiting response... 401 Unauthorized
Reusing existing connection to test.server.local:443.
HTTP request sent, awaiting response... 302 Moved Temporarily
Syntax error in Set-Cookie: crowd.token_key=uJEdwLE0nwg0TpRz4GKzag00;domain=; at position 49.
Location: https://test.server.local/confluence/homepage.action [following]
--2014-09-24 14:53:41-- https://test.server.local/confluence/homepage.action
Reusing existing connection to test.server.local:443.
HTTP request sent, awaiting response... 302 Moved Temporarily
Syntax error in Set-Cookie: crowd.token_key=uJEdwLE0nwg0TpRz4GKzag00;domain=; at position 49.
Location: https://test.server.local/confluence/dashboard.action [following]
--2014-09-24 14:53:41-- https://test.server.local/confluence/dashboard.action
Reusing existing connection to test.server.local:443.
HTTP request sent, awaiting response... 200 OK
Syntax error in Set-Cookie: crowd.token_key=uJEdwLE0nwg0TpRz4GKzag00;domain=; at position 49.
Length: unspecified [text/html]
Saving to: 'index.html'

[ <=>                                   ] 76,867      --.-K/s   in 0.003s

2014-09-24 14:53:42 (28.8 MB/s) - 'index.html' saved [76867]

This line looks strange:

Syntax error in Set-Cookie: crowd.token_key=uJEdwLE0nwg0TpRz4GKzag00;domain=; at position 49.

Could this error be coming from the module, or from crowd itself?

@jc21
Copy link

jc21 commented Nov 24, 2014

Did you find a solution for this? This was working for me at one stage when I was proxying the request through apache on the same machine running crowd. Accessing crowd directly causes this error. A post I found on Stack exchange suggests that Tomcat will return this error if there is trailing whitespace after the first line of the HTTP 1.1 request, which makes sense if Apache was handling this problem when it did the proxying. So the error might exist with the code of the plugin itself.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants