Git Connection #7397
Unanswered
luysantana
asked this question in
Error / Bug Report
Git Connection
#7397
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I was trying to connect my instance to an on-prem GitLab, but I encountered this issue:
warn: unable to access 'https://host/project.git/': Could not resolve host: username
I checked the output of
git remote get-url origin
, and it was 'https://username:#specialpassword#@host/project.git'.I reviewed the storage module and noticed that there's encoding happening here: https://github.com/requarks/wiki/blob/main/server/modules/storage/git/storage.js#L90
However, even with the encodeURI code, I couldn't sync because the special character wasn't encoded correctly. So, I created a password without special characters, and it worked fine.
The second issue is that if the remote repository is empty, the module doesn't push the code. I had to manually push a file to create the main branch before syncing.
I'm using kubernetes version, 2.5.305.
Beta Was this translation helpful? Give feedback.
All reactions