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 by Diana Stanley