Problem/Motivation

When I try to add a new member to a project at git.drupalcode.org/project/XXX/-/project_members, the XHR request fails. This happens to all tested users and when selecting any role.

The console reports a xhr Post+Preflight request to https://git.drupalcode.org/api/v4/projects/XXXXX/invitations, which returns a 301 redirect to https://www.drupal.org/git-error. This then is reported as a CORS error. It seems the redirect and CORS error is actually just a symptom of the error happening at the invitations endpoint.

Steps to reproduce

- Open the member overview of a project at git.drupalcode.org
- Click add member, select a user and role, hit "Invite"
- The dialog will report that something went wrong.

Comments

pvbergen created an issue. See original summary.

drumm’s picture

Assigned: Unassigned » drumm
drumm’s picture

Status: Active » Needs review

This needs one last load balancer change in configuration management that I’d like double checked by a coworker. Tested on staging and works well.

drumm’s picture

Status: Needs review » Fixed

The remainder of this configuration was completed.

pvbergen’s picture

I can confirm that adding members on git.drupalcode.org now works. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.