Skip to content

Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
GitLab
GitLab
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
    • Cycle Analytics
    • Insights
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 23,561
    • Issues 23,561
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 820
    • Merge Requests 820
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Security & Compliance
    • Security & Compliance
    • Dependency List
  • Packages
    • Packages
    • Container Registry
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GitLab.org
  • GitLabGitLab
  • Issues
  • #22987

Closed
Open
Opened Jun 27, 2018 by Diana Stanley@dstanley
  • Report abuse
  • New issue
Report abuse New issue

Error 500 logging in with Spnego

https://gitlab.zendesk.com/agent/tickets/98470

This customer is running GitLab 10.5.3-ee. Their Kerberos Spnego login is working, however sometimes it throws a 500 error with this backtrace:

Started GET "/users/auth/kerberos_spnego/callback" for 134.253.70.138 at 2018-06-21 07:18:18 -0600

NoMethodError (undefined method `split' for nil:NilClass):
  lib/gitlab/middleware/multipart.rb:95:in `call'
  lib/gitlab/request_profiler/middleware.rb:14:in `call'
  lib/gitlab/middleware/go.rb:17:in `call'
  lib/gitlab/etag_caching/middleware.rb:11:in `call'
  lib/gitlab/middleware/read_only.rb:31:in `call'
  lib/gitlab/request_context.rb:18:in `call'
  lib/gitlab/metrics/requests_rack_middleware.rb:27:in `call'

The spnego login succeeds and the user is logged in. I haven't really figured out the secret sauce, because sometimes the spnego login succeeds without this error. They had a valid ticket in all cases.

Edited Jun 27, 2018 by Diana Stanley

Related issues

  • Discussion
  • Designs
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
3
Labels
External Authorization auto updated customer
Assign labels
  • View project labels
Reference: gitlab-org/gitlab#22987