Configuring API Umbrella with LDAP #278

Open
pradeeban opened this Issue Aug 5, 2016 · 7 comments

Projects

None yet

4 participants

@pradeeban

I am trying to configure API Umbrella with OpenLDAP, both running in docker containers. Unfortunately when ldap is enabled in the configuration file, https://lion.bmi.emory.edu/admin/ is throwing a gateway timeout. This might be something to do with the OmniAuth LDAP configurations. Please let me know whether I missed something. I see some procedures in https://github.com/intridea/omniauth-ldap which I did not follow. Do I have to follow them too? The steps that I followed are detailed below.

Add to /etc/hosts:
127.0.0.1 ldap.my-company.com

Make the configuration file:
$ mkdir config && touch config/api-umbrella.yml

web:
admin:
initial_superusers:
- pkathi2@emory.edu
auth_strategies:
enabled:
- github
- google
- persona
- ldap
github:
client_id: xxxxxxxxxxxxx
client_secret: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
google:
client_id: yyyyyy-yyyy.apps.googleusercontent.com
client_secret: yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
ldap:
options:
host: lion.bmi.emory.edu
port: 389
base: dc=example, dc=org

Follow the wiki on configuring github and google authentication.
http://api-umbrella.readthedocs.io/en/latest/getting-started.html

(Everything works fine without LDAP enabled in the configuration. So the issue is specific to LDAP configuration).

Run the OpenLDAP Docker container:
sudo docker run --hostname lion.bmi.emory.edu -p 389:389 -p 636:636 --name my-openldap-container --detach osixia/openldap:1.1.5

Run the API Umbrella Docker container:
sudo docker run -d --name=api-umbrella -p 80:80 -p 443:443 --link my-openldap-container:ldap -v $PWD/config:/etc/api-umbrella
-v /var/log/api-umbrella/nginx:/var/log/api-umbrella/nginx
-v /var/log/api-umbrella/web-puma/current:/var/log/api-umbrella/web-puma/current
-v /var/log/api-umbrella/trafficserver/access.blog:/var/log/api-umbrella/trafficserver/access.blog
nrel/api-umbrella

@GUI
Member
GUI commented Aug 9, 2016

Are there any errors in /var/log/api-umbrella/web-puma/current? I haven't setup authentication with LDAP before, so I'm not really sure of the specifics, but it does seem like this might be some kind of connectivity error. But hopefully the log files might have something helpful in it.

@pradeeban

Please find the logs below:

[sharmalabadmin@lion web-puma]$ tail -f current
2016-08-09T13:01:43.42762 [82] Puma starting in cluster mode...
2016-08-09T13:01:43.42765 [82] * Version 2.11.3 (ruby 2.2.5-p319), codename: Intrepid Squirrel
2016-08-09T13:01:43.42766 [82] * Min threads: 2, max threads: 24
2016-08-09T13:01:43.42766 [82] * Environment: production
2016-08-09T13:01:43.42767 [82] * Process workers: 2
2016-08-09T13:01:43.42767 [82] * Phased restart available
2016-08-09T13:01:43.42767 [82] * Listening on unix:///opt/api-umbrella/var/run/web-puma.sock
2016-08-09T13:01:43.43295 [82] Use Ctrl-C to stop
2016-08-09T13:01:43.46366 [244] + Gemfile in context: /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/Gemfile
2016-08-09T13:01:43.51642 [247] + Gemfile in context: /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/Gemfile

2016-08-09T13:02:44.26604 [82] ! Terminating timed out worker: 244
2016-08-09T13:02:44.28829 [82] ! Terminating timed out worker: 247
2016-08-09T13:02:47.43481 [488] + Gemfile in context: /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/Gemfile
2016-08-09T13:02:47.43484 [485] + Gemfile in context: /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/Gemfile

2016-08-09T13:03:14.29921 Rails Error: Unable to access log file. Please ensure that /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/log/production.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.
2016-08-09T13:03:14.30226 Rails Error: Unable to access log file. Please ensure that /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/log/production.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.
2016-08-09T13:03:16.37435 /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:143:in initialize'/opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:143:ininitialize': Received wrong number of arguments. nil
2016-08-09T13:03:16.37473 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:43:in new' 2016-08-09T13:03:16.37474 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:43:inbuild'
2016-08-09T13:03:16.37474 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:in block in build' 2016-08-09T13:03:16.37475 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:ineach'
2016-08-09T13:03:16.37475 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:in inject' 2016-08-09T13:03:16.37476 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:inbuild'
2016-08-09T13:03:16.37478 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/engine.rb:475:in app' 2016-08-09T13:03:16.37479 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/application/finisher.rb:31:inblock in module:Finisher'
2016-08-09T13:03:16.37479 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:30:in instance_exec' 2016-08-09T13:03:16.37479 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:30:inrun'
2016-08-09T13:03:16.37480 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:55:in block in run_initializers' 2016-08-09T13:03:16.37481 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:54:ineach'
2016-08-09T13:03:16.37482 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:54:in run_initializers' 2016-08-09T13:03:16.37483 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/application.rb:136:ininitialize!'
2016-08-09T13:03:16.37483 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/railtie/configurable.rb:30:in method_missing' 2016-08-09T13:03:16.37483 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/config/environment.rb:5:in<top (required)>'
2016-08-09T13:03:16.37484 from /opt/api-umbrella/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require' 2016-08-09T13:03:16.37484 from /opt/api-umbrella/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:inrequire'
2016-08-09T13:03:16.37485 from config.ru:3:in block in <main>' 2016-08-09T13:03:16.37486 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:51:ininstance_eval'
2016-08-09T13:03:16.38338 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:51:in initialize' 2016-08-09T13:03:16.38339 from config.ru:innew'
2016-08-09T13:03:16.38339 from config.ru:in <main>' 2016-08-09T13:03:16.38340 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:40:ineval'
2016-08-09T13:03:16.38340 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:40:in parse_file' 2016-08-09T13:03:16.38341 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/configuration.rb:102:inload_rackup'
2016-08-09T13:03:16.38341 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/configuration.rb:69:in app' 2016-08-09T13:03:16.38341 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/runner.rb:123:inapp'
2016-08-09T13:03:16.38343 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/runner.rb:130:in start_server' 2016-08-09T13:03:16.38344 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:213:inworker'
2016-08-09T13:03:16.38344 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:in block (2 levels) in spawn_workers' 2016-08-09T13:03:16.38347 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:infork'
2016-08-09T13:03:16.38348 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:in block in spawn_workers' 2016-08-09T13:03:16.38348 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:105:intimes'
2016-08-09T13:03:16.38349 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:105:in spawn_workers' 2016-08-09T13:03:16.38350 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:157:incheck_workers'
2016-08-09T13:03:16.38350 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:421:in run' 2016-08-09T13:03:16.38350 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cli.rb:216:inrun'
2016-08-09T13:03:16.38351 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/bin/puma-wild:31:in <main>' 2016-08-09T13:03:16.38351 : Received wrong number of arguments. [nil] (ArgumentError) 2016-08-09T13:03:16.38352 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:43:innew'
2016-08-09T13:03:16.38352 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:43:in build' 2016-08-09T13:03:16.38353 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:inblock in build'
2016-08-09T13:03:16.38354 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:in each' 2016-08-09T13:03:16.38354 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:ininject'
2016-08-09T13:03:16.38354 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:in build' 2016-08-09T13:03:16.38355 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/engine.rb:475:inapp'
2016-08-09T13:03:16.38355 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/application/finisher.rb:31:in block in <module:Finisher>' 2016-08-09T13:03:16.38356 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:30:ininstance_exec'
2016-08-09T13:03:16.38357 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:30:in run' 2016-08-09T13:03:16.38357 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:55:inblock in run_initializers'
2016-08-09T13:03:16.38358 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:54:in each' 2016-08-09T13:03:16.38358 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:54:inrun_initializers'
2016-08-09T13:03:16.38358 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/application.rb:136:in initialize!' 2016-08-09T13:03:16.38360 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/railtie/configurable.rb:30:inmethod_missing'
2016-08-09T13:03:16.38360 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/config/environment.rb:5:in <top (required)>' 2016-08-09T13:03:16.38361 from /opt/api-umbrella/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:inrequire'
2016-08-09T13:03:16.38361 from /opt/api-umbrella/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require' 2016-08-09T13:03:16.38362 from config.ru:3:inblock in

