Unable to invite members to a project

Problem to solve

I can’t invite members to my project. When I click or start typing a user’s name in the ‘Username, name or email address’ field, the list is always empty.

Versions

  • Self-managed GitLab Community Edition v18.2.2

Maybe it is disabled in the settings. Cannot add users to project - #2 by iwalker

The mentioned option is not available.

image

I can see the “Invite members” option, but no user is found.

I upgraded GitLab CE self-hosted from 17.10.1 to 18.3.1, and I’m experiencing the same issue.

@brenobos **
Issue:** On GitLab 18.3.1 Omnibus (self-hosted via Docker Compose), the browser blocked project members’ autocomplete requests with a “Blocked loading mixed active content” error:
http://gitlab.test.com/group-test/development/back-end/sample-project/-/project_members/invite_search.json?search=&per_page=20

Cause: The external_url in GitLab was set to http://, while the instance was accessed via HTTPS. Browsers blocked the request as mixed content.

Solution:

  1. Updated GitLab’s external_url in the Docker Compose environment file to use HTTPS (https://gitlab.test.com).

  2. Configured the fronting Nginx server to terminate SSL and redirect HTTP requests to HTTPS.

  3. Reconfigured GitLab (gitlab-ctl reconfigure) or restarted the GitLab container and cleared caches.

Result: After enforcing HTTPS, the browser no longer blocked requests, and the project members autocomplete now works correctly, allowing users to be invited normally.

2 Likes

I still get the mixed content, any idea why that happens?