# Jenkins git hub issue

**URL:** <https://community.jenkins.io/t/jenkins-git-hub-issue/7684>\
**Category:** Using Jenkins\
**Created:** [May 29, 2023, 2:30pm UTC](https://community.jenkins.io/t/jenkins-git-hub-issue/7684 "2023-05-29T14:30:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![govindanupam](https://avatars.discourse-cdn.com/v4/letter/g/ac8455/32.png) [@govindanupam](https://community.jenkins.io/u/govindanupam)\
**Post date:** [May 29, 2023, 2:30pm UTC](https://community.jenkins.io/t/jenkins-git-hub-issue/7684/1 "2023-05-29T14:30:32Z")

</div>

Dear Team,

Once i provide git url, i get below mentioned message. How to resolve it. Please help

An internal error occurred during form field validation (HTTP 500). Please reload the page and if the problem persists, ask the administrator for help.

Thanks and regards

---

<div class="post-metadata">

**Author:** ![MarkEWaite](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/markewaite/32/20_2.png) [@MarkEWaite](https://community.jenkins.io/u/MarkEWaite)\
**Post date:** [May 29, 2023, 2:55pm UTC](https://community.jenkins.io/t/jenkins-git-hub-issue/7684/2 "2023-05-29T14:55:01Z")

</div>

Hi there,

“it doesn’t work” is always hard to remote debug. Try to always include these 3 things.

1. what did you try? (Code samples, command lines, screenshots, videos, etc)
2. what happened? (Error messages, description, outputs, stuff)
3. what did you expect to happen?

Otherwise, it’s hard for us to get into your context and you’ll have to have someone who is exactly knowledgeable come along.

Others need enough information in order to duplicate the problem that you are seeing. Others won’t be able to duplicate the problem based on your description.

When I enter a git URL into Jenkins pages (job definition, system configuration, Pipeline syntax snippet generator, etc.) it responds as I expect. That works whether I’m running Jenkins behind an NGINX reverse proxy or accessing it directly. It works with the current versions of plugins that I’m using.

---

<div class="post-metadata">

**Author:** ![govindanupam](https://avatars.discourse-cdn.com/v4/letter/g/ac8455/32.png) [@govindanupam](https://community.jenkins.io/u/govindanupam)\
**Post date:** [May 30, 2023, 3:00am UTC](https://community.jenkins.io/t/jenkins-git-hub-issue/7684/3 "2023-05-30T03:00:14Z")

</div>

Dear all,

Thanks for your reply,

I am trying to follow the exact steps of below mentioned URL Link,

**URL Link** : [Continuous Deployment of .NET Projects using Jenkins | Muktak Joshi](https://muktak.com/continuous-deployment-of-net-projects-using-jenkins)

But while implementing the GitHub repository URL, It replies with below message:

**Message** : An internal error occurred during form field validation (HTTP 500). Please reload the page and if the problem persists, ask the administrator for help.

Once i save and try to build the stuff with only GitHub repository URL and with private key credential,  
i see Failure message in my console log output.

**Console Log output is as follows** :

FATAL: Cannot invoke “String.equals(Object)” because the return value of “org.kohsuke.putty.PuTTYKey.getAlgorithm()” is null  
java.lang.NullPointerException: Cannot invoke “String.equals(Object)” because the return value of “org.kohsuke.putty.PuTTYKey.getAlgorithm()” is null  
at org.kohsuke.putty.PuTTYKey.toOpenSSH(PuTTYKey.java:191)  
at com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey.getPrivateKeys(BasicSSHUserPrivateKey.java:175)  
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.createSshKeyFile(CliGitAPIImpl.java:2279)  
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:2034)  
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:623)  
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:850)  
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1226)  
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1309)  
at hudson.scm.SCM.checkout(SCM.java:540)  
at hudson.model.AbstractProject.checkout(AbstractProject.java:1240)  
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:649)  
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:85)  
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:521)  
at hudson.model.Run.execute(Run.java:1900)  
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)  
at hudson.model.ResourceController.execute(ResourceController.java:101)  
at hudson.model.Executor.run(Executor.java:442)  
Finished: FAILURE

If i open the configure tab once again i see below screen,

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/jenkins/original/2X/0/0c6f9c9a1097907ea54d4de2238d1b0b14b0153e.png)

Please help.

thanks and regards

---

<div class="post-metadata">

**Author:** ![MarkEWaite](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/markewaite/32/20_2.png) [@MarkEWaite](https://community.jenkins.io/u/MarkEWaite)\
**Post date:** [May 30, 2023, 7:43pm UTC](https://community.jenkins.io/t/jenkins-git-hub-issue/7684/4 "2023-05-30T19:43:20Z")

</div>

> [@govindanupam](#):
>
> I am trying to follow the exact steps of below mentioned URL Link,
> 
> **URL Link** : [Continuous Deployment of .NET Projects using Jenkins | Muktak Joshi](https://muktak.com/continuous-deployment-of-net-projects-using-jenkins)

That is a 4 year old blog post. You may want to ask the author if they have an update to the blog post to make it current.

> [@govindanupam](#):
>
> But while implementing the GitHub repository URL, It replies with below message:
> 
> **Message** : An internal error occurred during form field validation (HTTP 500). Please reload the page and if the problem persists, ask the administrator for help.
> 
> Once i save and try to build the stuff with only GitHub repository URL and with private key credential,  
> i see Failure message in my console log output.
> 
> **Console Log output is as follows** :
> 
> FATAL: Cannot invoke “String.equals(Object)” because the return value of “org.kohsuke.putty.PuTTYKey.getAlgorithm()” is null

That might indicate that you entered a private key without including the algorithm portion of the private key. An SSH private key specifies its algorithm.

For example, when I created an ED25519 private key, the result private key file was:

```plaintext
-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW
QyNTUxOQAAACDIK52TmuFmpB4to9xDilcVbc/R8klHKAlTbb7O5dVHSgAAAJjIQc2SyEHN
kgAAAAtzc2gtZWQyNTUxOQAAACDIK52TmuFmpB4to9xDilcVbc/R8klHKAlTbb7O5dVHSg
AAAEBi+Y5+IImIyqp5zTMZJXDP8mnigOLWBOgSIRxbh5Qa8cgrnZOa4WakHi2j3EOKVxVt
z9HySUcoCVNtvs7l1UdKAAAAEG13YWl0ZUB0ZXN0aW5nLWEBAgMEBQ==
-----END OPENSSH PRIVATE KEY-----

```

The public key of that private key was:

```plaintext
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMgrnZOa4WakHi2j3EOKVxVtz9HySUcoCVNtvs7l1UdK user@somewhere.example.com

```

If you enter the wrong value in the private key credential, use of that credential might report the type of error that you are seeing.