'
2016-08-09T13:03:16.38362 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:51:in instance_eval' 2016-08-09T13:03:16.38362 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:51:ininitialize'
2016-08-09T13:03:16.38363 from config.ru:in new' 2016-08-09T13:03:16.38363 from config.ru:in'
2016-08-09T13:03:16.38363 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:40:in eval' 2016-08-09T13:03:16.38364 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:40:inparse_file'
2016-08-09T13:03:16.38365 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/configuration.rb:102:in load_rackup' 2016-08-09T13:03:16.38365 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/configuration.rb:69:inapp'
2016-08-09T13:03:16.38366 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/runner.rb:123:in app' 2016-08-09T13:03:16.38366 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/runner.rb:130:instart_server'
2016-08-09T13:03:16.38366 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:213:in worker' 2016-08-09T13:03:16.38367 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:inblock (2 levels) in spawn_workers'
2016-08-09T13:03:16.38368 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:in fork' 2016-08-09T13:03:16.38368 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:inblock in spawn_workers'
2016-08-09T13:03:16.38369 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:105:in times' 2016-08-09T13:03:16.38369 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:105:inspawn_workers'
2016-08-09T13:03:16.38369 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:157:in check_workers' 2016-08-09T13:03:16.38370 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:421:inrun'
2016-08-09T13:03:16.38370 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cli.rb:216:in run' 2016-08-09T13:03:16.38371 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/bin/puma-wild:31:in'
2016-08-09T13:03:21.99888 [717] + Gemfile in context: /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/Gemfile
2016-08-09T13:03:22.03537 [719] + Gemfile in context: /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/Gemfile
2016-08-09T13:03:45.87438 Rails Error: Unable to access log file. Please ensure that /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/log/production.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.
2016-08-09T13:03:45.87869 Rails Error: Unable to access log file. Please ensure that /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/log/production.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.
2016-08-09T13:03:48.99034 /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:143:in initialize': Received wrong number of arguments. [nil] (ArgumentError) 2016-08-09T13:03:48.99038 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:43:innew'
2016-08-09T13:03:48.99038 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:43:in build' 2016-08-09T13:03:48.99039 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:inblock in build'
2016-08-09T13:03:48.99039 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:in each' 2016-08-09T13:03:48.99040 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:ininject'
2016-08-09T13:03:48.99042 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:in build' 2016-08-09T13:03:48.99043 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/engine.rb:475:inapp'
2016-08-09T13:03:48.99043 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/application/finisher.rb:31:in block in <module:Finisher>' 2016-08-09T13:03:48.99044 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:30:ininstance_exec'
2016-08-09T13:03:48.99044 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:30:in run' 2016-08-09T13:03:48.99045 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:55:inblock in run_initializers'
2016-08-09T13:03:48.99046 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:54:in each' 2016-08-09T13:03:48.99046 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:54:inrun_initializers'
2016-08-09T13:03:48.99046 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/application.rb:136:in initialize!' 2016-08-09T13:03:48.99047 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/railtie/configurable.rb:30:inmethod_missing'
2016-08-09T13:03:48.99047 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/config/environment.rb:5:in <top (required)>' 2016-08-09T13:03:48.99049 from /opt/api-umbrella/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:inrequire'
2016-08-09T13:03:48.99050 from /opt/api-umbrella/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require' 2016-08-09T13:03:48.99050 from config.ru:3:inblock in '
2016-08-09T13:03:48.99051 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:51:in instance_eval' 2016-08-09T13:03:48.99051 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:51:ininitialize'
2016-08-09T13:03:48.99052 from config.ru:in new' 2016-08-09T13:03:48.99052 from config.ru:in'
2016-08-09T13:03:48.99053 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:40:in eval' 2016-08-09T13:03:48.99053 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:40:inparse_file'
2016-08-09T13:03:48.99053 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/configuration.rb:102:in load_rackup' 2016-08-09T13:03:48.99054 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/configuration.rb:69:inapp'
2016-08-09T13:03:48.99054 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/runner.rb:123:in app' 2016-08-09T13:03:48.99055 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/runner.rb:130:instart_server'
2016-08-09T13:03:48.99056 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:213:in worker' 2016-08-09T13:03:48.99056 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:inblock (2 levels) in spawn_workers'
2016-08-09T13:03:48.99056 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:in fork' 2016-08-09T13:03:48.99057 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:inblock in spawn_workers'
2016-08-09T13:03:48.99057 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:105:in times' 2016-08-09T13:03:48.99058 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:105:inspawn_workers'
2016-08-09T13:03:48.99059 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:157:in check_workers' 2016-08-09T13:03:48.99059 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:421:inrun'
2016-08-09T13:03:48.99060 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cli.rb:216:in run' 2016-08-09T13:03:48.99060 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/bin/puma-wild:31:in'
2016-08-09T13:03:48.99760 /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:143:in initialize': Received wrong number of arguments. [nil] (ArgumentError) 2016-08-09T13:03:48.99761 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:43:innew'
2016-08-09T13:03:48.99762 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:43:in build' 2016-08-09T13:03:48.99763 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:inblock in build'
2016-08-09T13:03:48.99763 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:in each' 2016-08-09T13:03:48.99764 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:ininject'
2016-08-09T13:03:48.99765 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:in build' 2016-08-09T13:03:48.99765 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/engine.rb:475:inapp'
2016-08-09T13:03:48.99765 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/application/finisher.rb:31:in block in <module:Finisher>' 2016-08-09T13:03:48.99766 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:30:ininstance_exec'
2016-08-09T13:03:48.99766 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:30:in run' 2016-08-09T13:03:48.99766 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:55:inblock in run_initializers'
2016-08-09T13:03:48.99767 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:54:in each' 2016-08-09T13:03:48.99768 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:54:inrun_initializers'
2016-08-09T13:03:48.99768 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/application.rb:136:in initialize!' 2016-08-09T13:03:48.99768 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/railtie/configurable.rb:30:inmethod_missing'
2016-08-09T13:03:48.99769 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/config/environment.rb:5:in <top (required)>' 2016-08-09T13:03:48.99769 from /opt/api-umbrella/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:inrequire'
2016-08-09T13:03:48.99769 from /opt/api-umbrella/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require' 2016-08-09T13:03:48.99770 from config.ru:3:inblock in '
2016-08-09T13:03:48.99770 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:51:in instance_eval' 2016-08-09T13:03:48.99771 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:51:ininitialize'
2016-08-09T13:03:48.99771 from config.ru:in new' 2016-08-09T13:03:48.99772 from config.ru:in'
2016-08-09T13:03:48.99772 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:40:in eval' 2016-08-09T13:03:48.99772 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:40:inparse_file'
2016-08-09T13:03:48.99774 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/configuration.rb:102:in load_rackup' 2016-08-09T13:03:48.99775 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/configuration.rb:69:inapp'
2016-08-09T13:03:48.99775 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/runner.rb:123:in app' 2016-08-09T13:03:48.99776 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/runner.rb:130:instart_server'
2016-08-09T13:03:48.99777 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:213:in worker' 2016-08-09T13:03:48.99777 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:inblock (2 levels) in spawn_workers'
2016-08-09T13:03:48.99777 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:in fork' 2016-08-09T13:03:48.99778 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:inblock in spawn_workers'
2016-08-09T13:03:48.99778 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:105:in times' 2016-08-09T13:03:48.99779 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:105:inspawn_workers'
2016-08-09T13:03:48.99780 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:157:in check_workers' 2016-08-09T13:03:48.99780 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:421:inrun'
2016-08-09T13:03:48.99781 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cli.rb:216:in run' 2016-08-09T13:03:48.99781 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/bin/puma-wild:31:in'

