Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration issue #3

Open
GodsonPattudurai opened this issue Jun 8, 2021 · 5 comments
Open

Configuration issue #3

GodsonPattudurai opened this issue Jun 8, 2021 · 5 comments

Comments

@GodsonPattudurai
Copy link

Screenshot (31)

Hi Team, Need a help on attached issue.

I am trying to configure git using below rconf play config,

play.application.loader = "io.playrconf.ApplicationLoaderScala"

remote-configuration {
provider = "io.playrconf.provider.GitProvider"

git {
uri = "https://github.x.com/server/remote-config.git",
filepath = "/src/main/resources/static/server-dev.conf",
mode = "user",
user.login = "[email protected]",
user.password = "xxxxx"

   #uri = "[email protected]:Server/remote-config.git"
   #mode = "ssh-rsa"
   #ssh-rsa.private-key = "./conf/id_rsa"

}
}

@thibaultmeyer
Copy link
Member

Hello,

does your repository configuration allow to connect with the chosen credentials? The error reported looks like a server side error...

@GodsonPattudurai
Copy link
Author

Yes, I can see the user in repository. But issue is while we trying to use the library in github enterprise. Since this has different authentication.

So we tried using ssh-rsa., that also not worked. Could you please help us with some sample example for ssh-rsa or github. It will be more helpful for us.

@GodsonPattudurai
Copy link
Author

GodsonPattudurai commented Jun 9, 2021

screencapture-localhost-9000-2021-06-09-12_33_38

Please find the configuration below,

#uri = "[email protected]:Server/remote-config.git"
#mode = "ssh-rsa"
#ssh-rsa.private-key = "./conf/id_rsa"

But key is mapped with the user account, we suspecting this may cause using private key path what we mentioned is wrong. It will be more helpfull if we have some working code base.

Thanks,
Godson

@thibaultmeyer
Copy link
Member

Did you try to use fullpath for the SSH RSA private key ?

@felipebonezi
Copy link
Contributor

screencapture-localhost-9000-2021-06-09-12_33_38

Please find the configuration below,

#uri = "[email protected]:Server/remote-config.git" #mode = "ssh-rsa" #ssh-rsa.private-key = "./conf/id_rsa"

But key is mapped with the user account, we suspecting this may cause using private key path what we mentioned is wrong. It will be more helpfull if we have some working code base.

Thanks, Godson

Do you still need help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants