Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #5582

Closed
Open
Created Nov 11, 2013 by Administrator@rootOwner

Error 500 after installing.

Created by: FoxBuru

I'm facing a quite problematic situation here. I'm trying to run Gitlab over apache. I've tried using the ProxyReverse method, and i'm now trying using Passenger. On both scenarios i'm facing with the same problem. When going to the gitlab url (i'm using self-signed SSL), it process for a time, then throws me a 500 error. On production log i have this:

Started GET "/" for 189.192.140.231 at 2013-11-11 13:18:49 -0600 Processing by DashboardController#show as HTML Completed 401 Unauthorized in 144ms

Redis::CannotConnectError (Error connecting to Redis on 127.0.0.1:6379 (ECONNREFUSED)): vendor/bundle/ruby/1.9.3/gems/redis-3.0.4/lib/redis/client.rb:276:in rescue in establish_connection' vendor/bundle/ruby/1.9.3/gems/redis-3.0.4/lib/redis/client.rb:271:inestablish_connection' vendor/bundle/ruby/1.9.3/gems/redis-3.0.4/lib/redis/client.rb:69:in connect' vendor/bundle/ruby/1.9.3/gems/redis-3.0.4/lib/redis/client.rb:290:inensure_connected' vendor/bundle/ruby/1.9.3/gems/redis-3.0.4/lib/redis/client.rb:177:in block in process' vendor/bundle/ruby/1.9.3/gems/redis-3.0.4/lib/redis/client.rb:256:inlogging' vendor/bundle/ruby/1.9.3/gems/redis-3.0.4/lib/redis/client.rb:176:in process' vendor/bundle/ruby/1.9.3/gems/redis-3.0.4/lib/redis/client.rb:84:incall' vendor/bundle/ruby/1.9.3/gems/redis-3.0.4/lib/redis.rb:630:in block in set' vendor/bundle/ruby/1.9.3/gems/redis-3.0.4/lib/redis.rb:36:inblock in synchronize' /opt/local/lib/ruby/1.9.3/monitor.rb:211:in mon_synchronize' vendor/bundle/ruby/1.9.3/gems/redis-3.0.4/lib/redis.rb:36:insynchronize' vendor/bundle/ruby/1.9.3/gems/redis-3.0.4/lib/redis.rb:629:in set' vendor/bundle/ruby/1.9.3/gems/redis-store-1.1.4/lib/redis/store/interface.rb:9:inset' vendor/bundle/ruby/1.9.3/gems/redis-store-1.1.4/lib/redis/store/ttl.rb:8:in set' vendor/bundle/ruby/1.9.3/gems/redis-store-1.1.4/lib/redis/store/marshalling.rb:5:inblock in set' vendor/bundle/ruby/1.9.3/gems/redis-store-1.1.4/lib/redis/store/marshalling.rb:29:in _marshal' vendor/bundle/ruby/1.9.3/gems/redis-store-1.1.4/lib/redis/store/marshalling.rb:5:inset' vendor/bundle/ruby/1.9.3/gems/redis-rack-1.4.4/lib/rack/session/redis.rb:31:in block in get_session' vendor/bundle/ruby/1.9.3/gems/redis-rack-1.4.4/lib/rack/session/redis.rb:55:inwith_lock' vendor/bundle/ruby/1.9.3/gems/redis-rack-1.4.4/lib/rack/session/redis.rb:28:in get_session' vendor/bundle/ruby/1.9.3/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:251:inload_session' vendor/bundle/ruby/1.9.3/gems/actionpack-3.2.13/lib/action_dispatch/middleware/session/abstract_store.rb:49:in block in load_session' vendor/bundle/ruby/1.9.3/gems/actionpack-3.2.13/lib/action_dispatch/middleware/session/abstract_store.rb:57:instale_session_check!' vendor/bundle/ruby/1.9.3/gems/actionpack-3.2.13/lib/action_dispatch/middleware/session/abstract_store.rb:49:in load_session' vendor/bundle/ruby/1.9.3/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:135:inload!' vendor/bundle/ruby/1.9.3/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:131:in load_for_write!' vendor/bundle/ruby/1.9.3/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:71:in[]=' vendor/bundle/ruby/1.9.3/gems/devise-2.2.5/lib/devise/failure_app.rb:176:in store_location!' vendor/bundle/ruby/1.9.3/gems/devise-2.2.5/lib/devise/failure_app.rb:55:inredirect' vendor/bundle/ruby/1.9.3/gems/devise-2.2.5/lib/devise/failure_app.rb:37:in respond' vendor/bundle/ruby/1.9.3/gems/actionpack-3.2.13/lib/abstract_controller/base.rb:167:inprocess_action' vendor/bundle/ruby/1.9.3/gems/actionpack-3.2.13/lib/abstract_controller/base.rb:121:in process' vendor/bundle/ruby/1.9.3/gems/actionpack-3.2.13/lib/action_controller/metal.rb:203:indispatch' vendor/bundle/ruby/1.9.3/gems/actionpack-3.2.13/lib/action_controller/metal/rack_delegation.rb:14:in dispatch' vendor/bundle/ruby/1.9.3/gems/actionpack-3.2.13/lib/action_controller/metal.rb:246:inblock in action' vendor/bundle/ruby/1.9.3/gems/devise-2.2.5/lib/devise/failure_app.rb:20:in call' vendor/bundle/ruby/1.9.3/gems/devise-2.2.5/lib/devise/failure_app.rb:20:incall' vendor/bundle/ruby/1.9.3/gems/devise-2.2.5/lib/devise/delegator.rb:5:in call' vendor/bundle/ruby/1.9.3/gems/warden-1.2.3/lib/warden/manager.rb:130:incall_failure_app' vendor/bundle/ruby/1.9.3/gems/warden-1.2.3/lib/warden/manager.rb:116:in process_unauthenticated' vendor/bundle/ruby/1.9.3/gems/warden-1.2.3/lib/warden/manager.rb:47:incall' vendor/bundle/ruby/1.9.3/gems/actionpack-3.2.13/lib/action_dispatch/middleware/best_standards_support.rb:17:in call' vendor/bundle/ruby/1.9.3/gems/rack-1.4.5/lib/rack/etag.rb:23:incall' vendor/bundle/ruby/1.9.3/gems/rack-1.4.5/lib/rack/conditionalget.rb:25:in call' vendor/bundle/ruby/1.9.3/gems/actionpack-3.2.13/lib/action_dispatch/middleware/head.rb:14:incall' vendor/bundle/ruby/1.9.3/gems/actionpack-3.2.13/lib/action_dispatch/middleware/params_parser.rb:21:in call' vendor/bundle/ruby/1.9.3/gems/actionpack-3.2.13/lib/action_dispatch/middleware/flash.rb:242:incall' vendor/bundle/ruby/1.9.3/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in context' vendor/bundle/ruby/1.9.3/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:incall' vendor/bundle/ruby/1.9.3/gems/actionpack-3.2.13/lib/action_dispatch/middleware/cookies.rb:341:in call' vendor/bundle/ruby/1.9.3/gems/activerecord-3.2.13/lib/active_record/query_cache.rb:64:incall' vendor/bundle/ruby/1.9.3/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in call' vendor/bundle/ruby/1.9.3/gems/actionpack-3.2.13/lib/action_dispatch/middleware/callbacks.rb:28:inblock in call' vendor/bundle/ruby/1.9.3/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in _run__1108572668748813358__call__4571695184428176549__callbacks' vendor/bundle/ruby/1.9.3/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in__run_callback' vendor/bundle/ruby/1.9.3/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:385:in _run_call_callbacks' vendor/bundle/ruby/1.9.3/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:inrun_callbacks' vendor/bundle/ruby/1.9.3/gems/actionpack-3.2.13/lib/action_dispatch/middleware/callbacks.rb:27:in call' vendor/bundle/ruby/1.9.3/gems/actionpack-3.2.13/lib/action_dispatch/middleware/remote_ip.rb:31:incall' vendor/bundle/ruby/1.9.3/gems/actionpack-3.2.13/lib/action_dispatch/middleware/debug_exceptions.rb:16:in call' vendor/bundle/ruby/1.9.3/gems/actionpack-3.2.13/lib/action_dispatch/middleware/show_exceptions.rb:56:incall' vendor/bundle/ruby/1.9.3/gems/railties-3.2.13/lib/rails/rack/logger.rb:32:in call_app' vendor/bundle/ruby/1.9.3/gems/railties-3.2.13/lib/rails/rack/logger.rb:16:inblock in call' vendor/bundle/ruby/1.9.3/gems/activesupport-3.2.13/lib/active_support/tagged_logging.rb:22:in tagged' vendor/bundle/ruby/1.9.3/gems/railties-3.2.13/lib/rails/rack/logger.rb:16:incall' vendor/bundle/ruby/1.9.3/gems/actionpack-3.2.13/lib/action_dispatch/middleware/request_id.rb:22:in call' vendor/bundle/ruby/1.9.3/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:incall' vendor/bundle/ruby/1.9.3/gems/rack-1.4.5/lib/rack/runtime.rb:17:in call' vendor/bundle/ruby/1.9.3/gems/rack-1.4.5/lib/rack/lock.rb:15:incall' vendor/bundle/ruby/1.9.3/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in forward' vendor/bundle/ruby/1.9.3/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:infetch' vendor/bundle/ruby/1.9.3/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in lookup' vendor/bundle/ruby/1.9.3/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:incall!' vendor/bundle/ruby/1.9.3/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in call' vendor/bundle/ruby/1.9.3/gems/railties-3.2.13/lib/rails/engine.rb:479:incall' vendor/bundle/ruby/1.9.3/gems/railties-3.2.13/lib/rails/application.rb:223:in call' vendor/bundle/ruby/1.9.3/gems/railties-3.2.13/lib/rails/railtie/configurable.rb:30:inmethod_missing' vendor/bundle/ruby/1.9.3/gems/rack-1.4.5/lib/rack/builder.rb:134:in call' vendor/bundle/ruby/1.9.3/gems/rack-1.4.5/lib/rack/urlmap.rb:64:inblock in call' vendor/bundle/ruby/1.9.3/gems/rack-1.4.5/lib/rack/urlmap.rb:49:in each' vendor/bundle/ruby/1.9.3/gems/rack-1.4.5/lib/rack/urlmap.rb:49:incall' /opt/local/lib/ruby/vendor_ruby/phusion_passenger/rack/thread_handler_extension.rb:77:in process_request' /opt/local/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:140:inaccept_and_process_next_request' /opt/local/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:108:in main_loop' /opt/local/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:441:inblock (3 levels) in start_threads'

To point some facts:

I'm using Solaris (SmartOS) to configure all my environment Also, using apache 2.4 to do the full configuration. Redis server is running on another zone of my environment, and web in its own zone (I've modified the resque.yml file to reflect that) Sidekiq running at background correctly (It uses the config in resque.yml)

I'm suspecting redis_rack is not reading the parameters correctly. But I'm not quite sure what could be the problem

Assignee
Assign to
Time tracking