2016-08-09T13:03:55.22852 [928] + Gemfile in context: /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/Gemfile
2016-08-09T13:03:55.22952 [930] + Gemfile in context: /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/Gemfile

Any hints?

@GUI
Member
GUI commented Aug 10, 2016

It looks like there is a bug that prevents custom configuration for the omniauth-ldap and omniauth-cas strategies from working as expected. Sorry about that, but thanks for reporting the issue!

We'll look to get this patched in the next release, but if you want to try to workaround this now, you can edit the /opt/api-umbrella/embedded/apps/core/current/config/default.yml file on your server. Replace line 101 that reads options: with options: {}. Then if you restart API Umbrella, I believe your custom LDAP settings from your /etc/api-umbrella/api-umbrella.yml file should be picked up, assuming they look something like:

web:
  admin:
    auth_strategies:
      enabled:
      - ldap
      ldap:
        options:
          host: example.com
          port: 123
          etc...
@pradeeban

I modified options: with options: {} in the /opt/api-umbrella/embedded/apps/core/current/config/default.yml file as you suggested.

I usually include the configurations in config/api-umbrella.yml, and left /etc/api-umbrella/api-umbrella.yml unmodified. However, as you suggested I now have identical config/api-umbrella.yml and /etc/api-umbrella/api-umbrella.yml after copying config/api-umbrella.yml to /etc/api-umbrella/api-umbrella.yml manually.

The configuration is:
web:
admin:
initial_superusers:
- pkathi2@emory.edu
auth_strategies:
enabled:
- github
- google
- persona
- ldap
github:
client_id: xxxxxx
client_secret: xxxxxxxxxx
google:
client_id: xxxxx
client_secret: xxxx
ldap:
options:
host: lion.bmi.emory.edu
port: 389
base: dc=example, dc=org

I restarted the API-Umbrella docker container. But seems the error is repeating. See the logs below.

$ sudo tail -f /var/log/api-umbrella/web-puma/current
[sudo] password for sharmalabadmin:
2016-08-10T11:45:49.73834 [83] * Process workers: 2
2016-08-10T11:45:49.73834 [83] * Phased restart available
2016-08-10T11:45:49.73835 [83] * Listening on unix:///opt/api-umbrella/var/run/web-puma.sock
2016-08-10T11:45:49.73835 [83] Use Ctrl-C to stop
2016-08-10T11:45:49.77723 [200] + Gemfile in context: /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/Gemfile
2016-08-10T11:45:49.80096 [202] + Gemfile in context: /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/Gemfile
2016-08-10T11:46:52.49652 [83] ! Terminating timed out worker: 200
2016-08-10T11:46:52.55027 [83] ! Terminating timed out worker: 202
2016-08-10T11:46:53.63239 [479] + Gemfile in context: /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/Gemfile
2016-08-10T11:46:53.63242 [482] + Gemfile in context: /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/Gemfile

