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, 12 Feb 2013 15:15:13 GMT

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

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

Here's the log leading up to the moment of death, and the refresh:

{code}
Tue, 12 Feb 2013 15:04:19 GMT] [info] [<0.4774.1>] 108.95.144.117 - - GET
/grimwire/_design/assets/fontello/css/icons.css 304
[Tue, 12 Feb 2013 15:04:19 GMT] [info] [<0.8883.1>] 108.95.144.117 - - GET
/grimwire/_design/local/lib/link.js 304
[Tue, 12 Feb 2013 15:04:19 GMT] [info] [<0.6286.1>] 108.95.144.117 - - GET
/grimwire/_design/grimwire/index.css 304
[Tue, 12 Feb 2013 15:04:19 GMT] [info] [<0.24165.0>] 108.95.144.117 - - GET
/grimwire/_design/local/lib/common-client.js 304
[Tue, 12 Feb 2013 15:04:19 GMT] [info] [<0.8572.1>] 108.95.144.117 - - GET
/grimwire/_design/local/lib/myhouse.js 304
[Tue, 12 Feb 2013 15:04:19 GMT] [info] [<0.11928.0>] 108.95.144.117 - - GET
/grimwire/_design/assets/bootstrap/css/bootstrap.css 304
[Tue, 12 Feb 2013 15:04:20 GMT] [info] [<0.4774.1>] 108.95.144.117 - - GET
/grimwire/_design/local/lib/environment.js 304
[Tue, 12 Feb 2013 15:04:20 GMT] [info] [<0.8883.1>] 108.95.144.117 - - GET
/grimwire/_design/local/lib/linkjs-ext/responder.js 304
[Tue, 12 Feb 2013 15:04:20 GMT] [info] [<0.6286.1>] 108.95.144.117 - - GET
/grimwire/_design/local/lib/linkjs-ext/router.js 304
[Tue, 12 Feb 2013 15:04:20 GMT] [info] [<0.24165.0>] 108.95.144.117 - - GET
/grimwire/_design/local/lib/linkjs-ext/broadcaster.js 304
[Tue, 12 Feb 2013 15:04:20 GMT] [info] [<0.11928.0>] 108.95.144.117 - - GET
/grimwire/_design/grimwire/grim/client.js 304
[Tue, 12 Feb 2013 15:04:20 GMT] [info] [<0.4774.1>] 108.95.144.117 - - GET
/grimwire/_design/grimwire/grim/center-elem.js 304
[Tue, 12 Feb 2013 15:04:20 GMT] [info] [<0.8883.1>] 108.95.144.117 - - GET
/grimwire/_design/grimwire/grim/appserver.js 304
[Tue, 12 Feb 2013 15:04:20 GMT] [info] [<0.8572.1>] 108.95.144.117 - - GET
/grimwire/_design/assets/bootstrap/js/bootstrap.min.js 304
[Tue, 12 Feb 2013 15:04:20 GMT] [info] [<0.6286.1>] 108.95.144.117 - - GET
/grimwire/_design/grimwire/grim/intents.js 304
[Tue, 12 Feb 2013 15:04:20 GMT] [info] [<0.24165.0>] 108.95.144.117 - - GET
/grimwire/_design/grimwire/grim/env/scripts.js 304
[Tue, 12 Feb 2013 15:04:20 GMT] [info] [<0.11928.0>] 108.95.144.117 - - GET
/grimwire/_design/grimwire/_rewrite/grim/env/localstorage.js 400
[Tue, 12 Feb 2013 15:04:20 GMT] [info] [<0.4774.1>] 108.95.144.117 - - GET
/grimwire/_design/grimwire/index.js 304
[Tue, 12 Feb 2013 15:04:20 GMT] [info] [<0.11928.0>] 108.95.144.117 - - GET
/grimwire/_design/assets/_rewrite/icons/16x16/global_telecom.png 400
[Tue, 12 Feb 2013 15:04:20 GMT] [info] [<0.11928.0>] 108.95.144.117 - - GET
/grimwire/_design/grimwire/_rewrite/ 400
[Tue, 12 Feb 2013 15:04:20 GMT] [info] [<0.11928.0>] 108.95.144.117 - - GET
/grimwire/_design/grimwire/_rewrite/favicon.ico 400
[Tue, 12 Feb 2013 15:05:37 GMT] [info] [<0.32.0>] Apache CouchDB has
started on http://0.0.0.0:80/
{code}

here's another:

