500 error due to iv must be 16 bytes or longer

63 views
Skip to first unread message

Brian Gale

unread,
Jun 24, 2016, 6:05:53 PM6/24/16
to GitLab
we have a single project on our internally hosted gitlab server that when you try to change any configuration or view the main page of it, you get a 500 internal server error.
The production.log file shows:
Started GET "/TestSoftware/<project name>" for 127.0.0.1 at 2016-06-24 15:52:47 -0600
Processing by ProjectsController#show as HTML
  Parameters: {"namespace_id"=>"TestSoftware", "id"=>"<project name>"}
Completed 500 Internal Server Error in 255ms (ActiveRecord: 10.4ms)

ArgumentError (iv must be 16 bytes or longer):
  app/models/project.rb:489:in `import_url'
  app/models/project.rb:519:in `external_import?'
  app/models/project.rb:511:in `import?'
  app/models/project.rb:527:in `import_in_progress?'
  app/controllers/projects_controller.rb:94:in `show'
  lib/gitlab/middleware/go.rb:16:in `call'
  lib/gitlab/middleware/readonly_geo.rb:29:in `call'


After a little bit of snooping, I noticed that the file ./refs/heads/master appears to be missing.  My current guess is that the project is pooched and needs to be rebuilt from the latest pull.  From talking to the users of the project, they are still able to push and pull and commit and merge to that project without difficulty, but not being able to view the main page (where one would go to get the git cloning information) or being able to change things on the settings page is troublesome.

Has anybody run into this issue before and if so, were you able to resolve it without re-creating the project or is that my only solution at this point?

NOTE: <project name> isn't really the name of the project.  The project contains no special characters that are not working fine with other projects (it is an alphanumeric name with '_' characters in it).

Brian

Ob Zen

unread,
Jun 28, 2016, 6:18:48 AM6/28/16
to GitLab
I have the same problem. If your project contains "http://sitename" in Description gitlab prints "500 error".

суббота, 25 июня 2016 г., 1:05:53 UTC+3 пользователь Brian Gale написал:
Reply all
Reply to author
Forward
0 new messages