Unable to connect to Git repository -

Hi,
I need to connect to Git Repository and I'm having this message (screenshot below) when I click in checkout to refresh the branch.
Do we need to have a license to connect a DSS project to a personal Git Repository? Or am I missing something with this configuration ?
Best Answer
-
Sergey Dataiker, Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts, Registered Posts: 365 Dataiker
Yes, you can use git tokens as well. Just pass them in the URL while configuring remote git. Something like this:
https://<username>:<token>@github.com/<your_git_link>.git
You can find some online resources as well like this one:
https://stackoverflow.com/questions/18935539/authenticate-with-github-using-a-token
Answers
-
Sergey Dataiker, Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts, Registered Posts: 365 Dataiker
Hi @Carl
Thanks for the screenshots but the error is quite obvious to me.
The URL you are trying to clone does not match the instance whitelist
just means that the URL that you passing as remote git does not match the regex that is configured in DSS Apps->Settings->GIT.
The weird thing though is that array (showing the current regex is empty) without even a "" while usually should show the current regex settings:
Please remove any other git integration rules except the default one, remove all additional git config options, make sure that the default regex is used:
^(?:git|ssh|https?|git@[-\w.]+):(\/\/)?(.*?)(\.git)?(\/?|\#[-\d\w._]+?)$
-
Carl Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 24 ✭✭✭✭
Now it's working, I did as you suggested, remove any other configuration and add default regex (screenshoot below)
Here's the result
But when I try to import from my git repository I get following message:
Can we configure "Token" with DSS or just available with "ssh" ?