While "Test connection" seems to have worked, it turned out that actually syncing the site had not been because of a typo in the client instantiation where the url parameter should have been host. Surprisingly that was set correctly for the test.
This was causing 401 Unauthorized errors anytime you tried to sync even though the connection test was succeeding.
This has now been tested on a self-hosted Gitlab instance and confirmed working.
While "Test connection" seems to have worked, it turned out that actually syncing the site had not been because of a typo in the client instantiation where the
url
parameter should have beenhost
. Surprisingly that was set correctly for the test.This was causing
401 Unauthorized
errors anytime you tried to sync even though the connection test was succeeding.This has now been tested on a self-hosted Gitlab instance and confirmed working.