couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Frazee (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-1651) Server responds 400 "Exceeded rewrite recursion limit" indefinitely
Date Tue, 22 Jan 2013 04:54:13 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-1651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13559398#comment-13559398
] 

Paul Frazee commented on COUCHDB-1651:
--------------------------------------

I couldn't find anything in my windows 7 logs, but I'm experiencing the problem in my ubuntu
server's install (couchdb 1.2, ubuntu 10.04, built using iris couch's builder and their browserid
plugin), which is still running so I was able to note the time it occurs.

Here are the logs from when it happens. The only evidence is the switch from 200s to 400s:

[Tue, 22 Jan 2013 04:47:15 GMT] [info] [<0.218.3>] 127.0.0.1 - - GET /grimwire/_design/grimwire
200
[Tue, 22 Jan 2013 04:47:15 GMT] [info] [<0.218.3>] 127.0.0.1 - - PUT /grimwire/_design/grimwire
201
[Tue, 22 Jan 2013 04:47:16 GMT] [info] [<0.29280.2>] 70.113.196.4 - - GET /grimwire/_design/grimwire/index.html
200
[Tue, 22 Jan 2013 04:47:17 GMT] [info] [<0.28837.2>] 70.113.196.4 - - GET /grimwire/_design/grimwire/index.css
200
[Tue, 22 Jan 2013 04:47:17 GMT] [info] [<0.29945.2>] 70.113.196.4 - - GET /grimwire/_design/local/lib/myhouse.js
200
[Tue, 22 Jan 2013 04:47:17 GMT] [info] [<0.28838.2>] 70.113.196.4 - - GET /grimwire/_design/local/lib/common-client.js
200
[Tue, 22 Jan 2013 04:47:17 GMT] [info] [<0.29280.2>] 70.113.196.4 - - GET /grimwire/_design/local/lib/link.js
200
[Tue, 22 Jan 2013 04:47:17 GMT] [info] [<0.30303.2>] 70.113.196.4 - - GET /grimwire/_design/assets/bootstrap/css/bootstrap.css
200
[Tue, 22 Jan 2013 04:47:17 GMT] [info] [<0.30300.2>] 70.113.196.4 - - GET /grimwire/_design/assets/fontello/css/icons.css
200
[Tue, 22 Jan 2013 04:47:17 GMT] [info] [<0.29945.2>] 70.113.196.4 - - GET /grimwire/_design/local/lib/environment.js
200
[Tue, 22 Jan 2013 04:47:17 GMT] [info] [<0.29280.2>] 70.113.196.4 - - GET /grimwire/_design/local/lib/linkjs-ext/responder.js
200
[Tue, 22 Jan 2013 04:47:17 GMT] [info] [<0.28838.2>] 70.113.196.4 - - GET /grimwire/_design/local/lib/linkjs-ext/router.js
200
[Tue, 22 Jan 2013 04:47:17 GMT] [info] [<0.30303.2>] 70.113.196.4 - - GET /grimwire/_design/local/lib/linkjs-ext/broadcaster.js
200
[Tue, 22 Jan 2013 04:47:17 GMT] [info] [<0.29945.2>] 70.113.196.4 - - GET /grimwire/_design/grimwire/index.js
200
[Tue, 22 Jan 2013 04:47:17 GMT] [info] [<0.30300.2>] 70.113.196.4 - - GET /grimwire/_design/assets/bootstrap/js/bootstrap.min.js
200
[Tue, 22 Jan 2013 04:47:17 GMT] [info] [<0.29280.2>] 70.113.196.4 - - GET /grimwire/_design/assets/fontello/font/icons.woff
200
[Tue, 22 Jan 2013 04:48:46 GMT] [info] [<0.405.3>] 127.0.0.1 - - HEAD /grimwire 200
[Tue, 22 Jan 2013 04:48:46 GMT] [info] [<0.406.3>] 127.0.0.1 - - GET /grimwire/_design/grimwire
200
[Tue, 22 Jan 2013 04:48:46 GMT] [info] [<0.406.3>] 127.0.0.1 - - PUT /grimwire/_design/grimwire
201
[Tue, 22 Jan 2013 04:48:47 GMT] [info] [<0.29280.2>] 70.113.196.4 - - GET /grimwire/_design/grimwire/index.html
200
[Tue, 22 Jan 2013 04:48:47 GMT] [info] [<0.29280.2>] 70.113.196.4 - - GET /grimwire/_design/local/_rewrite/lib/link.js
400
[Tue, 22 Jan 2013 04:48:47 GMT] [info] [<0.28838.2>] 70.113.196.4 - - GET /grimwire/_design/grimwire/index.css
200
[Tue, 22 Jan 2013 04:48:47 GMT] [info] [<0.29945.2>] 70.113.196.4 - - GET /grimwire/_design/local/lib/common-client.js
200
[Tue, 22 Jan 2013 04:48:47 GMT] [info] [<0.28837.2>] 70.113.196.4 - - GET /grimwire/_design/local/lib/myhouse.js
200
[Tue, 22 Jan 2013 04:48:47 GMT] [info] [<0.30300.2>] 70.113.196.4 - - GET /grimwire/_design/assets/fontello/css/icons.css
200
[Tue, 22 Jan 2013 04:48:47 GMT] [info] [<0.30303.2>] 70.113.196.4 - - GET /grimwire/_design/assets/bootstrap/css/bootstrap.css
200
[Tue, 22 Jan 2013 04:48:47 GMT] [info] [<0.29945.2>] 70.113.196.4 - - GET /grimwire/_design/local/lib/environment.js
200
[Tue, 22 Jan 2013 04:48:47 GMT] [info] [<0.28837.2>] 70.113.196.4 - - GET /grimwire/_design/local/lib/linkjs-ext/responder.js
200
[Tue, 22 Jan 2013 04:48:47 GMT] [info] [<0.30300.2>] 70.113.196.4 - - GET /grimwire/_design/local/lib/linkjs-ext/router.js
200
[Tue, 22 Jan 2013 04:48:47 GMT] [info] [<0.30303.2>] 70.113.196.4 - - GET /grimwire/_design/local/lib/linkjs-ext/broadcaster.js
200
[Tue, 22 Jan 2013 04:48:47 GMT] [info] [<0.30300.2>] 70.113.196.4 - - GET /grimwire/_design/grimwire/index.js
200
[Tue, 22 Jan 2013 04:48:47 GMT] [info] [<0.29945.2>] 70.113.196.4 - - GET /grimwire/_design/assets/bootstrap/js/bootstrap.min.js
200
[Tue, 22 Jan 2013 04:48:47 GMT] [info] [<0.29280.2>] 70.113.196.4 - - GET /grimwire/_design/assets/_rewrite/fontello/font/icons.woff
400
[Tue, 22 Jan 2013 04:48:48 GMT] [info] [<0.29280.2>] 70.113.196.4 - - GET /grimwire/_design/assets/_rewrite/fontello/font/icons.ttf
400
[Tue, 22 Jan 2013 04:48:48 GMT] [info] [<0.29280.2>] 70.113.196.4 - - GET /grimwire/_design/assets/_rewrite/fontello/font/icons.svg
400
[Tue, 22 Jan 2013 04:48:54 GMT] [info] [<0.29280.2>] 70.113.196.4 - - GET /grimwire/_design/grimwire/_rewrite/
400
[Tue, 22 Jan 2013 04:48:54 GMT] [info] [<0.29280.2>] 70.113.196.4 - - GET /grimwire/_design/grimwire/_rewrite/favicon.ico
400
[Tue, 22 Jan 2013 04:49:48 GMT] [info] [<0.29280.2>] 70.113.196.4 - - GET /grimwire/_design/grimwire/_rewrite/
400
[Tue, 22 Jan 2013 04:49:48 GMT] [info] [<0.29280.2>] 70.113.196.4 - - GET /grimwire/_design/grimwire/_rewrite/favicon.ico
400
[Tue, 22 Jan 2013 04:50:00 GMT] [info] [<0.29280.2>] 70.113.196.4 - - GET /grimwire/_design/grimwire/_rewrite/
400
[Tue, 22 Jan 2013 04:50:00 GMT] [info] [<0.29280.2>] 70.113.196.4 - - GET /grimwire/_design/grimwire/_rewrite/favicon.ico
400

                
> Server responds 400 "Exceeded rewrite recursion limit" indefinitely
> -------------------------------------------------------------------
>
>                 Key: COUCHDB-1651
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1651
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>            Reporter: Paul Frazee
>
> Running 1.2.1 on Windows 7 as a service.
> hosts file includes "127.0.0.1 grimwire.local"
> CouchDB conf includes vhosts entries:
> grimwire.local:5984	         /grimwire/_design/grimwire/_rewrite
> grimwire.local:5984/local	 /grimwire/_design/local/_rewrite
> 'grimwire' design doc rewrites:
> [
> 	{
> 		"from": "",
> 		"to": "index.html",
> 		"method": "GET"
> 	},
> 	{
> 		"from": "*",
> 		"to": "*"
> 	}
> ]
> 'local' design doc rewrites:
> [
> 	{
> 		"from":"",
> 		"to":"index.html",
> 		"method":"GET"
> 	},
> 	{
> 		"from":"/posts",
> 		"to":"_list/wallpost/wallpost-by-created_at",
> 		"method":"GET"
> 	},
> 	{
> 		"from":"/posts",
> 		"to":"_update/wallpost",
> 		"method":"POST"
> 	},
> 	{
> 		"from":"/posts/:id",
> 		"to":"_show/wallpost/:id",
> 		"method":"GET"
> 	},
> 	{
> 		"from":"/posts/:id",
> 		"to":"_update/wallpost/:id",
> 		"method":"PUT"
> 	},
> 	{
> 		"from":"*",
> 		"to":"*"
> 	}
> ]
> Problem:
> The requests work as expected for some unknown period, then begin to respond with a 400
status and the "Exceeded rewrite recursion limit" error message. Changing the rewrites rules
for both applications, including setting them to empty arrays, had no effect.
> The problem was solved by restarting the CouchDB service.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message