2016-08-10T11:47:48.09403 Rails Error: Unable to access log file. Please ensure that /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/log/production.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.
2016-08-10T11:47:48.11237 Rails Error: Unable to access log file. Please ensure that /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/log/production.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.
2016-08-10T11:47:49.45749 /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:143:in initialize': Received wrong number of arguments. [nil] (ArgumentError) 2016-08-10T11:47:49.45753 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:43:innew'
2016-08-10T11:47:49.45754 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:43:in build' 2016-08-10T11:47:49.45754 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:inblock in build'
2016-08-10T11:47:49.45755 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:in each' 2016-08-10T11:47:49.45755 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:ininject'
2016-08-10T11:47:49.45757 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:in build' 2016-08-10T11:47:49.45757 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/engine.rb:475:inapp'
2016-08-10T11:47:49.45760 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/application/finisher.rb:31:in block in <module:Finisher>' 2016-08-10T11:47:49.45761 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:30:ininstance_exec'
2016-08-10T11:47:49.45761 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:30:in run' 2016-08-10T11:47:49.45762 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:55:inblock in run_initializers'
2016-08-10T11:47:49.45763 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:54:in each' 2016-08-10T11:47:49.45763 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:54:inrun_initializers'
2016-08-10T11:47:49.45763 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/application.rb:136:in initialize!' 2016-08-10T11:47:49.45764 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/railtie/configurable.rb:30:inmethod_missing'
2016-08-10T11:47:49.45764 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/config/environment.rb:5:in <top (required)>' 2016-08-10T11:47:49.45765 from /opt/api-umbrella/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:inrequire'
2016-08-10T11:47:49.45765 from /opt/api-umbrella/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require' 2016-08-10T11:47:49.45765 from config.ru:3:inblock in

