Open schneidr opened 10 years ago
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?
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.
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: