i have disabled captchas and i didn´t see an error in the apache error
log.
The complete log of the weave test script is:
Jul 2 19:08:41 echo517 weave: Jul 02 19:08:41 <hostname> CEF:0|
mozilla|weave|1.3|AuthFail|User Authentication Failed|3|
cs1Label=requestClientApplication cs1=none requestMethod=POST
request=https://<domain>/user/1.0/V6N6JX/password src=<ip> dst=<ip>
suser=v6n6jx
Jul 2 19:08:41 echo517 weave: Jul 02 19:08:41 <hostname> CEF:0|
mozilla|weave|1.3|AuthFail|User Authentication Failed|3|
cs1Label=requestClientApplication cs1=none requestMethod=POST
request=https://<domain>/user/1.0/V6N6JX/password src=<ip> dst=<ip>
suser=v6n6jx
Jul 2 19:08:41 echo517 weave: Jul 02 19:08:41 <hostname> CEF:0|
mozilla|weave|1.3|AuthFail|User Authentication Failed|3|
cs1Label=requestClientApplication cs1=none requestMethod=POST
request=https://<domain>/user/1.0/V6N6JX/email src=<ip> dst=<ip>
suser=v6n6jx
Jul 2 19:08:41 echo517 weave: Jul 02 19:08:41 <hostname> CEF:0|
mozilla|weave|1.3|AuthFail|User Authentication Failed|3|
cs1Label=requestClientApplication cs1=none requestMethod=POST
request=https://<domain>/user/1.0/V6N6JX/email src=<ip> dst=<ip>
suser=v6n6jx
Jul 2 19:08:41 echo517 weave: Jul 02 19:08:41 <hostname> CEF:0|
mozilla|weave|1.3|AuthFail|User Authentication Failed|3|
cs1Label=requestClientApplication cs1=none requestMethod=DELETE
request=https://<domain>/user/1.0/V6N6JX src=<ip> dst=<ip>
suser=v6n6jx
Jul 2 19:08:56 echo517 weave: Jul 02 19:08:56 <hostname> CEF:0|
mozilla|weave|1.3|DeleteUser|User Deleted|1|
cs1Label=requestClientApplication cs1=none requestMethod=DELETE
request=https://<domain>/user/1.0/V6N6JX src=<ip> dst=<ip>
suser=v6n6jx
The apache access log says:
<ip> - - [02/Jul/2010:19:09:55 +0200] "GET /user/1.0/94IQ1UEDDER HTTP/
1.1" 200 1 "-" "-"
<ip> - - [02/Jul/2010:19:09:55 +0200] "PUT /user/1.0/94IQ1UEDDER HTTP/
1.1" 400 1 "-" "-"
<ip> - - [02/Jul/2010:19:09:55 +0200] "PUT /user/1.0/[94IQ1UEDDER HTTP/
1.1" 400 1 "-" "-"
<ip> - - [02/Jul/2010:19:09:55 +0200] "PUT /user/1.0/94IQ1UEDDER HTTP/
1.1" 500 - "-" "-"
<ip> - - [02/Jul/2010:19:09:55 +0200] "GET /user/1.0/94IQ1UEDDER HTTP/
1.1" 200 1 "-" "-"
<ip> - - [02/Jul/2010:19:09:55 +0200] "PUT /user/1.0/94IQ1UEDDER HTTP/
1.1" 500 - "-" "-"
<ip> - 94IQ1UEDDER [02/Jul/2010:19:09:55 +0200] "POST /user/
1.0/94IQ1UEDDER/password HTTP/1.1" 400 1 "-" "-"
<ip> - 94IQ1UEDDER [02/Jul/2010:19:09:55 +0200] "POST /user/
1.0/94IQ1UEDDER/password HTTP/1.1" 401 23 "-" "-"
<ip> - 94IQ1UEDDER [02/Jul/2010:19:09:55 +0200] "POST /user/
1.0/94IQ1UEDDER/password HTTP/1.1" 401 23 "-" "-"
<ip> - 94IQ1UEDDER [02/Jul/2010:19:09:55 +0200] "POST /user/
1.0/94IQ1UEDDER/email HTTP/1.1" 401 23 "-" "-"
<ip> - 94IQ1UEDDER [02/Jul/2010:19:09:55 +0200] "POST /user/
1.0/94IQ1UEDDER/email HTTP/1.1" 401 23 "-" "-"
<ip> - - [02/Jul/2010:19:09:55 +0200] "GET /user/1.0/94IQ1UEDDER/node/
weave HTTP/1.1" 404 13 "-" "-"
<ip> - 94IQ1UEDDER [02/Jul/2010:19:09:55 +0200] "DELETE /user/
1.0/94IQ1UEDDER HTTP/1.1" 401 23 "-" "-"
<ip> - - [02/Jul/2010:19:09:55 +0200] "PUT /user/1.0/94IQ1UEDDER HTTP/
1.1" 500 - "-" "-"
<ip> - - [02/Jul/2010:19:10:00 +0200] "DELETE /user/1.0/94IQ1UEDDER
HTTP/1.1" 200 7 "-" "-"
On 2 Jul., 18:59, Toby Elliott <
telli...@mozilla.com> wrote:
> Hmm, 500 is an actual internal server error. We would not return that if there was, say, a database problem (errors from the app return a 503). That could mean that you've got a messed up file or something, but that would likely show up for any query, as it's loading the same libraries as it would for, say, checking username existence.
>
> A 500 should generate an error message in the apache error log.
>
> Also, if you're running the command-line test script, make sure that you have captchas disabled. It shouldn't give you a 500, but it will return an error if they are on.
>
> Regards,
> Toby
>
> On Jul 2, 2010, at 9:50 AM,
mor...@morlix.de wrote:
>
> > If i edit the curl_put function and enable curl verbose i get the
> > following on the console:
>
> > * About to connect() to <hostname> port 443 (#0)
> > * Trying <ip>... * connected
> > * Connected to
morlix.de (85.25.138.180) port 443 (#0)
> > * successfully set certificate verify locations:
> > * CAfile: none
> > CApath: /etc/ssl/certs
> > * SSL connection using DHE-RSA-AES256-SHA
> > * Server certificate:
> > * subject: CN=<hostname>
> > * start date: 2010-05-22 11:39:36 GMT
> > * expire date: 2010-11-18 11:39:36 GMT
> > * issuer: O=Root CA; OU=
http://www.cacert.org;CN=CA Cert
> > Signing Authority; emailAddress=
supp...@cacert.org