'
2016-08-10T11:47:49.45767 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:51:in instance_eval' 2016-08-10T11:47:49.45767 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:51:ininitialize'
2016-08-10T11:47:49.45767 from config.ru:in new' 2016-08-10T11:47:49.45768 from config.ru:in'
2016-08-10T11:47:49.45768 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:40:in eval' 2016-08-10T11:47:49.45768 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:40:inparse_file'
2016-08-10T11:47:49.45769 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/configuration.rb:102:in load_rackup' 2016-08-10T11:47:49.45769 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/configuration.rb:69:inapp'
2016-08-10T11:47:49.45770 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/runner.rb:123:in app' 2016-08-10T11:47:49.45771 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/runner.rb:130:instart_server'
2016-08-10T11:47:49.45771 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:213:in worker' 2016-08-10T11:47:49.45771 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:inblock (2 levels) in spawn_workers'
2016-08-10T11:47:49.45772 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:in fork' 2016-08-10T11:47:49.45773 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:inblock in spawn_workers'
2016-08-10T11:47:49.45773 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:105:in times' 2016-08-10T11:47:49.45774 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:105:inspawn_workers'
2016-08-10T11:47:49.45775 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:157:in check_workers' 2016-08-10T11:47:49.45775 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:421:inrun'
2016-08-10T11:47:49.45776 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cli.rb:216:in run' 2016-08-10T11:47:49.45776 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/bin/puma-wild:31:in'
2016-08-10T11:47:49.46170 /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:143:in initialize': Received wrong number of arguments. [nil] (ArgumentError) 2016-08-10T11:47:49.46172 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:43:innew'
2016-08-10T11:47:49.46172 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:43:in build' 2016-08-10T11:47:49.46173 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:inblock in build'
2016-08-10T11:47:49.46173 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:in each' 2016-08-10T11:47:49.46174 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:ininject'
2016-08-10T11:47:49.46175 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:in build' 2016-08-10T11:47:49.46175 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/engine.rb:475:inapp'
2016-08-10T11:47:49.46176 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/application/finisher.rb:31:in block in <module:Finisher>' 2016-08-10T11:47:49.46176 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:30:ininstance_exec'
2016-08-10T11:47:49.46177 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:30:in run' 2016-08-10T11:47:49.46177 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:55:inblock in run_initializers'
2016-08-10T11:47:49.46178 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:54:in each' 2016-08-10T11:47:49.46179 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:54:inrun_initializers'
2016-08-10T11:47:49.46179 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/application.rb:136:in initialize!' 2016-08-10T11:47:49.46182 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/railtie/configurable.rb:30:inmethod_missing'
2016-08-10T11:47:49.46182 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/config/environment.rb:5:in <top (required)>' 2016-08-10T11:47:49.46183 from /opt/api-umbrella/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:inrequire'
2016-08-10T11:47:49.46183 from /opt/api-umbrella/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require' 2016-08-10T11:47:49.46183 from config.ru:3:inblock in '
2016-08-10T11:47:49.46184 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:51:in instance_eval' 2016-08-10T11:47:49.46185 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:51:ininitialize'
2016-08-10T11:47:49.46185 from config.ru:in new' 2016-08-10T11:47:49.46186 from config.ru:in'
2016-08-10T11:47:49.46186 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:40:in eval' 2016-08-10T11:47:49.46186 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:40:inparse_file'
2016-08-10T11:47:49.46187 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/configuration.rb:102:in load_rackup' 2016-08-10T11:47:49.46187 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/configuration.rb:69:inapp'
2016-08-10T11:47:49.46187 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/runner.rb:123:in app' 2016-08-10T11:47:49.46189 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/runner.rb:130:instart_server'
2016-08-10T11:47:49.46189 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:213:in worker' 2016-08-10T11:47:49.46189 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:inblock (2 levels) in spawn_workers'
2016-08-10T11:47:49.46190 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:in fork' 2016-08-10T11:47:49.46190 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:inblock in spawn_workers'
2016-08-10T11:47:49.46191 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:105:in times' 2016-08-10T11:47:49.46191 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:105:inspawn_workers'
2016-08-10T11:47:49.46192 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:157:in check_workers' 2016-08-10T11:47:49.46193 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:421:inrun'
2016-08-10T11:47:49.46193 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cli.rb:216:in run' 2016-08-10T11:47:49.46193 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/bin/puma-wild:31:in'
2016-08-10T11:47:54.96690 [83] ! Terminating timed out worker: 479
2016-08-10T11:47:54.96695 [83] ! Terminating timed out worker: 482
2016-08-10T11:47:56.70916 [749] + Gemfile in context: /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/Gemfile
2016-08-10T11:47:56.70919 [747] + Gemfile in context: /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/Gemfile
2016-08-10T11:48:12.05540 Rails Error: Unable to access log file. Please ensure that /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/log/production.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.
2016-08-10T11:48:12.13845 Rails Error: Unable to access log file. Please ensure that /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/log/production.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.
2016-08-10T11:48:14.64739 /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:143:in initialize': Received wrong number of arguments. [nil] (ArgumentError) 2016-08-10T11:48:14.64743 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:43:innew'
2016-08-10T11:48:14.64744 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:43:in build' 2016-08-10T11:48:14.64744 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:inblock in build'
2016-08-10T11:48:14.64745 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:in each' 2016-08-10T11:48:14.64745 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:ininject'
2016-08-10T11:48:14.64747 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:in build' 2016-08-10T11:48:14.64747 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/engine.rb:475:inapp'
2016-08-10T11:48:14.64747 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/application/finisher.rb:31:in block in <module:Finisher>' 2016-08-10T11:48:14.64748 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:30:ininstance_exec'
2016-08-10T11:48:14.64748 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:30:in run' 2016-08-10T11:48:14.64749 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:55:inblock in run_initializers'
2016-08-10T11:48:14.64750 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:54:in each' 2016-08-10T11:48:14.64750 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:54:inrun_initializers'
2016-08-10T11:48:14.64751 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/application.rb:136:in initialize!' 2016-08-10T11:48:14.64751 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/railtie/configurable.rb:30:inmethod_missing'
2016-08-10T11:48:14.64754 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/config/environment.rb:5:in <top (required)>' 2016-08-10T11:48:14.64754 from /opt/api-umbrella/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:inrequire'
2016-08-10T11:48:14.64755 from /opt/api-umbrella/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require' 2016-08-10T11:48:14.64755 from config.ru:3:inblock in '
2016-08-10T11:48:14.64756 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:51:in instance_eval' 2016-08-10T11:48:14.64756 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:51:ininitialize'
2016-08-10T11:48:14.64757 from config.ru:in new' 2016-08-10T11:48:14.64757 from config.ru:in'
2016-08-10T11:48:14.64758 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:40:in eval' 2016-08-10T11:48:14.64758 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:40:inparse_file'
2016-08-10T11:48:14.64758 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/configuration.rb:102:in load_rackup' 2016-08-10T11:48:14.64759 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/configuration.rb:69:inapp'
2016-08-10T11:48:14.64759 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/runner.rb:123:in app' 2016-08-10T11:48:14.64760 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/runner.rb:130:instart_server'
2016-08-10T11:48:14.64761 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:213:in worker' 2016-08-10T11:48:14.64761 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:inblock (2 levels) in spawn_workers'
2016-08-10T11:48:14.64761 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:in fork' 2016-08-10T11:48:14.64762 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:inblock in spawn_workers'
2016-08-10T11:48:14.64763 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:105:in times' 2016-08-10T11:48:14.64763 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:105:inspawn_workers'
2016-08-10T11:48:14.64765 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:157:in check_workers' 2016-08-10T11:48:14.64765 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:421:inrun'
2016-08-10T11:48:14.64765 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cli.rb:216:in run' 2016-08-10T11:48:14.64766 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/bin/puma-wild:31:in'
2016-08-10T11:48:14.64766 /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:143:in initialize': Received wrong number of arguments. [nil] (ArgumentError) 2016-08-10T11:48:14.64767 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:43:innew'
2016-08-10T11:48:14.64768 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:43:in build' 2016-08-10T11:48:14.64769 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:inblock in build'
2016-08-10T11:48:14.64769 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:in each' 2016-08-10T11:48:14.64769 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:ininject'
2016-08-10T11:48:14.64770 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:in build' 2016-08-10T11:48:14.64770 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/engine.rb:475:inapp'
2016-08-10T11:48:14.64772 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/application/finisher.rb:31:in block in <module:Finisher>' 2016-08-10T11:48:14.64772 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:30:ininstance_exec'
2016-08-10T11:48:14.64772 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:30:in run' 2016-08-10T11:48:14.64773 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:55:inblock in run_initializers'
2016-08-10T11:48:14.64773 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:54:in each' 2016-08-10T11:48:14.64774 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:54:inrun_initializers'
2016-08-10T11:48:14.64775 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/application.rb:136:in initialize!' 2016-08-10T11:48:14.64775 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/railtie/configurable.rb:30:inmethod_missing'
2016-08-10T11:48:14.64775 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/config/environment.rb:5:in <top (required)>' 2016-08-10T11:48:14.64776 from /opt/api-umbrella/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:inrequire'
2016-08-10T11:48:14.64776 from /opt/api-umbrella/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require' 2016-08-10T11:48:14.64777 from config.ru:3:inblock in '
2016-08-10T11:48:14.64777 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:51:in instance_eval' 2016-08-10T11:48:14.64777 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:51:ininitialize'
2016-08-10T11:48:14.64778 from config.ru:in new' 2016-08-10T11:48:14.64779 from config.ru:in'
2016-08-10T11:48:14.64779 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:40:in eval' 2016-08-10T11:48:14.64779 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:40:inparse_file'
2016-08-10T11:48:14.64780 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/configuration.rb:102:in load_rackup' 2016-08-10T11:48:14.64781 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/configuration.rb:69:inapp'
2016-08-10T11:48:14.64781 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/runner.rb:123:in app' 2016-08-10T11:48:14.64782 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/runner.rb:130:instart_server'
2016-08-10T11:48:14.64782 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:213:in worker' 2016-08-10T11:48:14.64783 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:inblock (2 levels) in spawn_workers'
2016-08-10T11:48:14.64784 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:in fork' 2016-08-10T11:48:14.64784 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:inblock in spawn_workers'
2016-08-10T11:48:14.64784 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:105:in times' 2016-08-10T11:48:14.64785 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:105:inspawn_workers'
2016-08-10T11:48:14.64785 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:157:in check_workers' 2016-08-10T11:48:14.64786 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:421:inrun'
2016-08-10T11:48:14.64787 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cli.rb:216:in run' 2016-08-10T11:48:14.64787 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/bin/puma-wild:31:in'
2016-08-10T11:48:20.19041 [902] + Gemfile in context: /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/Gemfile
2016-08-10T11:48:20.21143 [904] + Gemfile in context: /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/Gemfile
2016-08-10T11:48:35.15842 Rails Error: Unable to access log file. Please ensure that /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/log/production.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.
2016-08-10T11:48:35.16640 Rails Error: Unable to access log file. Please ensure that /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/log/production.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.
2016-08-10T11:48:36.30542 /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:143:in initialize': Received wrong number of arguments. [nil] (ArgumentError) 2016-08-10T11:48:36.30546 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:43:innew'
2016-08-10T11:48:36.30546 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:43:in build' 2016-08-10T11:48:36.30547 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:inblock in build'
2016-08-10T11:48:36.30548 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:in each' 2016-08-10T11:48:36.30549 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:ininject'
2016-08-10T11:48:36.30550 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:in build' 2016-08-10T11:48:36.30550 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/engine.rb:475:inapp'
2016-08-10T11:48:36.30551 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/application/finisher.rb:31:in block in <module:Finisher>' 2016-08-10T11:48:36.30551 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:30:ininstance_exec'
2016-08-10T11:48:36.30551 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:30:in run' 2016-08-10T11:48:36.30552 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:55:inblock in run_initializers'
2016-08-10T11:48:36.30553 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:54:in each' 2016-08-10T11:48:36.30553 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:54:inrun_initializers'
2016-08-10T11:48:36.30553 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/application.rb:136:in initialize!' 2016-08-10T11:48:36.30554 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/railtie/configurable.rb:30:inmethod_missing'
2016-08-10T11:48:36.30554 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/config/environment.rb:5:in <top (required)>' 2016-08-10T11:48:36.30554 from /opt/api-umbrella/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:inrequire'
2016-08-10T11:48:36.30555 from /opt/api-umbrella/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require' 2016-08-10T11:48:36.30555 from config.ru:3:inblock in '
2016-08-10T11:48:36.30556 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:51:in instance_eval' 2016-08-10T11:48:36.30556 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:51:ininitialize'
2016-08-10T11:48:36.30557 from config.ru:in new' 2016-08-10T11:48:36.30558 from config.ru:in'
2016-08-10T11:48:36.30558 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:40:in eval' 2016-08-10T11:48:36.30559 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:40:inparse_file'
2016-08-10T11:48:36.30559 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/configuration.rb:102:in load_rackup' 2016-08-10T11:48:36.30559 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/configuration.rb:69:inapp'
2016-08-10T11:48:36.30560 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/runner.rb:123:in app' 2016-08-10T11:48:36.30561 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/runner.rb:130:instart_server'
2016-08-10T11:48:36.30561 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:213:in worker' 2016-08-10T11:48:36.30562 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:inblock (2 levels) in spawn_workers'
2016-08-10T11:48:36.30562 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:in fork' 2016-08-10T11:48:36.30562 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:inblock in spawn_workers'
2016-08-10T11:48:36.30563 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:105:in times' 2016-08-10T11:48:36.30563 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:105:inspawn_workers'
2016-08-10T11:48:36.30564 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:157:in check_workers' 2016-08-10T11:48:36.30564 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:421:inrun'
2016-08-10T11:48:36.30565 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cli.rb:216:in run' 2016-08-10T11:48:36.30565 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/bin/puma-wild:31:in'
2016-08-10T11:48:36.31844 /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:143:in initialize': Received wrong number of arguments. [nil] (ArgumentError) 2016-08-10T11:48:36.31848 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:43:innew'
2016-08-10T11:48:36.31848 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:43:in build' 2016-08-10T11:48:36.31848 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:inblock in build'
2016-08-10T11:48:36.31849 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:in each' 2016-08-10T11:48:36.31849 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:ininject'
2016-08-10T11:48:36.31850 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:in build' 2016-08-10T11:48:36.31851 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/engine.rb:475:inapp'
2016-08-10T11:48:36.31851 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/application/finisher.rb:31:in block in <module:Finisher>' 2016-08-10T11:48:36.31851 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:30:ininstance_exec'
2016-08-10T11:48:36.31852 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:30:in run' 2016-08-10T11:48:36.31854 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:55:inblock in run_initializers'
2016-08-10T11:48:36.31855 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:54:in each' 2016-08-10T11:48:36.31856 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:54:inrun_initializers'
2016-08-10T11:48:36.31856 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/application.rb:136:in initialize!' 2016-08-10T11:48:36.31856 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/railtie/configurable.rb:30:inmethod_missing'
2016-08-10T11:48:36.31857 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/config/environment.rb:5:in <top (required)>' 2016-08-10T11:48:36.31857 from /opt/api-umbrella/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:inrequire'
2016-08-10T11:48:36.31857 from /opt/api-umbrella/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require' 2016-08-10T11:48:36.31857 from config.ru:3:inblock in '
2016-08-10T11:48:36.31858 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:51:in instance_eval' 2016-08-10T11:48:36.31859 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:51:ininitialize'
2016-08-10T11:48:36.31859 from config.ru:in new' 2016-08-10T11:48:36.31859 from config.ru:in'
2016-08-10T11:48:36.31860 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:40:in eval' 2016-08-10T11:48:36.31860 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:40:inparse_file'
2016-08-10T11:48:36.31860 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/configuration.rb:102:in load_rackup' 2016-08-10T11:48:36.31861 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/configuration.rb:69:inapp'
2016-08-10T11:48:36.31861 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/runner.rb:123:in app' 2016-08-10T11:48:36.31862 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/runner.rb:130:instart_server'
2016-08-10T11:48:36.31862 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:213:in worker' 2016-08-10T11:48:36.31862 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:inblock (2 levels) in spawn_workers'
2016-08-10T11:48:36.31863 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:in fork' 2016-08-10T11:48:36.31863 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:inblock in spawn_workers'
2016-08-10T11:48:36.31863 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:105:in times' 2016-08-10T11:48:36.31864 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:105:inspawn_workers'
2016-08-10T11:48:36.31865 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:157:in check_workers' 2016-08-10T11:48:36.31866 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:421:inrun'
2016-08-10T11:48:36.31866 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cli.rb:216:in run' 2016-08-10T11:48:36.31866 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/bin/puma-wild:31:in'
2016-08-10T11:48:41.63738 [1050] + Gemfile in context: /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/Gemfile
2016-08-10T11:48:41.66641 [1052] + Gemfile in context: /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/Gemfile
2016-08-10T11:48:57.05348 Rails Error: Unable to access log file. Please ensure that /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/log/production.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.
2016-08-10T11:48:57.05756 Rails Error: Unable to access log file. Please ensure that /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/log/production.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.
2016-08-10T11:48:58.36446 /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:143:in initialize': Received wrong number of arguments. [nil] (ArgumentError) 2016-08-10T11:48:58.36450 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:43:innew'
2016-08-10T11:48:58.36451 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:43:in build' 2016-08-10T11:48:58.36451 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:inblock in build'
2016-08-10T11:48:58.36452 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:in each' 2016-08-10T11:48:58.36452 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:ininject'
2016-08-10T11:48:58.36453 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:in build' 2016-08-10T11:48:58.36454 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/engine.rb:475:inapp'
2016-08-10T11:48:58.36454 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/application/finisher.rb:31:in block in <module:Finisher>' 2016-08-10T11:48:58.36455 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:30:ininstance_exec'
2016-08-10T11:48:58.36455 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:30:in run' 2016-08-10T11:48:58.36456 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:55:inblock in run_initializers'
2016-08-10T11:48:58.36457 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:54:in each' 2016-08-10T11:48:58.36461 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:54:inrun_initializers'
2016-08-10T11:48:58.36462 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/application.rb:136:in initialize!' 2016-08-10T11:48:58.36462 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/railtie/configurable.rb:30:inmethod_missing'
2016-08-10T11:48:58.36462 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/config/environment.rb:5:in <top (required)>' 2016-08-10T11:48:58.36463 from /opt/api-umbrella/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:inrequire'
2016-08-10T11:48:58.36463 from /opt/api-umbrella/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require' 2016-08-10T11:48:58.36464 from config.ru:3:inblock in '
2016-08-10T11:48:58.36465 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:51:in instance_eval' 2016-08-10T11:48:58.36465 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:51:ininitialize'
2016-08-10T11:48:58.36466 from config.ru:in new' 2016-08-10T11:48:58.36466 from config.ru:in'
2016-08-10T11:48:58.36466 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:40:in eval' 2016-08-10T11:48:58.36467 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:40:inparse_file'
2016-08-10T11:48:58.36467 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/configuration.rb:102:in load_rackup' 2016-08-10T11:48:58.36467 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/configuration.rb:69:inapp'
2016-08-10T11:48:58.36468 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/runner.rb:123:in app' 2016-08-10T11:48:58.36469 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/runner.rb:130:instart_server'
2016-08-10T11:48:58.36469 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:213:in worker' 2016-08-10T11:48:58.36471 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:inblock (2 levels) in spawn_workers'
2016-08-10T11:48:58.36471 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:in fork' 2016-08-10T11:48:58.36472 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:inblock in spawn_workers'
2016-08-10T11:48:58.36472 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:105:in times' 2016-08-10T11:48:58.36473 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:105:inspawn_workers'
2016-08-10T11:48:58.36474 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:157:in check_workers' 2016-08-10T11:48:58.36474 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:421:inrun'
2016-08-10T11:48:58.36475 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cli.rb:216:in run' 2016-08-10T11:48:58.36475 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/bin/puma-wild:31:in'
2016-08-10T11:48:58.36882 /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:143:in initialize': Received wrong number of arguments. [nil] (ArgumentError) 2016-08-10T11:48:58.36884 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:43:innew'
2016-08-10T11:48:58.36884 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:43:in build' 2016-08-10T11:48:58.36885 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:inblock in build'
2016-08-10T11:48:58.36885 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:in each' 2016-08-10T11:48:58.36886 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:ininject'
2016-08-10T11:48:58.36887 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:in build' 2016-08-10T11:48:58.36887 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/engine.rb:475:inapp'
2016-08-10T11:48:58.36888 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/application/finisher.rb:31:in block in <module:Finisher>' 2016-08-10T11:48:58.36888 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:30:ininstance_exec'
2016-08-10T11:48:58.36888 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:30:in run' 2016-08-10T11:48:58.36889 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:55:inblock in run_initializers'
2016-08-10T11:48:58.36890 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:54:in each' 2016-08-10T11:48:58.36890 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:54:inrun_initializers'
2016-08-10T11:48:58.36891 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/application.rb:136:in initialize!' 2016-08-10T11:48:58.36891 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/railtie/configurable.rb:30:inmethod_missing'
2016-08-10T11:48:58.36892 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/config/environment.rb:5:in <top (required)>' 2016-08-10T11:48:58.36892 from /opt/api-umbrella/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:inrequire'
2016-08-10T11:48:58.36892 from /opt/api-umbrella/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require' 2016-08-10T11:48:58.36893 from config.ru:3:inblock in '
2016-08-10T11:48:58.36894 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:51:in instance_eval' 2016-08-10T11:48:58.36895 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:51:ininitialize'
2016-08-10T11:48:58.36896 from config.ru:in new' 2016-08-10T11:48:58.36896 from config.ru:in'
2016-08-10T11:48:58.36896 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:40:in eval' 2016-08-10T11:48:58.36897 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:40:inparse_file'
2016-08-10T11:48:58.36897 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/configuration.rb:102:in load_rackup' 2016-08-10T11:48:58.36898 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/configuration.rb:69:inapp'
2016-08-10T11:48:58.36898 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/runner.rb:123:in app' 2016-08-10T11:48:58.36899 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/runner.rb:130:instart_server'
2016-08-10T11:48:58.36899 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:213:in worker' 2016-08-10T11:48:58.36900 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:inblock (2 levels) in spawn_workers'
2016-08-10T11:48:58.36900 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:in fork' 2016-08-10T11:48:58.36901 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:inblock in spawn_workers'
2016-08-10T11:48:58.36901 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:105:in times' 2016-08-10T11:48:58.36901 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:105:inspawn_workers'
2016-08-10T11:48:58.36903 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:157:in check_workers' 2016-08-10T11:48:58.36903 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:421:inrun'
2016-08-10T11:48:58.36903 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cli.rb:216:in run' 2016-08-10T11:48:58.36904 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/bin/puma-wild:31:in'
2016-08-10T11:49:03.89548 [1199] + Gemfile in context: /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/Gemfile
2016-08-10T11:49:03.90643 [1201] + Gemfile in context: /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/Gemfile
2016-08-10T11:49:19.54446 Rails Error: Unable to access log file. Please ensure that /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/log/production.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.
2016-08-10T11:49:19.60553 Rails Error: Unable to access log file. Please ensure that /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/log/production.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.
2016-08-10T11:49:20.84923 /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:143:in initialize': Received wrong number of arguments. [nil] (ArgumentError) 2016-08-10T11:49:20.84928 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:43:innew'
2016-08-10T11:49:20.84928 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:43:in build' 2016-08-10T11:49:20.84929 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:inblock in build'
2016-08-10T11:49:20.84929 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:in each' 2016-08-10T11:49:20.84930 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:ininject'
2016-08-10T11:49:20.84933 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:in build' 2016-08-10T11:49:20.84934 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/engine.rb:475:inapp'
2016-08-10T11:49:20.84934 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/application/finisher.rb:31:in block in <module:Finisher>' 2016-08-10T11:49:20.84934 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:30:ininstance_exec'
2016-08-10T11:49:20.84935 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:30:in run' 2016-08-10T11:49:20.84935 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:55:inblock in run_initializers'
2016-08-10T11:49:20.84936 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:54:in each' 2016-08-10T11:49:20.84937 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:54:inrun_initializers'
2016-08-10T11:49:20.84937 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/application.rb:136:in initialize!' 2016-08-10T11:49:20.84938 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/railtie/configurable.rb:30:inmethod_missing'
2016-08-10T11:49:20.84938 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/config/environment.rb:5:in <top (required)>' 2016-08-10T11:49:20.84938 from /opt/api-umbrella/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:inrequire'
2016-08-10T11:49:20.84939 from /opt/api-umbrella/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require' 2016-08-10T11:49:20.84939 from config.ru:3:inblock in '
2016-08-10T11:49:20.84940 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:51:in instance_eval' 2016-08-10T11:49:20.84941 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:51:ininitialize'
2016-08-10T11:49:20.84941 from config.ru:in new' 2016-08-10T11:49:20.84941 from config.ru:in'
2016-08-10T11:49:20.84942 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:40:in eval' 2016-08-10T11:49:20.84943 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:40:inparse_file'
2016-08-10T11:49:20.84943 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/configuration.rb:102:in load_rackup' 2016-08-10T11:49:20.84943 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/configuration.rb:69:inapp'
2016-08-10T11:49:20.84944 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/runner.rb:123:in app' 2016-08-10T11:49:20.84945 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/runner.rb:130:instart_server'
2016-08-10T11:49:20.84946 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:213:in worker' 2016-08-10T11:49:20.84946 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:inblock (2 levels) in spawn_workers'
2016-08-10T11:49:20.84947 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:in fork' 2016-08-10T11:49:20.84947 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:inblock in spawn_workers'
2016-08-10T11:49:20.84947 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:105:in times' 2016-08-10T11:49:20.84948 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:105:inspawn_workers'
2016-08-10T11:49:20.84949 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:157:in check_workers' 2016-08-10T11:49:20.84951 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:421:inrun'
2016-08-10T11:49:20.84952 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cli.rb:216:in run' 2016-08-10T11:49:20.84952 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/bin/puma-wild:31:in'
2016-08-10T11:49:20.86846 /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:143:in initialize': Received wrong number of arguments. [nil] (ArgumentError) 2016-08-10T11:49:20.86850 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:43:innew'
2016-08-10T11:49:20.86850 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:43:in build' 2016-08-10T11:49:20.86850 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:inblock in build'
2016-08-10T11:49:20.86851 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:in each' 2016-08-10T11:49:20.86851 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:ininject'
2016-08-10T11:49:20.86852 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.2/lib/action_dispatch/middleware/stack.rb:113:in build' 2016-08-10T11:49:20.86854 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/engine.rb:475:inapp'
2016-08-10T11:49:20.86855 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/application/finisher.rb:31:in block in <module:Finisher>' 2016-08-10T11:49:20.86855 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:30:ininstance_exec'
2016-08-10T11:49:20.86855 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:30:in run' 2016-08-10T11:49:20.86856 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:55:inblock in run_initializers'
2016-08-10T11:49:20.86857 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:54:in each' 2016-08-10T11:49:20.86857 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/initializable.rb:54:inrun_initializers'
2016-08-10T11:49:20.86857 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/application.rb:136:in initialize!' 2016-08-10T11:49:20.86858 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/railties-3.2.22.2/lib/rails/railtie/configurable.rb:30:inmethod_missing'
2016-08-10T11:49:20.86858 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/config/environment.rb:5:in <top (required)>' 2016-08-10T11:49:20.86858 from /opt/api-umbrella/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:inrequire'
2016-08-10T11:49:20.86859 from /opt/api-umbrella/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require' 2016-08-10T11:49:20.86859 from config.ru:3:inblock in '
2016-08-10T11:49:20.86860 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:51:in instance_eval' 2016-08-10T11:49:20.86860 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:51:ininitialize'
2016-08-10T11:49:20.86860 from config.ru:in new' 2016-08-10T11:49:20.86861 from config.ru:in'
2016-08-10T11:49:20.86861 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:40:in eval' 2016-08-10T11:49:20.86861 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/rack-1.4.7/lib/rack/builder.rb:40:inparse_file'
2016-08-10T11:49:20.86862 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/configuration.rb:102:in load_rackup' 2016-08-10T11:49:20.86862 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/configuration.rb:69:inapp'
2016-08-10T11:49:20.86862 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/runner.rb:123:in app' 2016-08-10T11:49:20.86863 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/runner.rb:130:instart_server'
2016-08-10T11:49:20.86863 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:213:in worker' 2016-08-10T11:49:20.86864 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:inblock (2 levels) in spawn_workers'
2016-08-10T11:49:20.86864 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:in fork' 2016-08-10T11:49:20.86865 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:109:inblock in spawn_workers'
2016-08-10T11:49:20.86865 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:105:in times' 2016-08-10T11:49:20.86865 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:105:inspawn_workers'
2016-08-10T11:49:20.86866 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:157:in check_workers' 2016-08-10T11:49:20.86867 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cluster.rb:421:inrun'
2016-08-10T11:49:20.86867 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/cli.rb:216:in run' 2016-08-10T11:49:20.86867 from /opt/api-umbrella/embedded/apps/core/releases/20160630055831/vendor/bundle/ruby/2.2.0/gems/puma-2.11.3/bin/puma-wild:31:in'
2016-08-10T11:49:26.31949 [1347] + Gemfile in context: /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/Gemfile
2016-08-10T11:49:26.33047 [1349] + Gemfile in context: /opt/api-umbrella/embedded/apps/core/releases/20160630055831/src/api-umbrella/web-app/Gemfile