{code}
[Tue, 12 Feb 2013 15:10:43 GMT] [info] [<0.126.0>] 108.95.144.117 - - GET
/grimwire/_design/assets/fontello/css/icons.css 304
[Tue, 12 Feb 2013 15:10:43 GMT] [info] [<0.157.0>] 108.95.144.117 - - GET
/grimwire/_design/local/lib/environment.js 304
[Tue, 12 Feb 2013 15:10:43 GMT] [info] [<0.133.0>] 108.95.144.117 - - GET
/grimwire/_design/local/lib/linkjs-ext/responder.js 304
[Tue, 12 Feb 2013 15:10:43 GMT] [info] [<0.212.0>] 108.95.144.117 - - GET
/grimwire/_design/local/lib/linkjs-ext/router.js 304
[Tue, 12 Feb 2013 15:10:43 GMT] [info] [<0.158.0>] 108.95.144.117 - - GET
/grimwire/_design/local/lib/linkjs-ext/broadcaster.js 304
[Tue, 12 Feb 2013 15:10:44 GMT] [info] [<0.128.0>] 108.95.144.117 - - GET
/grimwire/_design/assets/bootstrap/js/bootstrap.min.js 304
[Tue, 12 Feb 2013 15:10:44 GMT] [info] [<0.126.0>] 108.95.144.117 - - GET
/grimwire/_design/grimwire/grim/client.js 304
[Tue, 12 Feb 2013 15:10:44 GMT] [info] [<0.157.0>] 108.95.144.117 - - GET
/grimwire/_design/grimwire/grim/center-elem.js 304
[Tue, 12 Feb 2013 15:10:44 GMT] [info] [<0.133.0>] 108.95.144.117 - - GET
/grimwire/_design/grimwire/grim/appserver.js 304
[Tue, 12 Feb 2013 15:10:44 GMT] [info] [<0.212.0>] 108.95.144.117 - - GET
/grimwire/_design/grimwire/grim/intents.js 304
[Tue, 12 Feb 2013 15:10:44 GMT] [info] [<0.158.0>] 108.95.144.117 - - GET
/grimwire/_design/grimwire/grim/env/scripts.js 304
[Tue, 12 Feb 2013 15:10:44 GMT] [info] [<0.128.0>] 108.95.144.117 - - GET
/grimwire/_design/grimwire/grim/env/localstorage.js 304
[Tue, 12 Feb 2013 15:10:44 GMT] [info] [<0.126.0>] 108.95.144.117 - - GET
/grimwire/_design/grimwire/index.js 304
[Tue, 12 Feb 2013 15:10:44 GMT] [info] [<0.126.0>] 108.95.144.117 - - GET
/grimwire/_design/local/lib/worker_bootstrap.js 304
[Tue, 12 Feb 2013 15:10:44 GMT] [info] [<0.126.0>] 108.95.144.117 - - GET
/grimwire/_design/local/lib/worker_httpl.js 304
[Tue, 12 Feb 2013 15:10:45 GMT] [info] [<0.126.0>] 108.95.144.117 - - GET
/grimwire/_design/local/lib/link.js 304
[Tue, 12 Feb 2013 15:10:45 GMT] [info] [<0.128.0>] 108.95.144.117 - - GET
/grimwire/_design/assets/icons/16x16/global_telecom.png 304
[Tue, 12 Feb 2013 15:10:45 GMT] [info] [<0.126.0>] 108.95.144.117 - - GET
/grimwire/_design/grimwire/_rewrite/grim/app/debug/index.js 400
[Tue, 12 Feb 2013 15:10:45 GMT] [info] [<0.158.0>] 108.95.144.117 - - GET
/grimwire/_design/grimwire/grim/app/help/about.js 304
[Tue, 12 Feb 2013 15:10:45 GMT] [info] [<0.212.0>] 108.95.144.117 - - GET
/grimwire/_design/grimwire/grim/app/util/form.js 304
[Tue, 12 Feb 2013 15:10:45 GMT] [info] [<0.133.0>] 108.95.144.117 - - GET
/grimwire/_design/grimwire/grim/app/util/log.js 304
[Tue, 12 Feb 2013 15:10:45 GMT] [info] [<0.157.0>] 108.95.144.117 - - GET
/grimwire/_design/grimwire/grim/app/edit/text.js 304
[Tue, 12 Feb 2013 15:10:45 GMT] [info] [<0.128.0>] 108.95.144.117 - - GET
/grimwire/_design/grimwire/grim/app/convert/markdown.js 304
[Tue, 12 Feb 2013 15:10:45 GMT] [info] [<0.158.0>] 108.95.144.117 - - GET
/grimwire/_design/local/lib/linkjs-ext/responder.js 304
[Tue, 12 Feb 2013 15:10:46 GMT] [info] [<0.158.0>] 108.95.144.117 - - GET
/grimwire/_design/local/lib/linkjs-ext/router.js 304
[Tue, 12 Feb 2013 15:10:46 GMT] [info] [<0.126.0>] 108.95.144.117 - - GET
/grimwire/_design/grimwire/_rewrite/ 400
[Tue, 12 Feb 2013 15:10:47 GMT] [info] [<0.126.0>] 108.95.144.117 - - GET
/grimwire/_design/grimwire/_rewrite/favicon.ico 400
{code}

There always seems to be one asset that suddenly hits the _rewrite path,
and then eventually the 2 400s at the bottom. I have tried to figure out
what URL I need to hit to trigger the fault, but nothing works -- when I
target _rewrite paths in my browser, I'm correctly routed to a safe place
(which is what appears in my log--- the non-_rewrite destination).




                
> 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