I can’t connect deploy from Gitlab anymore on a specific project : fatal: could not read Username for 'https://gitlab.com': terminal prompts disabled
I tried reconnecting to Gitlab by creating a new project, the new project can connect to Gitlab fine but it doesn’t solve the issue on my main project. Setup on Gitlab seems right as well, api access and webhook configured on the repo.
Oct 17 09:20:33 AM ==> It looks like we don’t have access to your repo, but we’ll try to clone it anyway.
Oct 17 09:20:33 AM ==> Cloning from https://gitlab.com/---…
Oct 17 09:20:33 AM fatal: could not read Username for ‘https://gitlab.com’: terminal prompts disabled
Oct 17 09:20:33 AM ==> Retrying git clone…
Oct 17 09:20:39 AM fatal: could not read Username for ‘https://gitlab.com’: terminal prompts disabled
Oct 17 09:20:39 AM ==> Retrying git clone…
Just to close this out - error messages like this, seen when deploying are the result of the original creator of the service being removed from either the Render team or the Git(hub/lab) team and when we try and clone the repo we’re unable to.
We are working on a fix for this as it’s a very common occurrence but in the meantime, if you experience this we can get this sorted quickly for you, just contact the support team via support@render.com and let them know the details.
An update here in July 2023 - if you have a team member that previously deployed a service and they’re removed from the team then head to settings for the service in question and in the Build & Deploy panel there’s a ‘Git Credentials’ section with a ‘Use My credentials’ button - that should get things sorted, if not then please get in touch with the support team.