# Random Stack Level Too Deep Errors From Facebooker

**URL:** <https://www.ruby-forum.com/t/random-stack-level-too-deep-errors-from-facebooker/157941>\
**Category:** Rails\
**Created:** [January 16, 2009, 7:36pm UTC](https://www.ruby-forum.com/t/random-stack-level-too-deep-errors-from-facebooker/157941 "2009-01-16T19:36:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Law](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/53a042/32.png) [@David\_Law](https://www.ruby-forum.com/u/David_Law)\
**Post date:** [January 16, 2009, 7:36pm UTC](https://www.ruby-forum.com/t/random-stack-level-too-deep-errors-from-facebooker/157941/1 "2009-01-16T19:36:11Z")

</div>

Hi everyone,

I just recently added the facebooker plugin into the vendor/plugin,  
but have not really used it yet on the staging server. However, it  
seems that every once in a while I’ll run into an error like this:

A SystemStackError occurred in application#index:

stack level too deep  
[RAILS\_ROOT]/vendor/plugins/facebooker/lib/facebooker/rails/routing.rb:  
10:in `extract\_request\_environment\_without\_facebooker’

[RAILS\_ROOT]/vendor/plugins/facebooker/lib/facebooker/rails/routing.rb:  
10:in `extract_request_environment_without_facebooker' [RAILS_ROOT]/vendor/plugins/facebooker/lib/facebooker/rails/routing.rb: 10:in`extract\_request\_environment’  
/opt/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action\_controller/  
routing.rb:1424:in `recognize' /opt/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ dispatcher.rb:170:in`handle\_request’  
/opt/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action\_controller/  
dispatcher.rb:115:in `dispatch' /opt/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/ dispatcher.rb:126:in`dispatch\_cgi’  
/opt/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action\_controller/  
dispatcher.rb:9:in `dispatch' /opt/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/rails.rb:76:in`process’  
/opt/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/rails.rb:74:in  
`synchronize' /opt/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/rails.rb:74:in`process’  
/opt/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in  
`process_client' /opt/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in`each’  
/opt/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in  
`process_client' /opt/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in`run’  
/opt/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in  
`initialize' /opt/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in`new’  
/opt/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' /opt/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in`initialize’  
/opt/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' /opt/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in`run’  
/opt/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:  
282:in `run' /opt/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb: 281:in`each’  
/opt/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:  
281:in `run' /opt/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in`run’  
/opt/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:  
212:in `run' /opt/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 /opt/bin/mongrel_rails:19:in`load’  
/opt/bin/mongrel\_rails:19

I’m not sure what would be the first step in debugging this as it does  
not seem to happen everytime but often enough and only on the staging  
server as opposed to the development machines. Does anyone have an  
idea on what could be going on here? Is it a conflict with another  
plugin that might have also overridden extract\_request\_environment?  
Thanks in advance.