@keijoko
keijoko commented Aug 30, 2016

I'm running into same issue with the 0.13.0 version.

With version 0.11.1 ArgumentError actually shows that the options weren't nil. However rest of the the stack is same.

/opt/api-umbrella/embedded/apps/core/releases/20160415005551/vendor/bundle/ruby/2.2.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:143:in `initialize': Received wrong number of arguments. #<RailsConfig::Options host="host", method="plain", uid="uid", base="dc=example, dc=com", password="password", bind_dn="cn=admin, dc=example, dc=com", port=389>

@GUI GUI added a commit that referenced this issue Sep 14, 2016
@GUI GUI Fix overriding null configuration options in default.yml.
Null values in default.yml were being treated as a special null type by
lyaml, which was preventing overrides from actually overriding the
null type. This prevented the omniauth-ldap and omniauth-cas options
from being set (see
#278 (comment))
d8c5f74
@mafiu
mafiu commented Oct 11, 2016

In the case of omniauth-cas, it works adding options: {} in
/opt/api-umbrella/embedded/apps/core/current/config/default.yml

Tested on v0.11.1, v0.12.0 and v.0.13.0

@keijoko
keijoko commented Nov 2, 2016 edited

I verify the options: {} workaround working in v.0.13.0.
In addition you must implement in ../app/controllers/admin/admins/omniauth_callbacks_controller.rb ldap action. Something like:
def ldap
@email = request.env["omniauth.auth"]["info"]["email"]
login
end
should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment